데비안 9를 업그레이드할 수 없습니다

데비안 9를 업그레이드할 수 없습니다

나는 다음을 실행한다: sudo apt-get dist-upgrade나는 이것을 얻는다:

Reading Package Lists ... Done
Building the dependency tree
Reading status information ... Done
Calculation of the update ... Some packages can not be installed. This may mean
That you have asked for the impossible, or if you
Unstable distribution, which some packages have not yet
Have been created or have not been released from Incoming.
The following information should help you resolve the situation:

The following packages contain unsatisfied dependencies:
  Systemd: Break: rdnssd (<1.0.1-5) but 1.0.1-1 + b1 must be installed
E: Error, pkgProblem :: Resolve generated breaks, which could be caused by the packages to be kept as is.

산출apt-cache policy rdnssd

   Dmicaelandre @ ThinkPad: ~ $ apt-cache policy rdnssd
rdnssd:
  Installed: 1.0.1-1+b1
  Candidate: 1.0.3-3
  Version table:
      1.0.3-3 0
         650 http://ftp2.fr.debian.org/debian/ stretch/main amd64 Packages
  *** 1.0.1-1+b1 0
         100 /var/lib/dpkg/status

산출apt-cache policy

100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/ stretch/updates/non-free Translation-en
 500 http://security.debian.org/ stretch/updates/main Translation-en
 500 http://security.debian.org/ stretch/updates/contrib Translation-en
 650 http://security.debian.org/ stretch/updates/non-free i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=non-free
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/contrib i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=contrib
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=non-free
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=contrib
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=main
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=main
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch/non-free Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch/main Translation-fr
 500 http://ftp2.fr.debian.org/debian/ stretch/main Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch/contrib Translation-en
 650 http://ftp2.fr.debian.org/debian/ stretch/non-free i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/contrib i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main
     origin ftp2.fr.debian.org

답변1

제안대로Arrowchester의 리뷰, rdnssd패키지를 삭제합니다.

sudo apt-get remove rdnssd

이를 통해 Debian 9로 업그레이드를 진행할 수 있었습니다.

이 패키지는 DNS 자동 구성 데몬입니다. 내 시스템에서는 Network Manager의 설정을 덮어쓰기만 하면 주기적으로 DNS 설정이 중단됩니다. (업그레이드 문제 해결 방법에 대한 정보를 검색하는 동안 DNS 문제를 일으킨 것이 바로 이 패키지였습니다.)
이 패키지를 모르고 rdnssd"재귀 DNS를 사용한 DNS 구성" 서버가 무엇인지 모르는 경우( RDNSS) 옵션'이 실제로 필요하지 않을 가능성이 높습니다.

답변2

같은 오류가 발생했습니다. 권장되는 업그레이드 프로세스는 다음과 같습니다.

  1. 적절한 업데이트 받기
  2. 적절한 업그레이드
  3. apt-get dist-업그레이드

먼저 정기적인 업그레이드를 수행하면 이 문제가 해결되었습니다.

관련 정보