how do i know i need a reboot after a console based "upgrade"?

Florian Diesch diesch at spamfence.net
Wed Apr 18 20:53:39 UTC 2007


"Tomoki Taniguchi" <tomoki.taniguchi at gmail.com> wrote:

> when updating a system with the newest packages using the desktop
> tools like synaptic,
> if a package is upgraded that requires a reboot to take effect,
> there is a little icon that shows up on the upper panel to let me know
> i need to reboot.
>
> on a server system,  if i do a "sudo apt-get upgrade" or "sudo aptitude upgrade"
> is there anyway to know i need a reboot?

Check if /var/run/reboot-required exists after all packages are installed.



   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list