software-center crashed with DatabaseOpeningError in __init__()

Bug #509518 reported by Shane Fagan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: software-center

Upgrade testing from hardy, software center isnt able to open. It may be a missing dependency.

ProblemType: Crash
Architecture: amd64
Date: Tue Jan 19 00:45:27 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/software-center/software-center
InterpreterPath: /usr/bin/python2.6
Package: software-center 1.1.8
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANG=en_IE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Tags: lucid
Title: software-center crashed with DatabaseOpeningError in __init__()
Uname: Linux 2.6.32-10-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare video

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :
visibility: private → public
tags: added: hardy2lucid
Revision history for this message
Michael Vogt (mvo) wrote :

Here is the error:

Setting up software-center (1.1.8) ...^M
WARNING:root:Failed to setup dbus (ignoring)^M
Traceback (most recent call last):^M
  File "/usr/sbin/update-software-center", line 129, in <module>^M
    rebuild_database(pathname)^M
  File "/usr/share/software-center/softwarecenter/db/update.py", line 211, in rebuild_database^M
    cache = apt.Cache(memonly=True)^M
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 79, in __init__^M
    self.open(progress)^M
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 115, in open^M
    self._cache = apt_pkg.GetCache(progress)^M
SystemError: 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 kdm-kde4 (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy-backports_main_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.^M

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

mvo would this have something to do with the upgrade from hardy?

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Oh and I forgot to say a work around fixed it, all you have to do is run "sudo software-center" and it fixes it.

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #470057, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.