[Bug 1626345] Re: After rebooting for updates, reboot is still required.

Brian Murray brian at ubuntu.com
Thu Sep 22 20:15:06 UTC 2016


The autoremove would have created the reboot-required file.

Start-Date: 2016-09-20  06:56:26
Commandline: apt autoremove
Requested-By: barry (1000)
Remove: linux-image-extra-4.4.0-34-generic:amd64 (4.4.0-34.53), linux-headers-4.4.0-34-generic:amd64 (4.4.0-34.53), linux-headers-4.4.0-34:amd64 (4.4.0-34.53), linux-image-4.4.0-34-generic:amd64 (4.4.0-34.53)
End-Date: 2016-09-20  06:56:55

Do you have a '/var/run/reboot-required.pkgs' file?  If so does it
contain anything?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1626345

Title:
  After rebooting for updates, reboot is still required.

Status in unattended-upgrades package in Ubuntu:
  Incomplete

Bug description:
  Yesterday unattended-upgrades required a reboot for kernel updates as
  expected. But today unattended-upgrades required a reboot even though
  there were no updates.

  2016-09-20 05:20:10,409 INFO Initial blacklisted packages: 
  2016-09-20 05:20:10,410 INFO Initial whitelisted packages: 
  2016-09-20 05:20:10,411 INFO Starting unattended upgrades script
  2016-09-20 05:20:10,411 INFO Allowed origins are: ['o=Ubuntu,a=xenial-security', 'o=Ubuntu,a=xenial-updates']
  2016-09-20 05:21:13,118 INFO Packages that will be upgraded: linux-generic linux-headers-generic linux-image-generic linux-libc-dev
  2016-09-20 05:21:13,119 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg.log'
  2016-09-20 05:24:17,405 INFO All upgrades installed
  2016-09-20 05:24:24,959 WARNING Found /var/run/reboot-required, rebooting
  2016-09-21 05:10:54,080 INFO Initial blacklisted packages: 
  2016-09-21 05:10:54,088 INFO Initial whitelisted packages: 
  2016-09-21 05:10:54,089 INFO Starting unattended upgrades script
  2016-09-21 05:10:54,089 INFO Allowed origins are: ['o=Ubuntu,a=xenial-security', 'o=Ubuntu,a=xenial-updates']
  2016-09-21 05:11:02,624 INFO No packages found that can be upgraded unattended and no pending auto-removals
  2016-09-21 05:11:02,624 WARNING Found /var/run/reboot-required, rebooting

  On this machine (16.04 server) unattended-upgrades is configured to
  reboot automatically.

  This also happened on another 16.04 server with default unattended-
  upgrades configuration. It displayed the *******System restart
  required******* message. The same on a 14.04 server and a 14.04
  desktop.

  Expected behaviour: Not to do an unnecessary reboot.

  Let me know what other information I can provide.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1626345/+subscriptions



More information about the foundations-bugs mailing list