How to tell if package upgrades will require rebooting?
loic.grenie at gmail.com
Wed Apr 8 12:44:55 UTC 2009
2009/4/8 Adam Funk <a24061 at ducksburg.com>
> How can I tell in advance (after the update-manager has downloaded
> newer versions of packages but before installing them) which ones will
> require a reboot?
> There must be a flag somewhere that causes the update-manager to put
> the restart icon up in the system tray; how can the user test for it?
It's not a flag, it's a command in one the scripts run after installation (I
think it's the postinst script). You have to scan the scripts (it might also
depend on a complex condition, since it's a script).
More information about the ubuntu-users