[Bug 842799] Re: Software installation or update doesn't block session exit

Sebastian Heinlein 842799 at bugs.launchpad.net
Sun Mar 3 18:41:27 UTC 2013


Systemd's logind introduced a new DBus interface to inhibit shutdown or
suspend.

http://www.freedesktop.org/wiki/Software/systemd/inhibit

We would need support in unity.

** Also affects: aptdaemon (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: aptdaemon (Ubuntu)
       Status: New => Confirmed

** Changed in: aptdaemon (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  Software installation or update doesn't block session exit

Status in “aptdaemon” package in Ubuntu:
  Confirmed
Status in “software-center” package in Ubuntu:
  Confirmed
Status in “unity” package in Ubuntu:
  New
Status in “update-manager” package in Ubuntu:
  Confirmed
Status in “update-notifier” package in Ubuntu:
  Confirmed

Bug description:
  software-center trunk r2261, aptdaemon 0.43+bzr691, Ubuntu 11.10 beta
  1

  1. In USC, start installing something big and complicated, like Ardour.
  2. While it is installing, choose "Shut Down" and confirm it.

  What happens:
  2. The computer shuts down immediately.
  3. Ardour is not installed.
  4. After restarting, and trying to install it again, errors at the console:
  ------------
  2011-09-06 16:03:11,918 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Package operation failed
  The installation or removal of a software package failed.

  Setting up liblo7 (0.26~repack-7) ...
  Setting up libgnomecanvasmm-2.6-1c2a (2.26.0-1build1) ...
  dpkg: error processing libvamp-sdk2 (--configure):
   Package is in a very bad inconsistent state - you should
   reinstall it before attempting configuration.
  ------------

  What should happen:
  2. A dialog appears explaining that you can't log out until Ubuntu Software Center is finished.
  3. Once the installation finishes, the computer shuts down.

  <https://wiki.ubuntu.com/SoftwarePackageOperations#general>: "2.
  Session exit should be inhibited."

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




More information about the foundations-bugs mailing list