테스트에서 다른 데비안 안정 설치로 새로운 버전의 libav-tools를 설치하려고합니다. 내 sources.list에 테스트가 있으며 내 환경 설정은 다음과 같습니다.
Package: *
Pin: release a=stable
Pin-Priority: 995
Package: *
Pin: release a=testing
Pin-Priority: 101
위키를 올바르게 이해하면 에서 apt-get install pkg/testing
설치 하지만 종속성을 충족시키기 위해 업그레이드를 가져 오지는 않지만 그래야합니다. 하나...pkg
testing
apt-get -t testing install pkg/testing
출력 apt-get -t testing install libav-tools
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libav-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
출력 apt-get install libav-tools/testing
:
Selected version '6:9.10-2' (Debian:testing [i386]) for 'libav-tools'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libav-tools : Depends: libavcodec54 (>= 6:9.1-1) but it is not going to be installed or
libavcodec-extra-54 (>= 6:9.10) but it is not going to be installed
... *truncated*
E: Unable to correct problems, you have held broken packages.
의 출력은 apt-get -t testing install libav-tools/testing
동일합니다.
따라서 -t
스위치 자체는 최신 패키지 버전을 찾지 못하고 /testing
deps에서 벗어나는 것 같습니다. 누군가 이것이 사용자 오류인지 버그인지 말해 줄 수 있습니까?
댄, 안정을 실행할 때 안정의 우선 순위를 변경하는 것은 일반적으로 큰 일이 아닙니다. 테스트 / 불안정에 사용하려는 일반적인 종류의 숫자는 Pin Priority 50
이며 안정된 숫자를 건드리고 싶지 않습니다.
나는 당신이 참조한 위키 페이지를 봤는데 ( man apt_preferences
적어도 처음부터 읽는 것이 더 낫다 ) 거기에 아무도 안정을 위해 우선 순위 번호를 범하는 것을 제안하지 않는다. 또는 더 일반적으로 실행중인 시스템입니다.
이 값으로, -t testing
그리고 /testing
예상대로 작동합니다. 그럼에도 불구 -t testing
하고 일반적으로 좋은 생각은 아닙니다 (당신이하고있는 일을 정말로 알고 있지 않는 한).
무슨 일이 일어나고 있는지에 대한 더 자세한 분석을 원한다면; 내가 생각하는 것과 발생하는 /testing
경우 패키지 인수 (들)의 우선 순위가 일시적으로 아마 500에 (즉, 명령) 승진한다는 것이다 -t testing
는 범프 모든 테스트에서합니다. 그러나 안정 우선 순위를 500 이상으로 높인 경우 예상대로 작동하지 않습니다. 더 자세히 분석하는 것이 가능합니다. 아마도 명령 내에서 패키지의 우선 순위가 무엇인지 apt에 물어볼 수는 있지만 어떻게해야할지 모르겠습니다.
빠른 테스트 실행-995로 안정적으로 범핑 (내 테스트 및 불안정한 상태가 50으로 유지됨)은 위의 분석을 지원합니다. 995 -t testing slrn
는 아무것도하지 않습니다. 정상 값 500으로 232 패키지 업그레이드를 시도합니다.
다음은 995 케이스의 출력입니다. 500 케이스는 여기에 포함하기에는 너무 장황합니다.
apt-get install -t unstable slrn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
slrn : Depends: libc6 (>= 2.15) but 2.13-38+deb7u1 is to be installed
E: Unable to correct problems, you have held broken packages.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다