Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7056  / 2 Years ago, sat, march 26, 2022, 3:00:15

This is the output at my current installation, after running apt-get upgrade or apt-get dist-upgrade



user@localhost:~# apt-get -f upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be upgraded:
bind9
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/335 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: dependency problems prevent configuration of bind9:
bind9 depends on libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of libbind9-80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of libdns81 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of libisc83 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on libisccc80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of libisccc80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of libisccfg82 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of liblwres80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
bind9 depends on bind9utils (= 1:9.8.1.dfsg.P1-4ubuntu0.5); however:
Version of bind9utils on system is 1:9.8.1.dfsg.P1-4ubuntu0.7.
dpkg: erroNo apport report written because the error message indicates it's a follow-up error from a previous failure.
r processing bind9 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)


Edit: apt-cache policy bind9 results:



bind9:
Installed: 1:9.8.1.dfsg.P1-4ubuntu0.5
Candidate: 1:9.8.1.dfsg.P1-4ubuntu0.7
Version table:
1:9.8.1.dfsg.P1-4ubuntu0.7 0
500 http://mirror.sov.uk.goscomb.net/ubuntu/ precise-updates/main i386 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
*** 1:9.8.1.dfsg.P1-4ubuntu0.5 0
100 /var/lib/dpkg/status
1:9.8.1.dfsg.P1-4 0
500 http://mirror.sov.uk.goscomb.net/ubuntu/ precise/main i386 Packages

More From » 12.04

 Answers
1

This might fix the issue:



sudo apt-get install -f bind9


If it doesn't, then this might fix the issue:



sudo apt-get remove bind9
sudo apt-get install bind9


Failing that you may want to remove bind9 via dpkg directly (to avoid apt-get uninstalling whatever depends on it):



sudo dpkg --remove bind9
sudo apt-get install -f bind9


If dpkg doesn't want to remove bind9 (it might say the package is in an inconsistent state and needs to be reinstalled before it can be removed), you may try upgrading to the new version directly



sudo dpkg -i /var/cache/apt/archives/bind9_1:9.8.1.dfsg.P1-4ubuntu0.7_*.deb
sudo apt-get install -f

[#29409] Sunday, March 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nquirewha

Total Points: 256
Total Questions: 109
Total Answers: 122

Location: Namibia
Member since Mon, Feb 21, 2022
2 Years ago
;