PDA

View Full Version : [ubuntu] Restart needed after upgrade detect from comandline


othermale
March 24th, 2010, 02:51 PM
Hello,

I'm setting up an ubunutu server (tomcat, mysql etc) which has been going very smoothly I must say. But I do have a question:
I plan to do manual updates over ssh using "sudo apt-get update" and "sudo apt-get upgrade" but I believe sometimes these update will need a complete machine restart.

So the question is: how can I tell if I need to reboot the server after an update _using the command line_?

thanks a bazillion.

KB1JWQ
March 24th, 2010, 03:03 PM
Simple solution? Use aptitude the same way you're using apt-get; it has more logic.

More in depth: The kernel and libc stuff require reboots. I don't *think* anything else does.

cdenley
March 24th, 2010, 03:07 PM
A security update for the linux kernel was released for all ubuntu versions a week ago, so a reboot will be required in order to use the new kernel.

othermale
March 24th, 2010, 06:50 PM
Thanks for the responses.
Aptitude looks like a great tool but I can’t seem to find where it would indicate a need to reboot after update.
It looks like my only real option is to look over the update contents for kernel and libc stuff and just hope ;)
Thanks again.