Chad Waters on 27 Jun 2013 10:25:38 -0700

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

Re: [PLUG] Ubuntu Debian updates/ rebooting question

The Ubuntu Security Announce list details what requires a reboot:



Its should be more than what requires a reboot though: what package upgrades are going to affect the applications and services that run on a specific machine? I don't think you can script that.

These packages might be of interest:
apt-listbugs (I think this is in the ubuntu repos(?), I'm a more of a Debian user)

On Thu, Jun 27, 2013 at 11:24 AM, Andrew Libby <> wrote:

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  --

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