This is already implemented for unattended-upgrades, i.e. when security updates are installed automatically in the background. It should be fairly trivial to adapt that check to handle user-initiated upgrades as well.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We shouldn't allow to shutdown the system when a installation or a update is in progress To manage notifications about this bug go to: https://bugs.launchpad.net/elementaryos/+bug/1404961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs