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

Chris Lemire good_bye300 at yahoo.com
Wed Apr 18 21:41:14 UTC 2007


Florian Diesch <diesch at spamfence.net> wrote:  Florian Diesch wrote:

> "Tomoki Taniguchi" 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.


Sorry, it's only a part of the truth:

The kernel package executes
/usr/share/update-notifier/notify-reboot-required if it exists. The
package update-notifier provides a version of this script that creates
/var/run/reboot-required, you may create your own version of it.



Florian
-- 


-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  
 
  The only time you need to reboot Linux is to use a newer kernel. I've seen many servers with uptimes of more than a year running on UPS.

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070418/aff79351/attachment.html>


More information about the ubuntu-users mailing list