Comment 18 for bug 1687129

Revision history for this message
Steve Langasek (vorlon) wrote :

On trusty, with the faked-up test case I see output such as the following:

Checking: unattended-upgrades ([<Origin component:'main' archive:'trusty' origin:'UbuntuESM' label:'UbuntuESM' site:'esm.ubuntu.com' isTrusted:False>])
[...]
matching 'o'='UbuntuESM' against '<Origin component:'main' archive:'trusty' orig
in:'UbuntuESM' label:'UbuntuESM' site:'esm.ubuntu.com' isTrusted:False>'
matching 'a'='trusty' against '<Origin component:'main' archive:'trusty' origin:'UbuntuESM' label:'UbuntuESM' site:'esm.ubuntu.com' isTrusted:False>'
pkg 'unattended-upgrades' is untrusted
sanity check failed

So while unattended-upgrades still doesn't install the package, that's because u-u is too clever for my test case. It is clear that it is considering this package differently than it does for linux-libc-dev in -proposed, which reports:

Checking: linux-libc-dev ([<Origin component:'main' archive:'trusty-proposed' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
matching 'o'='Ubuntu' against '<Origin component:'main' archive:'trusty-proposed' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>'
matching 'a'='trusty-security' against '<Origin component:'main' archive:'trusty-proposed' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>'
matching 'o'='UbuntuESM' against '<Origin component:'main' archive:'trusty-proposed' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>'
matching 'a'='trusty' against '<Origin component:'main' archive:'trusty-proposed' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>'

so I'm considering this verification-done for trusty anyway.