unattended-upgrades not work in Ubuntu 16.04

Bug #1561195 reported by fabianbur
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

This guide've used successfully in Ubuntu 14.04 but something is not working in Ubuntu 16.04:

https://help.ubuntu.com/lts/serverguide/automatic-updates.html

I detected packages that need to be updated and the log of the application appears:

No packages found that can be upgraded unattended and no pending auto-removals

It never updated one by unattended-upgrades package for weeks that I have daily updated manually development version.

It is necessary that application to run on other machines I need to upgrade within a month with the stable version. Thank you.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 23 15:46:21 2016
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_EC:es
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_EC.UTF-8
 SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apt.apt.conf.d.10periodic: 2016-01-26T23:01:12.880608

Revision history for this message
fabianbur (fabianbur) wrote :
Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
Changed in unattended-upgrades (Ubuntu):
importance: Undecided → Critical
Revision history for this message
fabianbur (fabianbur) wrote :

Está funcionando como se espera desde haca algunos días, supongo que por las últimas actualizaciones en la versión estable de Ubuntu 16.04

is working as expected for some days, I guess for the latest updates to the stable release of Ubuntu 16.04

Changed in unattended-upgrades (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dagobert (dagobert57) wrote :

Hello,

I have exactly the same problem as described above. Unfortunately, my system does not update automatically, the version of the package unattended-upgrades is 0.90.

Did you change something because you described that the package works for some days?

Thank you

Revision history for this message
corrado venturini (corradoventu) wrote :

according doc
After installing Ubuntu 16.04, apt update and apt upgrade will run on boot and every day at 6:00 and 18:00 automatically.
And only security upgrade will be applied.
Now in 'Software & Updates' I have 'Download and install...' for security updates but I see some security updates waiting for my confirm. see screenshot.
I attached also some log.
I opened also another bug for the same problem: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1666225

Revision history for this message
Leopold Talirz (leopold-talirz) wrote :

Assuming that this bug is indeed fixed in Ubuntu-16.04 with unattended-upgrades 0.90ubuntu0.9, could someone please post an origin pattern that works?

I am not able to get unattended-upgrades to upgrade any packages, neither using the syntax suggested here https://help.ubuntu.com/lts/serverguide/automatic-updates.html nor using "origin=Ubuntu,archive=${distro_codename},label=Ubuntu".
See the relevant output (redacted) below...

Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-104-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

8 packages can be updated.
8 updates are security updates.

$ sudo unattended-upgrades -v -d
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['Ubuntu:xenial-security']
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals

$ sudo unattended-upgrades -d
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['origin=Ubuntu,archive=xenial-security,label=Ubuntu']
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
ubuntu@dev-archive:~$ vim /etc/apt/apt.conf.d/50unattended-upgrades
ubuntu@dev-archive:~$ sudo vim /etc/apt/apt.conf.d/50unattended-upgrades

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.