[Bug 853368] [NEW] Software Center crashes on update

James Clemence 853368 at bugs.launchpad.net
Sun Sep 18 17:25:08 UTC 2011


Public bug reported:

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)

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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




More information about the foundations-bugs mailing list