PakageManagerTroubleshooting sent me here

Asked by Damon

damon@damon-Presario-CQ62-Notebook-PC:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for damon:
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo fuser -vvv /var/lib/dpkg/lock
damon@damon-Presario-CQ62-Notebook-PC:~$ cat /etc/lsb-release
DISTRIB_ID=Zorin
DISTRIB_RELEASE=6
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Zorin OS 6"
damon@damon-Presario-CQ62-Notebook-PC:~$ uname -a
Linux damon-Presario-CQ62-Notebook-PC 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo rm -rf /var/lib/dpkg/updates/*
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo rm -rf /var/lib/apt/lists
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo rm /var/cache/apt/*.bin
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists/partial
damon@damon-Presario-CQ62-Notebook-PC:~$ LANG=C;sudo apt-get clean
damon@damon-Presario-CQ62-Notebook-PC:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
damon@damon-Presario-CQ62-Notebook-PC:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libelf1:i386*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 172 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 188291 files and directories currently installed.)
Removing libelf1:i386 ...
Purging configuration files for libelf1:i386 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Setting up unity-greeter (0.2.8-0ubuntu1) ...
damon@damon-Presario-CQ62-Notebook-PC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Ign http://archive.ubuntu.com precise-backports InRelease
Get:3 http://dl.google.com stable/main amd64 Packages [1,231 B]
Get:4 http://dl.google.com stable/main i386 Packages [1,235 B]
Get:5 http://archive.canonical.com precise Release.gpg [198 B]
Get:6 http://extras.ubuntu.com precise Release.gpg [72 B]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://archive.ubuntu.com precise-security InRelease
Get:7 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:8 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:9 http://archive.canonical.com precise Release [7,078 B]
Get:10 http://extras.ubuntu.com precise Release [11.9 kB]
Ign http://dl.google.com stable/main Translation-en
Get:11 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:12 http://archive.canonical.com precise/partner Sources [4,005 B]
Get:13 http://extras.ubuntu.com precise/main Sources [4,181 B]
Get:14 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:15 http://archive.ubuntu.com precise Release [49.6 kB]
Get:16 http://archive.canonical.com precise/partner amd64 Packages [6,530 B]
Get:17 http://archive.canonical.com precise/partner i386 Packages [5,033 B]
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:18 http://extras.ubuntu.com precise/main amd64 Packages [5,146 B]
Get:19 http://extras.ubuntu.com precise/main i386 Packages [5,140 B]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:20 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:21 http://archive.ubuntu.com precise-backports Release [49.6 kB]
Get:22 http://archive.ubuntu.com precise-security Release [49.6 kB]
Get:23 http://archive.ubuntu.com precise/main Sources [934 kB]
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Get:24 http://archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:25 http://archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:26 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:27 http://archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:28 http://archive.ubuntu.com precise/restricted amd64 Packages [8,452 B]
Get:29 http://archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:30 http://archive.ubuntu.com precise/multiverse amd64 Packages [119 kB]
Get:31 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:32 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:33 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:34 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:35 http://archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:36 http://archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:37 http://archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:38 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:39 http://archive.ubuntu.com precise-updates/main Sources [157 kB]
Get:40 http://archive.ubuntu.com precise-updates/restricted Sources [3,285 B]
Get:41 http://archive.ubuntu.com precise-updates/universe Sources [47.6 kB]
Get:42 http://archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
Get:43 http://archive.ubuntu.com precise-updates/main amd64 Packages [372 kB]
Get:44 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [6,755 B]
Get:45 http://archive.ubuntu.com precise-updates/universe amd64 Packages [123 kB]
Get:46 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [8,677 B]
Get:47 http://archive.ubuntu.com precise-updates/main i386 Packages [376 kB]
Get:48 http://archive.ubuntu.com precise-updates/restricted i386 Packages [6,732 B]
Get:49 http://archive.ubuntu.com precise-updates/universe i386 Packages [123 kB]
Get:50 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [9,672 B]
Get:51 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:52 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:53 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:54 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:55 http://archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:56 http://archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:57 http://archive.ubuntu.com precise-backports/universe Sources [13.1 kB]
Get:58 http://archive.ubuntu.com precise-backports/multiverse Sources [1,383 B]
Get:59 http://archive.ubuntu.com precise-backports/main amd64 Packages [1,945 B]
Get:60 http://archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
Get:61 http://archive.ubuntu.com precise-backports/universe amd64 Packages [11.7 kB]
Get:62 http://archive.ubuntu.com precise-backports/multiverse amd64 Packages [996 B]
Get:63 http://archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:64 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:65 http://archive.ubuntu.com precise-backports/universe i386 Packages [11.7 kB]
Get:66 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Get:67 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:68 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex [71 B]
Get:69 http://archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:70 http://archive.ubuntu.com precise-backports/universe TranslationIndex [72 B]
Get:71 http://archive.ubuntu.com precise-security/main Sources [39.7 kB]
Get:72 http://archive.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:73 http://archive.ubuntu.com precise-security/universe Sources [10.2 kB]
Get:74 http://archive.ubuntu.com precise-security/multiverse Sources [1,386 B]
Get:75 http://archive.ubuntu.com precise-security/main amd64 Packages [156 kB]
Get:76 http://archive.ubuntu.com precise-security/restricted amd64 Packages [3,969 B]
Get:77 http://archive.ubuntu.com precise-security/universe amd64 Packages [39.4 kB]
Get:78 http://archive.ubuntu.com precise-security/multiverse amd64 Packages [2,180 B]
Get:79 http://archive.ubuntu.com precise-security/main i386 Packages [160 kB]
Get:80 http://archive.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:81 http://archive.ubuntu.com precise-security/universe i386 Packages [39.6 kB]
Get:82 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
Get:83 http://archive.ubuntu.com precise-security/main TranslationIndex [73 B]
Get:84 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:85 http://archive.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Get:86 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:87 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:88 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:89 http://archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:90 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:91 http://archive.ubuntu.com precise-updates/main Translation-en [180 kB]
Get:92 http://archive.ubuntu.com precise-updates/multiverse Translation-en [5,414 B]
Get:93 http://archive.ubuntu.com precise-updates/restricted Translation-en [1,484 B]
Get:94 http://archive.ubuntu.com precise-updates/universe Translation-en [73.5 kB]
Get:95 http://archive.ubuntu.com precise-backports/main Translation-en [1,244 B]
Get:96 http://archive.ubuntu.com precise-backports/multiverse Translation-en [422 B]
Get:97 http://archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:98 http://archive.ubuntu.com precise-backports/universe Translation-en [8,646 B]
Get:99 http://archive.ubuntu.com precise-security/main Translation-en [74.2 kB]
Get:100 http://archive.ubuntu.com precise-security/multiverse Translation-en [995 B]
Get:101 http://archive.ubuntu.com precise-security/restricted Translation-en [978 B]
Get:102 http://archive.ubuntu.com precise-security/universe Translation-en [24.5 kB]
Fetched 25.1 MB in 27s (903 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 kradioripper (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo dpkg --configure -a
damon@damon-Presario-CQ62-Notebook-PC:~$ sudo dpkg --clear-avail
damon@damon-Presario-CQ62-Notebook-PC:~$ 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 1 not upgraded.
damon@damon-Presario-CQ62-Notebook-PC:~$ 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 1 not upgraded.
damon@damon-Presario-CQ62-Notebook-PC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Get:3 http://dl.google.com stable/main amd64 Packages [1,231 B]
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Ign http://archive.ubuntu.com precise-backports InRelease
Ign http://archive.ubuntu.com precise-security InRelease
Get:4 http://dl.google.com stable/main i386 Packages [1,235 B]
Ign http://dl.google.com stable/main TranslationIndex
Hit http://archive.canonical.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.ubuntu.com precise-security Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com precise Release
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://archive.canonical.com precise/partner Sources
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise-backports Release
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://archive.ubuntu.com precise/universe Sources
Hit http://archive.ubuntu.com precise/multiverse Sources
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main Sources
Hit http://archive.ubuntu.com precise-backports/restricted Sources
Hit http://archive.ubuntu.com precise-backports/universe Sources
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Sources
Hit http://archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise-security/main Sources
Hit http://archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com precise-security/universe Sources
Hit http://archive.ubuntu.com precise-security/multiverse Sources
Hit http://archive.ubuntu.com precise-security/main amd64 Packages
Hit http://archive.ubuntu.com precise-security/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-security/main i386 Packages
Hit http://archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise-security/universe i386 Packages
Hit http://archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-security/main TranslationIndex
Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Hit http://archive.ubuntu.com precise-security/main Translation-en
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-security/restricted Translation-en
Hit http://archive.ubuntu.com precise-security/universe Translation-en
Fetched 4,011 B in 2s (1,746 B/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 kradioripper (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
damon@damon-Presario-CQ62-Notebook-PC:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
please open a terminal (no other application must run, only a terminal) and run below commands (one at time , copy-paste from here)

++++++++++++++++++++++++++++++++++++
sudo rm /var/lib/apt/lists* -vf
sudo apt-get update
sudo apt-get dist-upgrade
++++++++++++++++++++++++++++++++++++

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Damon for more information if necessary.

To post a message you must log in.