Update Ubuntu 14 only updates wo restart

Sayth

Gawd
Joined
Oct 7, 2001
Messages
618
Hey all,

Is there a way to apply only Ubuntu updates that do not require restart? Either command line or GUI?

I was hoping to keep the system up to date every couple of days, but only apply major updates that require restart on a specific day of the week/month during down time.

This possible?

Thanks,
-Sayth
 
You can simply refuse to reboot. Demons and the like will be restarted. The apt install process is good enough to do the right thing which is unlink files before updating, so existing running processes will continue to work with the unliked but still open binaries and libraries.

The major thing that will go wrong is loadable modules. This is an issue e.g. for Chrome. If it updated in the background while you have a foreground session running that does not use flash then the updated flash plugin loaded later into the same session without restart might not work. However, that is just a browser restart.

It is very rare that a kernel upgrade provides new functionality that is strictly needed for anything currently running on a non-major upgrade.

I believe that applying all updates and refusing to reboot is better than cherry-picking updates.
 
That's great info thank you. I just didn't want to end up in a Wind0ze situation where you can't do a thing without rebooting.
 
There is a paid service called Ksplice which enables you to update your kernel without rebooting. I doubt you'll want to pay for that though it's aimed for servers.
 
I believe that applying all updates and refusing to reboot is better than cherry-picking updates.

That's how I roll. I just delay the restart until whenever I have to reboot for some other reason like loading Windows or whatever.
 
Back
Top