Software Center crashes on update

Bug #853368 reported by James Clemence on 2011-09-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)

Bug Description

Got the following error when upgrading software center.

Setting up software-center ( ...
Updating software catalog...this may take a moment.
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 169, in <module>
    result = rebuild_database(pathname)
  File "/usr/share/software-center/softwarecenter/db/", line 777, in rebuild_database
    cache = get_pkg_info()
  File "/usr/share/software-center/softwarecenter/db/", line 179, in get_pkg_info
    pkginfo = AptCache()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/", line 112, in __init__
AttributeError: type object 'File' has no attribute 'new_for_path'
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Sun Sep 18 18:22:46 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

James Clemence (jvc26) wrote :
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #845280, so it 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. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers