我执行: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发布于 2017-06-21 19:51:54
正如阿罗切斯特的评论所暗示的,删除该rdnssd包。
sudo apt-get remove rdnssd这使我得以继续升级到Debian 9。
这个包是一种用于dns的自动conf守护进程.在我的系统上,它只是通过覆盖来自网络管理器的设置,经常破坏我的dns设置。(据我所知,正是这个包在搜索信息时给我带来了DNS问题,因为我知道如何解决升级问题。)
如果您不知道这个rdnssd包,也不知道什么是“使用递归DNS服务器(RDNSS)选项的DNS配置”,那么很可能您实际上并不需要它。
发布于 2017-06-19 21:48:10
我也有同样的错误。建议的升级程序是:
做一个定期的升级,首先为我修复它。
https://unix.stackexchange.com/questions/349347
复制相似问题