Since this bug has a nicer summary I marked the old bug as a duplicate of this one. Thanks.
Actually unity should check the ActiveTransactions property of aptdaemon before shutting down, since the transaction can continue even if the client is arround anymore. ** Changed in: aptdaemon (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to software-center in Ubuntu. https://bugs.launchpad.net/bugs/842799 Title: Software installation doesn't block session exit Status in “aptdaemon” package in Ubuntu: Won't Fix Status in “software-center” 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/SoftwareCenter#installing>: "5. The Center should begin blocking session exit." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/842799/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp