*** This bug is a duplicate of bug 845280 ***
https://bugs.launchpad.net/bugs/845280
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.
** This bug has been marked a duplicate of bug 845280
update-software-center crashed with AttributeError in __init__(): type
object 'File' has no attribute 'new_for_path'
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/853368
Title:
Software Center crashes on update
Status in “software-center” package in Ubuntu:
New
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/853368/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp