Public bug reported:
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)
** Affects: software-center (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-crash natty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/753802
Title:
Ubuntu Software Center shows empty error message when aptitude is
running
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs