无法在 ubuntu 12.04 上安装 bind9

无法在 ubuntu 12.04 上安装 bind9

我无法安装绑定服务器,我正尝试清理 rap 缓存并进行更新。

这是我运行apt-get install bind8/后得到的结果apt-get install -f bind9

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:
 bind9 : Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to be installed
         Depends: libdns81 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to be installed
         Depends: libisc83 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to be installed
         Depends: libisccc80 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to be installed
         Depends: libisccfg82 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to be installed
         Depends: liblwres80 (= 1:9.8.1.dfsg.P1-4) but 1:9.8.1.dfsg.P1-4ubuntu0.2 is to** be installed
E: Unable to correct problems, you have held broken packages.

答案1

好的,找到了解决方案,我必须更新我的系统,因此我去了软件源,然后我选中了前 3 个选项卡 Ubuntu 软件、其他软件、更新中的所有复选框,检查完所有内容后,我运行了以下命令:

sudo apt-get dist-upgrade

然后安装bind9

sudo apt-get install bind9

相关内容