Here is a run with the updated unattended-upgrades package against the staging version of the ESM service which is using the requested changes to the Release file. It recognises the sample landscape-common update that is there:
root@precise-esm:~# unattended-upgrades --dry-run -d 2>&1
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise-security', 'o=UbuntuESM,a=precise']
Checking: landscape-common (["<Origin component:'main' archive:'precise' origin:'UbuntuESM' label:'UbuntuESM' site:'extended.security.staging.ubuntu.com' isTrusted:True>"])
pkgs that look like they should be upgraded: landscape-common
Fetched 0 B in 0s (0 B/s)
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 224960 DestFile:'/var/cache/apt/archives/landscape-common_14.12-0ubuntu5.12.04_amd64.deb' DescURI: 'https://user:<email address hidden>/ubuntu/pool/main/l/landscape-client/landscape-common_14.12-0ubuntu5.12.04_amd64.deb' ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/landscape-common_14.12-0ubuntu5.12.04_amd64.deb')
found pkg: landscape-common
blacklist: []
InstCount=1 DelCount=0 BrokenCout=0
Option --dry-run given, *not* performing real actions
Packages that are upgraded: landscape-common
Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2017-05-03_16:49:57.997981.log'
Preconfiguring packages ...
/usr/bin/dpkg --status-fd 6 --unpack --auto-deconfigure /var/cache/apt/archives/landscape-common_14.12-0ubuntu5.12.04_amd64.deb
/usr/bin/dpkg --status-fd 8 --configure landscape-common:amd64
All upgrades installed
InstCount=1 DelCount=0 BrokenCount=0
With the previous version of unattended-upgrades (0.76ubuntu1.2), the ESM staging archive isn't recognized:
root@precise-esm:~# unattended-upgrades --dry-run -d 2>&1
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise-security']
adjusting candidate version: '<Version: package:'unattended-upgrades' version:'0.76ubuntu1.1'>'
Checking: landscape-common (["<Origin component:'main' archive:'precise' origin:'UbuntuESM' label:'UbuntuESM' site:'extended.security.staging.ubuntu.com' isTrusted:True>"])
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
blacklist: []
InstCount=0 DelCount=0 BrokenCout=0
No packages found that can be upgraded unattended and no pending auto-removals
Here is a run with the updated unattended-upgrades package against the staging version of the ESM service which is using the requested changes to the Release file. It recognises the sample landscape-common update that is there:
root@precise-esm:~# unattended-upgrades --dry-run -d 2>&1 a=precise- security' , 'o=UbuntuESM, a=precise' ] security. staging. ubuntu. com' isTrusted:True>"]) AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 224960 DestFile: '/var/cache/ apt/archives/ landscape- common_ 14.12-0ubuntu5. 12.04_amd64. deb' DescURI: 'https:/ /user:<email address hidden> /ubuntu/ pool/main/ l/landscape- client/ landscape- common_ 14.12-0ubuntu5. 12.04_amd64. deb' ID:0 ErrorText: ''> prompt( '/var/cache/ apt/archives/ landscape- common_ 14.12-0ubuntu5. 12.04_amd64. deb') unattended- upgrades/ unattended- upgrades- dpkg_2017- 05-03_16: 49:57.997981. log' apt/archives/ landscape- common_ 14.12-0ubuntu5. 12.04_amd64. deb common: amd64
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,
Checking: landscape-common (["<Origin component:'main' archive:'precise' origin:'UbuntuESM' label:'UbuntuESM' site:'extended.
pkgs that look like they should be upgraded: landscape-common
Fetched 0 B in 0s (0 B/s)
<apt_pkg.
check_conffile_
found pkg: landscape-common
blacklist: []
InstCount=1 DelCount=0 BrokenCout=0
Option --dry-run given, *not* performing real actions
Packages that are upgraded: landscape-common
Writing dpkg log to '/var/log/
Preconfiguring packages ...
/usr/bin/dpkg --status-fd 6 --unpack --auto-deconfigure /var/cache/
/usr/bin/dpkg --status-fd 8 --configure landscape-
All upgrades installed
InstCount=1 DelCount=0 BrokenCount=0
root@precise-esm:~# apt-cache policy unattended-upgrades upgrades: br.archive. ubuntu. com/ubuntu/ precise- proposed/ main amd64 Packages
unattended-
Installed: 0.76ubuntu1.3
Candidate: 0.76ubuntu1.3
Version table:
*** 0.76ubuntu1.3 0
500 http://
With the previous version of unattended-upgrades (0.76ubuntu1.2), the ESM staging archive isn't recognized: a=precise- security' ] 'unattended- upgrades' version: '0.76ubuntu1. 1'>' security. staging. ubuntu. com' isTrusted:True>"])
root@precise-esm:~# unattended-upgrades --dry-run -d 2>&1
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,
adjusting candidate version: '<Version: package:
Checking: landscape-common (["<Origin component:'main' archive:'precise' origin:'UbuntuESM' label:'UbuntuESM' site:'extended.
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
blacklist: []
InstCount=0 DelCount=0 BrokenCout=0
No packages found that can be upgraded unattended and no pending auto-removals