I get the following whenever I try to do anything with apt or dpkg on Ubuntu 12.04 Desktop x64:
Code:
Preconfiguring packages ...
dpkg: error processing libgnutls26:i386 (--configure):
libgnutls26:i386 2.8.6-1ubuntu2.1 cannot be configured because libgnutls26:amd64 is in a different version (2.10.5-1ubuntu3)
dpkg: error processing libgnutls26 (--configure):
libgnutls26:amd64 2.10.5-1ubuntu3 cannot be configured because libgnutls26:i386 is in a different version (2.8.6-1ubuntu2.1)
Errors were encountered while processing:
libgnutls26:i386
libgnutls26
E: Sub-process /usr/bin/dpkg returned an error code (1)
Other searches result in the following commands:
Code:
sudo apt-get autoclean
root@nas2:~# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
sudo apt-get clean
root@nas2:~# dpkg --configure -a
dpkg: error processing libgnutls26 (--configure):
libgnutls26:amd64 2.10.5-1ubuntu3 cannot be configured because libgnutls26:i386 is in a different version (2.8.6-1ubuntu2.1)
dpkg: error processing libgnutls26:i386 (--configure):
libgnutls26:i386 2.8.6-1ubuntu2.1 cannot be configured because libgnutls26:amd64 is in a different version (2.10.5-1ubuntu3)
Errors were encountered while processing:
libgnutls26
libgnutls26:i386
root@nas2:~# apt-get dist-upgrade -f
That outputs a lot of information and downloads 200+ packages then...
Code:
mini-client all 0.7.2+bzr57-0ubuntu1 [17.9 kB]
Fetched 213 MB in 2min 8s (1,661 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error processing libgnutls26:i386 (--configure):
libgnutls26:i386 2.8.6-1ubuntu2.1 cannot be configured because libgnutls26:amd64 is in a different version (2.10.5-1ubuntu3)
dpkg: error processing libgnutls26 (--configure):
libgnutls26:amd64 2.10.5-1ubuntu3 cannot be configured because libgnutls26:i386 is in a different version (2.8.6-1ubuntu2.1)
Errors were encountered while processing:
libgnutls26:i386
libgnutls26
E: Sub-process /usr/bin/dpkg returned an error code (1)
Another post, located here :
http://www.linuxquestions.org/questi...pt-get-948017/ results in the following:
Code:
root@nas2:/media/NAS2/base/TBD# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
libgnutls26 the GNU TLS library - runtime library
libgnutls26:i386 the GNU TLS library - runtime library
root@nas2:/media/NAS2/base/TBD# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgnutls26 libgnutls26:i386
Suggested packages:
gnutls-bin gnutls-bin:i386
The following packages will be upgraded:
libgnutls26 libgnutls26:i386
2 upgraded, 0 newly installed, 0 to remove and 183 not upgraded.
2 not fully installed or removed.
Need to get 0 B/907 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: error processing libgnutls26:i386 (--configure):
libgnutls26:i386 2.8.6-1ubuntu2.1 cannot be configured because libgnutls26:amd64 is in a different version (2.10.5-1ubuntu3)
dpkg: error processing libgnutls26 (--configure):
libgnutls26:amd64 2.10.5-1ubuntu3 cannot be configured because libgnutls26:i386 is in a different version (2.8.6-1ubuntu2.1)
Errors were encountered while processing:
libgnutls26:i386
libgnutls26
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nas2:/media/NAS2/base/TBD# dpkg --configure --pending
dpkg: error processing libgnutls26 (--configure):
libgnutls26:amd64 2.10.5-1ubuntu3 cannot be configured because libgnutls26:i386 is in a different version (2.8.6-1ubuntu2.1)
dpkg: error processing libgnutls26:i386 (--configure):
libgnutls26:i386 2.8.6-1ubuntu2.1 cannot be configured because libgnutls26:amd64 is in a different version (2.10.5-1ubuntu3)
Errors were encountered while processing:
libgnutls26
libgnutls26:i386
I was asked what I was doing when this arose. I did the distribution upgrades from 10.04 -> 10.10 -> 11.04 -> 11.10 -> 12.04. Rebooted, nothing since (a couple weeks ago). I just tried to update the system a couple days ago and have been working to get rid of these errors ever since.
Is it recoverable?