私は次を実行する: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
ない可能性が高いです。
答え2
同じエラーが発生しました。推奨されるアップグレードプロセスは次のとおりです。
- 適切なアップデートを入手
- 適切なアップグレード
- apt-get dist-アップグレード
最初に定期的なアップグレードを実行すると、この問題は解決されました。