Software Center crashes on update

Bug #853368 reported by James Clemence
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Got the following error when upgrading software center.

Setting up software-center (4.1.23.3) ...
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/update.py", line 777, in rebuild_database
    cache = get_pkg_info()
  File "/usr/share/software-center/softwarecenter/db/pkginfo.py", line 179, in get_pkg_info
    pkginfo = AptCache()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 112, in __init__
    self.apt_finished_stamp=Gio.File.new_for_path(self.APT_FINISHED_STAMP)
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 4.1.23.3
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
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Clemence (jvc26) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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