Andrew Libby on 27 Jun 2013 08:24:29 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Ubuntu Debian updates/ rebooting question

Hi Folks,

I manage a number of ubuntu systems for customers.  We apply
updates, review logs, deal with incidents, yadda yadda.

So when informing a customer that we're going to apply some
updates, I'd like to be able to tell them ahead of time
if the updates will require a reboot.  I'm hoping I'm
missing something simple, but it does not seem straight

Here's what I've come up with:

sudo apt-get update
sudo apt-get --download-only upgrade

For each of the packages listed under

"The following packages will be upgraded:"

dpkg-deb --control package-name

grep -rn notify-reboot-required DEBIAN

Essentially, if anything in the control area
of the package contains notify-reboot-required, it's
likely to touch /var/run/reboot-required.

Their an easier method to tell ahead of time that anyone




Andrew Libby
xforty technologies

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --