Ubuntu

update manager crashes

Asked by fbtorre on 2010-08-27

Binary package hint: yelp

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'W:Duplicate sources.list entry http://packages.medibuntu.org/ lucid/free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_lucid_free_binary-i386_Packages), W:Duplicate sources.list entry http://packages.medibuntu.org/ lucid/non-free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_lucid_non-free_binary-i386_Packages), 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 libpanel-applet2-ruby1.8 (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
2010-08-30
Last query:
2010-08-30
Last reply:
2010-08-27

This question was originally filed as bug #625467.

Pedro Villavicencio (pedro) said : #1

could you attach the logs located at /var/log/dist-upgrade to the report? thanks.

This error indicates that their are too many entries in your /etc/apt/sources.list and /etc/apt/sources.list.d/ subdirectory, it also seems that you've entered many time the same entry.

This is not a bug in update-manager and I'm converting it to a question.

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

First make sure to remove the duplicate references to packages.medibuntu.org in your /etc/apt/sources.list file and in your /etc/apt/sources.list.d directory.

Then follow the instructions here to increase apt-get's Cache limit:

http://www.ithowto.ro/2008/10/howto-increase-apt-gets-cache-limit/

One more thing: please send us the full Terminal output from the following procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

fbtorre (fbtorre) said : #5

Thx.
I did remove all entries in the /etc/apt/sources.list using
gksudo gedit /etc/apt/sources.list
I followed the instructions on how to increase apt-gets cache limit and problem solved.
Below is the output of running the troubleshooting procedure

