Terminal output per instructions at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure#Step%201
paula@desktop2:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for paula:
paula@desktop2:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
paula@desktop2:~$ uname -a
Linux desktop2 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
paula@desktop2:~$ sudo rm /var/lib/apt/lists/lock
paula@desktop2:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
paula@desktop2:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
paula@desktop2:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
paula@desktop2:~$ sudo rm -rf /var/lib/dpkg/updates/*
paula@desktop2:~$ sudo rm -rf /var/lib/apt/lists
paula@desktop2:~$ sudo rm /var/cache/apt/*.bin
paula@desktop2:~$ sudo mkdir /var/lib/apt/lists
paula@desktop2:~$ sudo mkdir /var/lib/apt/lists/partial
paula@desktop2:~$ LANG=C;sudo apt-get clean
paula@desktop2:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
paula@desktop2:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
flashplugin-downloader:i386* libatk1.0-0:i386* libcairo2:i386* libdatrie1:i386*
libgdk-pixbuf2.0-0:i386* libgladeui-1-11* libgtk2.0-0:i386* libhal1*
libjasper1:i386* libpango1.0-0:i386* libpixman-1-0:i386* libthai0:i386*
libxcb-render0:i386* libxcb-shm0:i386* libxcomposite1:i386* libxcursor1:i386*
libxft2:i386* libxinerama1:i386* libxrandr2:i386* nspluginviewer:i386*
nspluginwrapper*
0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 15.3 MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 47148 package 'virtualbox-3.0':
error in Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 47149 package 'virtualbox-3.0':
error in Config-Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48938 package 'virtualbox-2.2':
error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48939 package 'virtualbox-2.2':
error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
(Reading database ... 162464 files and directories currently installed.)
Removing flashplugin-downloader:i386 ...
Removing nspluginwrapper ...
Removing nspluginviewer:i386 ...
Removing libgtk2.0-0:i386 ...
Purging configuration files for libgtk2.0-0:i386 ...
dpkg: warning: while removing libgtk2.0-0:i386, directory '/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0' not empty so not removed.
dpkg: warning: while removing libgtk2.0-0:i386, directory '/usr/lib/i386-linux-gnu/gtk-2.0' not empty so not removed.
Removing libatk1.0-0:i386 ...
Purging configuration files for libatk1.0-0:i386 ...
Removing libpango1.0-0:i386 ...
Purging configuration files for libpango1.0-0:i386 ...
Removing libcairo2:i386 ...
Purging configuration files for libcairo2:i386 ...
Removing libthai0:i386 ...
Purging configuration files for libthai0:i386 ...
Removing libdatrie1:i386 ...
Purging configuration files for libdatrie1:i386 ...
Removing libgdk-pixbuf2.0-0:i386 ...
Purging configuration files for libgdk-pixbuf2.0-0:i386 ...
Removing libgladeui-1-11 ...
Purging configuration files for libgladeui-1-11 ...
Removing libhal1 ...
Purging configuration files for libhal1 ...
Removing libjasper1:i386 ...
Purging configuration files for libjasper1:i386 ...
Removing libpixman-1-0:i386 ...
Purging configuration files for libpixman-1-0:i386 ...
Removing libxcb-render0:i386 ...
Purging configuration files for libxcb-render0:i386 ...
Removing libxcb-shm0:i386 ...
Purging configuration files for libxcb-shm0:i386 ...
Removing libxcomposite1:i386 ...
Purging configuration files for libxcomposite1:i386 ...
Removing libxcursor1:i386 ...
Purging configuration files for libxcursor1:i386 ...
Removing libxft2:i386 ...
Purging configuration files for libxft2:i386 ...
Removing libxinerama1:i386 ...
Purging configuration files for libxinerama1:i386 ...
Removing libxrandr2:i386 ...
Purging configuration files for libxrandr2:i386 ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 46683 package 'virtualbox-3.0':
error in Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 46684 package 'virtualbox-3.0':
error in Config-Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48473 package 'virtualbox-2.2':
error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48474 package 'virtualbox-2.2':
error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
Setting up initramfs-tools (0.99ubuntu8) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-16-generic
paula@desktop2:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.canonical.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Get:1 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:2 http://archive.ubuntu.com oneiric Release.gpg [198 B]
Get:3 http://archive.canonical.com oneiric Release [5922 B]
Get:4 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:5 http://archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:6 http://archive.canonical.com oneiric/partner amd64 Packages [3072 B]
Get:7 http://archive.ubuntu.com oneiric Release [40.8 kB]
Get:8 http://archive.canonical.com oneiric/partner i386 Packages [3939 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:9 http://archive.ubuntu.com oneiric-updates Release [40.8 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en
Get:10 http://archive.ubuntu.com oneiric-security Release [40.8 kB]
Get:11 http://archive.ubuntu.com oneiric/main Sources [877 kB]
Get:12 http://archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:13 http://archive.ubuntu.com oneiric/universe Sources [4677 kB]
Get:14 http://archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:15 http://archive.ubuntu.com oneiric/main amd64 Packages [1226 kB]
Get:16 http://archive.ubuntu.com oneiric/restricted amd64 Packages [8261 B]
Get:17 http://archive.ubuntu.com oneiric/universe amd64 Packages [4460 kB]
Get:18 http://archive.ubuntu.com oneiric/multiverse amd64 Packages [117 kB]
Get:19 http://archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:20 http://archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:21 http://archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:22 http://archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:23 http://archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:24 http://archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:25 http://archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:26 http://archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:27 http://archive.ubuntu.com oneiric-updates/main Sources [123 kB]
Get:28 http://archive.ubuntu.com oneiric-updates/restricted Sources [1337 B]
Get:29 http://archive.ubuntu.com oneiric-updates/universe Sources [43.2 kB]
Get:30 http://archive.ubuntu.com oneiric-updates/multiverse Sources [3662 B]
Get:31 http://archive.ubuntu.com oneiric-updates/main amd64 Packages [288 kB]
Get:32 http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages [2982 B]
Get:33 http://archive.ubuntu.com oneiric-updates/universe amd64 Packages [96.1 kB]
Get:34 http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages [6218 B]
Get:35 http://archive.ubuntu.com oneiric-updates/main i386 Packages [288 kB]
Get:36 http://archive.ubuntu.com oneiric-updates/restricted i386 Packages [2968 B]
Get:37 http://archive.ubuntu.com oneiric-updates/universe i386 Packages [96.4 kB]
Get:38 http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6355 B]
Get:39 http://archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:40 http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:41 http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:42 http://archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:43 http://archive.ubuntu.com oneiric-security/main Sources [29.3 kB]
Get:44 http://archive.ubuntu.com oneiric-security/restricted Sources [14 B]
Get:45 http://archive.ubuntu.com oneiric-security/universe Sources [10.8 kB]
Get:46 http://archive.ubuntu.com oneiric-security/multiverse Sources [1645 B]
Get:47 http://archive.ubuntu.com oneiric-security/main amd64 Packages [80.2 kB]
Get:48 http://archive.ubuntu.com oneiric-security/restricted amd64 Packages [14 B]
Get:49 http://archive.ubuntu.com oneiric-security/universe amd64 Packages [28.6 kB]
Get:50 http://archive.ubuntu.com oneiric-security/multiverse amd64 Packages [3190 B]
Get:51 http://archive.ubuntu.com oneiric-security/main i386 Packages [80.2 kB]
Get:52 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:53 http://archive.ubuntu.com oneiric-security/universe i386 Packages [28.6 kB]
Get:54 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [3355 B]
Get:55 http://archive.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:56 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:57 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:58 http://archive.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:59 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:60 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:61 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:62 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:63 http://archive.ubuntu.com oneiric-updates/main Translation-en [135 kB]
Get:64 http://archive.ubuntu.com oneiric-updates/multiverse Translation-en [3524 B]
Get:65 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:66 http://archive.ubuntu.com oneiric-updates/universe Translation-en [57.7 kB]
Get:67 http://archive.ubuntu.com oneiric-security/main Translation-en [43.5 kB]
Get:68 http://archive.ubuntu.com oneiric-security/multiverse Translation-en [1494 B]
Get:69 http://archive.ubuntu.com oneiric-security/restricted Translation-en [14 B]
Get:70 http://archive.ubuntu.com oneiric-security/universe Translation-en [20.0 kB]
Fetched 22.9 MB in 1min 57s (195 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 libghc-url-dev (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
paula@desktop2:~$ sudo dpkg --configure -a
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 46682 package 'virtualbox-3.0':
error in Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 46683 package 'virtualbox-3.0':
error in Config-Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48472 package 'virtualbox-2.2':
error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 48473 package 'virtualbox-2.2':
error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
paula@desktop2:~$ sudo dpkg --clear-avail
paula@desktop2:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
paula@desktop2:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
paula@desktop2:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.canonical.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://archive.ubuntu.com oneiric-updates Release.gpg
Hit http://archive.ubuntu.com oneiric-security Release.gpg
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://archive.ubuntu.com oneiric Release
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates Release
Hit http://archive.ubuntu.com oneiric-security Release
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/universe Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/main Sources
Hit http://archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://archive.ubuntu.com oneiric-updates/universe Sources
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/main Sources
Hit http://archive.ubuntu.com oneiric-security/restricted Sources
Hit http://archive.ubuntu.com oneiric-security/universe Sources
Hit http://archive.ubuntu.com oneiric-security/multiverse Sources
Hit http://archive.ubuntu.com oneiric-security/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
evolution-common evolution-plugins
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
paula@desktop2:~$