Broken packages after upgrade to precise
During the upgrade I had a power failure. After running an apt-get dist-upgrade, everything seems to work except I have a few broken packages:
Following the instructions in https:/
james@pingo:~$ sudo fuser -vvv /var/lib/dpkg/lock
james@pingo:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
james@pingo:~$ uname -a
Linux pingo 3.2.0-21-generic #34-Ubuntu SMP Fri Mar 30 04:25:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
james@pingo:~$ sudo rm /var/lib/
james@pingo:~$ sudo cp -arf /var/lib/dpkg /var/lib/
james@pingo:~$ sudo cp /var/lib/
james@pingo:~$ sudo cp /var/lib/
james@pingo:~$ sudo rm -rf /var/lib/
james@pingo:~$ sudo rm -rf /var/lib/apt/lists
james@pingo:~$ sudo rm /var/cache/
james@pingo:~$ sudo mkdir /var/lib/apt/lists
james@pingo:~$ sudo mkdir /var/lib/
james@pingo:~$ LANG=C;sudo apt-get clean
james@pingo:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
james@pingo:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
libsoup-gnome2.4-1 : Breaks: libsoup-
libsoup-
libsoup2.4-1 : Breaks: libsoup2.4-1:i386 (!= 2.38.0-1) but 2.38.0-0ubuntu1 is installed
libsoup2.4-1:i386 : Breaks: libsoup2.4-1 (!= 2.38.0-0ubuntu1) but 2.38.0-1 is installed
E: Unmet dependencies. Try using -f.
james@pingo:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Ign http://
Ign http://
Get:15 http://
Get:16 http://
Get:17 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Fetched 23.2 MB in 33s (691 kB/s)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
Reading package lists... Error!
E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing isdnutils-base (NewVersion2)
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
james@pingo:~$ sudo dpkg --configure -a
dpkg: error processing libsoup2.4-1 (--configure):
libsoup2.4-1:amd64 2.38.0-1 cannot be configured because libsoup2.4-1:i386 is in a different version (2.38.0-0ubuntu1)
dpkg: error processing libsoup2.4-1:i386 (--configure):
libsoup2.4-1:i386 2.38.0-0ubuntu1 cannot be configured because libsoup2.4-1:amd64 is in a different version (2.38.0-1)
dpkg: error processing libsoup-gnome2.4-1 (--configure):
libsoup-
dpkg: error processing libsoup-
libsoup-
dpkg: dependency problems prevent configuration of gstreamer0.
gstreamer0.
Package libsoup-
gstreamer0.
Package libsoup2.4-1:i386 is not configured yet.
dpkg: error processing gstreamer0.
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ia32-libs-
ia32-libs-
Package gstreamer0.
dpkg: error processing ia32-libs-
dependency problems - leaving unconfigured
Errors were encountered while processing:
libsoup2.4-1
libsoup2.4-1:i386
libsoup-gnome2.4-1
libsoup-
gstreamer0.
ia32-libs-
james@pingo:~$ sudo dpkg --clear-avail
james@pingo:~$ LANG=C;sudo apt-get -y -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libsoup-
The following packages will be upgraded:
libsoup-
2 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
6 not fully installed or removed.
Need to get 221 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 221 kB in 0s (482 kB/s)
dpkg: error processing libsoup2.4-1:i386 (--configure):
libsoup2.4-1:i386 2.38.0-0ubuntu1 cannot be configured because libsoup2.4-1:amd64 is in a different version (2.38.0-1)
dpkg: error processing libsoup2.4-1 (--configure):
libsoup2.4-1:amd64 2.38.0-1 cannot be configured because libsoup2.4-1:i386 is in a different version (2.38.0-0ubuntu1)
dpkg: error processing libsoup-
libsoup-
dpkg: error processing libsoup-gnome2.4-1 (--configure):
libsoup-
dpkg: dependency problems prevent configuration of gstreamer0.
gstreamer0.
Package libsoup-
gstreamer0.
Package libsoup2.4-1:i386 is not configured yet.
dpkg: error processing gstreamer0.
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ia32-libs-
ia32-libs-
Package gstreamer0.
dpkg: error processing ia32-libs-
dependency problems - leaving unconfigured
Errors were encountered while processing:
libsoup2.4-1:i386
libsoup2.4-1
libsoup-
libsoup-gnome2.4-1
gstreamer0.
ia32-libs-
E: Sub-process /usr/bin/dpkg returned an error code (1)
james@pingo:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
libsoup-gnome2.4-1 : Breaks: libsoup-
libsoup-
libsoup2.4-1 : Breaks: libsoup2.4-1:i386 (!= 2.38.0-1) but 2.38.0-0ubuntu1 is installed
libsoup2.4-1:i386 : Breaks: libsoup2.4-1 (!= 2.38.0-0ubuntu1) but 2.38.0-1 is installed
E: Unmet dependencies. Try using -f.
james@pingo:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
Reading package lists... Error!
E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing isdnutils-base (NewVersion2)
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
james@pingo:~$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- James Cowgill
- Solved:
- 2012-04-03
- Last query:
- 2012-04-03
- Last reply:
- 2012-04-03
Try:
sudo apt-get --purge autoremove
James Cowgill (jcowgill) said : | #2 |
I still get this:
james@pingo:~$ sudo apt-get --purge autoremove
[sudo] password for james:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
libsoup-gnome2.4-1 : Breaks: libsoup-
libsoup-
libsoup2.4-1 : Breaks: libsoup2.4-1:i386 (!= 2.38.0-1) but 2.38.0-0ubuntu1 is installed
libsoup2.4-1:i386 : Breaks: libsoup2.4-1 (!= 2.38.0-0ubuntu1) but 2.38.0-1 is installed
E: Unmet dependencies. Try using -f.
James Cowgill (jcowgill) said : | #3 |
It still happens
try:
sudo apt-get --purge remove libsoup-
You are running a 64bit OS so it seems weird you have 32bit packages installed.
James Cowgill (jcowgill) said : | #5 |
Ok, after doing this:
sudo apt-get --purge remove libsoup-
It seems to have solved it.
Sergei Genchev (sgenchev) said : | #6 |
Same problem. It is not weird to have 32bit packages installed. you need 32bit libraries to run 32bit applications in 64 bit OS. Many 3rd party apps are 32 bit only: Citrix is the one I use but there are plenty of others.
metapackage ia32-libs is not installable currently.