felixb@felix-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
felixb@felix-laptop:~$
felixb@felix-laptop:~$ uname -a
Linux felix-laptop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux
felixb@felix-laptop:~$
felixb@felix-laptop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for felixb:
felixb@felix-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
felixb@felix-laptop:~$ uname -a
Linux felix-laptop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux
felixb@felix-laptop:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
felixb@felix-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
felixb@felix-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
felixb@felix-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
felixb@felix-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
felixb@felix-laptop:~$ sudo rm -rf /var/lib/apt/lists
felixb@felix-laptop:~$ sudo mkdir /var/lib/apt/lists
felixb@felix-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
felixb@felix-laptop:~$ sudo rm /var/cache/apt/*.bin
felixb@felix-laptop:~$ LANG=C;sudo apt-get clean
felixb@felix-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
felixb@felix-laptop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  akonadi-server* kdebase-workspace-bin* kdebase-workspace-data*
  kdebase-workspace-kgreet-plugins* kdepim-runtime* ksysguardd* libkephal4*
  libkfontinst4* libkscreensaver5* libksgrd4*
  libplasma-applet-system-monitor4* libplasma-geolocation-interface4*
  libplasmaclock4* libplasmagenericshell4* libprocesscore4* libprocessui4*
  libqimageblitz4* libtaskmanager4* libweather-ion4*
  plasma-dataengines-workspace* plasma-widgets-workspace*
0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded.
After this operation, 41.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `kdebase-workspace-kgreet-plugins' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `plasma-dataengines-workspace' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `plasma-widgets-workspace' missing, assuming package has no files currently installed.
(Reading database ... 238126 files and directories currently installed.)
Removing kdebase-workspace-bin ...
Purging configuration files for kdebase-workspace-bin ...
Removing plasma-widgets-workspace ...
Removing kdepim-runtime ...
Purging configuration files for kdepim-runtime ...
Removing akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Purging configuration files for akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Removing kdebase-workspace-data ...
Purging configuration files for kdebase-workspace-data ...
Removing kdebase-workspace-kgreet-plugins ...
Removing ksysguardd ...
Purging configuration files for ksysguardd ...
Removing plasma-dataengines-workspace ...
Removing libtaskmanager4 ...
Purging configuration files for libtaskmanager4 ...
Removing libkephal4 ...
Purging configuration files for libkephal4 ...
Removing libkfontinst4 ...
Purging configuration files for libkfontinst4 ...
Removing libkscreensaver5 ...
Purging configuration files for libkscreensaver5 ...
Removing libksgrd4 ...
Purging configuration files for libksgrd4 ...
Removing libplasma-applet-system-monitor4 ...
Purging configuration files for libplasma-applet-system-monitor4 ...
Removing libplasma-geolocation-interface4 ...
Purging configuration files for libplasma-geolocation-interface4 ...
Removing libplasmaclock4 ...
Purging configuration files for libplasmaclock4 ...
Removing libplasmagenericshell4 ...
Purging configuration files for libplasmagenericshell4 ...
Removing libprocessui4 ...
Purging configuration files for libprocessui4 ...
Removing libprocesscore4 ...
Purging configuration files for libprocesscore4 ...
Removing libqimageblitz4 ...
Purging configuration files for libqimageblitz4 ...
Removing libweather-ion4 ...
Purging configuration files for libweather-ion4 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
felixb@felix-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://ppa.launchpad.net lucid Release.gpg [307B]
Get:2 http://archive.canonical.com lucid Release.gpg [189B]
Get:3 http://dl.google.com stable Release.gpg [189B]
Get:4 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:5 http://packages.medibuntu.org lucid Release.gpg [197B]
Get:6 http://ppa.launchpad.net lucid Release.gpg [307B]
Get:7 http://archive.canonical.com lucid Release [8215B]
Get:8 http://dl.google.com stable Release [2544B]
Get:9 http://archive.ubuntu.com lucid-updates Release.gpg [189B]
Get:10 http://ppa.launchpad.net lucid Release.gpg [307B]
Get:11 http://packages.medibuntu.org lucid Release [6854B]
Get:12 http://archive.ubuntu.com lucid Release [57.2kB]
Get:13 http://linux.dropbox.com lucid Release.gpg [489B]
Get:14 http://ppa.launchpad.net lucid Release [57.3kB]
Get:15 http://dl.google.com stable/main Packages [1091B]
Get:16 http://archive.canonical.com lucid/partner Packages [11.3kB]
Get:17 http://linux.dropbox.com lucid Release [2599B]
Get:18 http://packages.medibuntu.org lucid/free Packages [3253B]
Get:19 http://archive.canonical.com lucid/partner Sources [3481B]
Get:20 http://linux.dropbox.com lucid/main Packages [796B]
Get:21 http://packages.medibuntu.org lucid/non-free Packages [8867B]
Get:22 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:23 http://ppa.launchpad.net lucid Release [57.3kB]
Get:24 http://packages.medibuntu.org lucid/free Sources [3287B]
Get:25 http://archive.ubuntu.com lucid/universe Packages [5448kB]
Get:26 http://ppa.launchpad.net lucid Release [57.3kB]
Get:27 http://packages.medibuntu.org lucid/non-free Sources [5605B]
Get:28 http://ppa.launchpad.net lucid/main Packages [748B]
Get:29 http://ppa.launchpad.net lucid/main Packages [589B]
Get:30 http://ppa.launchpad.net lucid/main Packages [3525B]
Get:31 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:32 http://archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:33 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:34 http://archive.ubuntu.com lucid-updates/universe Packages [106kB]
Get:35 http://archive.ubuntu.com lucid-updates/universe Sources [35.5kB]
Get:36 http://archive.ubuntu.com lucid-updates/multiverse Packages [3771B]
Get:37 http://archive.ubuntu.com lucid-updates/multiverse Sources [1508B]
Fetched 9397kB in 15s (603kB/s)
Reading package lists... Done
felixb@felix-laptop:~$ sudo dpkg --clear-avail
felixb@felix-laptop:~$ sudo dpkg --configure -a
felixb@felix-laptop:~$ 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 0 not upgraded.
felixb@felix-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://packages.medibuntu.org lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Get:1 http://dl.google.com stable Release.gpg [189B]
Hit http://archive.canonical.com lucid Release
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Hit http://packages.medibuntu.org lucid Release
Hit http://ppa.launchpad.net lucid Release.gpg
Get:2 http://dl.google.com stable Release [2544B]
Hit http://archive.canonical.com lucid/partner Packages
Hit http://linux.dropbox.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://packages.medibuntu.org lucid/free Packages
Hit http://archive.canonical.com lucid/partner Sources
Hit http://archive.ubuntu.com lucid-updates Release
Hit http://ppa.launchpad.net lucid Release
Get:3 http://dl.google.com stable/main Packages [1091B]
Hit http://packages.medibuntu.org lucid/non-free Packages
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://ppa.launchpad.net lucid Release
Hit http://linux.dropbox.com lucid Release
Hit http://packages.medibuntu.org lucid/free Sources
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://packages.medibuntu.org lucid/non-free Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://linux.dropbox.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Fetched 3824B in 1s (3599B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
felixb@felix-laptop:~$