How to tell if package upgrades will require rebooting?

Adam Funk a24061 at
Wed Apr 8 19:27:25 UTC 2009

On 2009-04-08, Loïc Grenié wrote:

> 2009/4/8 Adam Funk <a24061 at>
>> 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).

Thanks for the pointer.

Based on that, I don't expect to find a quick solution!

More information about the ubuntu-users mailing list