[Bug 1790670] Re: /usr/bin/update-manager:aptdaemon.errors.AptDaemonError(org.debian.apt):_convert_dbus_exception:cancel:__call__:call_blocking:_on_clicked:_deferable:_convert_dbus_exception

Brian Murray brian at ubuntu.com
Wed Oct 24 17:07:56 UTC 2018


Hello errors.ubuntu.com, or anyone else affected,

Accepted update-manager into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:16.04.15 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: update-manager (Ubuntu Xenial)
       Status: New => Fix Committed

** Tags removed: verification-done
** Tags added: verification-needed verification-needed-xenial

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

Title:
  /usr/bin/update-
  manager:aptdaemon.errors.AptDaemonError(org.debian.apt):_convert_dbus_exception:cancel:__call__:call_blocking:_on_clicked:_deferable:_convert_dbus_exception

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Committed
Status in update-manager source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  Closing the GUI of update-manager tries to cancel the running
  transaction then raises an Exception since cancellation fails.

  Users experience crashes after closing the GUI and many of them send
  error reports about the issue while nothing can be done about those
  transactions.

  The fix tries to close the transaction when it seems to be possible to
  cancel it and ignores the exception when cancellation fails.

  
  [Test Case]

  1. Set up a fully updated system then downgrade a few packages and install autoremovable ones to create work for u-m:
  $ sudo eatmydata apt install -y --allow-downgrades linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic gnome-software=3.28.1-0ubuntu4 gnome-software-common=3.28.1-0ubuntu4 ; sudo /etc/kernel/postinst.d/apt-auto-removal ; sudo apt-mark auto linux-headers-4.15.0-32  linux-headers-4.15.0-32-generic

  2. Start update-manager from the terminal and press "Install Now".

  3. While the transaction is running close u-m's GUI with the (X).
  The fixed u-m GUI just closes, while the not fixed ones show exceptions. With the fix the GUI closes, but the transaction is run to completion in the background.

  [Regression Potential]

  There is not a lot of room for regressions. As usual update-manager may fail to start due to syntax errors, but ignoring the exception can hardly cause any trouble.
  Users may find it surprising that the transaction proceeds in the background, but this is still better than trowing the exception like before.

  [Other Info]
   
   * Anything else you think is useful to include
   * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
   * and address these questions in advance

  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:18.10.4, the problem page at https://errors.ubuntu.com/problem/6d00ba06c8a67ead2e2021397da6006d84ddde5e 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/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1790670/+subscriptions



More information about the foundations-bugs mailing list