/usr/bin/update-manager:RuntimeError(org.freedesktop.DBus.Python.RuntimeError):_on_clicked:_deferable...

Bug #1811695 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
High
Unassigned
Disco
Confirmed
High
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:19.04.2, the problem page at https://errors.ubuntu.com/problem/e28f91437264ecc33266f0ac8b8f7081ba896fb8 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

tags: added: rls-dd-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

Here's the Traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aptdaemon/gtk3widgets.py", line 454, in _on_clicked
    transaction.cancel()
  File "/usr/lib/python3/dist-packages/defer/utils.py", line 107, in _deferable
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/aptdaemon/errors.py", line 200, in _convert_dbus_exception
    raise get_native_exception(error)
  File "/usr/lib/python3/dist-packages/aptdaemon/errors.py", line 198, in _convert_dbus_exception
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 778, in cancel
    error_handler=error_handler)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aptdaemon/lock.py", line 176, in wait_for_lock
    acquire()
  File "/usr/lib/python3/dist-packages/aptdaemon/lock.py", line 136, in acquire
    lock.acquire()
  File "/usr/lib/python3/dist-packages/aptdaemon/lock.py", line 75, in acquire
    raise LockFailedError(self.path, process)
aptdaemon.lock.LockFailedError: Could not acquire lock on /var/lib/apt/lists/lock. The lock is hold by apt-get.

Changed in update-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: removed: rls-dd-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

juliank indicated this shouldn't be a new issue with update-manager but I had a look around the Error Tracker and didn't find any more RuntimeError crashes re the lock file in it.

summary: /usr/bin/update-
- manager:RuntimeError(org.freedesktop.DBus.Python.RuntimeError):_on_clicked:_deferable:_convert_dbus_exception:_convert_dbus_exception:cancel:__call__:call_blocking:wait_for_lock:acquire:acquire:_inline_callbacks:get_uid_from_dbus_name:return_value:_inline_callbacks:_cancel:_inline_callbacks
+ manager:RuntimeError(org.freedesktop.DBus.Python.RuntimeError):_on_clicked:_deferable...
Revision history for this message
Brian Murray (brian-murray) wrote :

If this is actually happening when someone is trying to cancel the transaction, which isn't really possible, perhaps we should remove the cancel button.

tags: added: id-5caf60c7d026038251c7280f
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.