[Bug 753802] Re: Ubuntu Software Center shows empty error message when aptitude is running

sue bays suebays28 at yahoo.com
Mon Oct 1 15:58:55 UTC 2012


*** This bug is a duplicate of bug 759023 ***
    https://bugs.launchpad.net/bugs/759023

** Branch unlinked: lp:aptdaemon

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/753802

Title:
  Ubuntu Software Center shows empty error message when aptitude is
  running

Status in “aptdaemon” package in Ubuntu:
  Fix Committed

Bug description:
  Binary package hint: software-center

  When having aptitude open in a terminal (sudo aptitude) and trying to
  remove a package in Ubuntu Software Center, it first fails with a
  empty error message, followed by a message that the program aptd
  closed unexpectedly. I'm guessing the the Software center isn't
  checking whether the database is locked by a different package manager
  or doesn't handle this case correctly.

  Sometimes this message appears along with it: An unhandles error occured.
  Details: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 166, in _process_transaction
      lock.wait_for_lock(trans)
    File "/usr/lib/python2.7/dist-packages/aptdaemon/lock.py", line 163, in wait_for_lock
      logging.error("Failed to lock the cache")
  NameError: global name 'logging' is not defined

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: aptdaemon 0.41+bzr614-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Annotation: Removing software failed
  Architecture: amd64
  Date: Thu Apr  7 19:04:19 2011
  DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
  ExecutablePath: /usr/sbin/aptd
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
  PackageArchitecture: all
  SourcePackage: aptdaemon
  Title: <type 'exceptions.NameError'>: global name 'logging' is not defined
  TransactionDepends: [[], [], ['libindicate-qt1=0.2.5.91-0ubuntu2', 'liblastfm0=0.4.0~really0.3.3-0ubuntu1'], [], [], [], []]
  TransactionErrorCode: error-unknown
  TransactionKwargs: {}
  TransactionLocale: en_GB.UTF8
  TransactionOutput:
   
  TransactionPackages: [[], [], [dbus.String(u'clementine')], [], [], []]
  TransactionRole: role-remove-packages
  UpgradeStatus: Upgraded to natty on 2011-04-03 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/753802/+subscriptions




More information about the foundations-bugs mailing list