Tuesday, November 22, 2011

How to know if reboot is required after running apt upgrade

So you have a Debian based installation (i.e., Ubuntu, Linux Mint and of course Debian itself), how would you know if you need to reboot after running apt-get upgrade?

Well, this should be as easy as checking for the presence of the file /var/run/reboot-required


Tags:
apt, apt-get, upgrade, reboot, required

0 comments: