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

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

Title:
  unattended-upgrades not work in Ubuntu 16.04

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to