ESM-related Security pocket packages are not reported being classified as security due to a rename in the backend apt suites from esm-security -> esm-infra-security and esm-apps-security.
The customer issue reported catches the symptom well:
"""
I believe there's a problem with "apt_check.py" in the "update-notifier-common" package when using "ua". I have enabled "ua" via "ua attach" and yet "apt-check" shows updates, but does not specify they are security updates, even though they are:
mrussell@deputy:~$ /usr/lib/update-notifier/apt-check --human-readable
UA Infrastructure Extended Security Maintenance (ESM) is enabled.
8 updates can be installed immediately.
8 of these updates are provided through UA Infrastructure ESM.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
If I change "isSecurityUpgrade()" to also include this
value in "security_pockets": ("UbuntuESM", "%s-infra-security" % DISTRO),
then, the output is correct:
mrussell@deputy:~$ /usr/lib/update-notifier/apt-check --human-readable
UA Infrastructure Extended Security Maintenance (ESM) is enabled.
8 updates can be installed immediately.
8 of these updates are provided through UA Infrastructure ESM.
8 of these updates are security updates.
To see these additional updates run: apt list --upgradable
"""
ESM-related Security pocket packages are not reported being classified as security due to a rename in the backend apt suites from esm-security -> esm-infra-security and esm-apps-security.
The customer issue reported catches the symptom well:
"""
I believe there's a problem with "apt_check.py" in the "update- notifier- common" package when using "ua". I have enabled "ua" via "ua attach" and yet "apt-check" shows updates, but does not specify they are security updates, even though they are: update- notifier/ apt-check --human-readable
mrussell@deputy:~$ /usr/lib/
UA Infrastructure Extended Security Maintenance (ESM) is enabled.
8 updates can be installed immediately.
8 of these updates are provided through UA Infrastructure ESM.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
Note, these are the packages: infra-security 1.0.1ubuntu2. 24+esm1 amd64 [upgradable https/trusty- infra-security 1.0.1ubuntu2. 24+esm1 amd64 [upgradable from: 1.0.1ubuntu2.24] trusty- infra-security 1.0.1ubuntu2. 24+esm1 amd64 [upgradable from: 1.0.1ubuntu2.24] inst1.5/ trusty- infra-security 1.0.1ubuntu2. 24+esm1 amd64 [upgradable from: 1.0.1ubuntu2.24] pkg4.12/ trusty- infra-security 1.0.1ubuntu2. 24+esm1 amd64 [upgradable from: 1.0.1ubuntu2.24] c2/trusty- infra-security 0.11-3ubuntu1. 2+esm3 amd64 [upgradable from: 0.11-3ubuntu1. 2+esm2] trusty- infra-security 0.11-3ubuntu1. 2+esm3 amd64 [upgradable from: 0.11-3ubuntu1. 2+esm2]
mrussell@deputy:~$ apt list --upgradable
Listing... Done
apt/trusty-
from: 1.0.1ubuntu2.24]
apt-transport-
apt-utils/
libapt-
libapt-
libjson-
libjson0/
If I change "isSecurityUpgr ade()" to also include this update- notifier/ apt-check --human-readable
value in "security_pockets": ("UbuntuESM", "%s-infra-security" % DISTRO),
then, the output is correct:
mrussell@deputy:~$ /usr/lib/
UA Infrastructure Extended Security Maintenance (ESM) is enabled.
8 updates can be installed immediately.
8 of these updates are provided through UA Infrastructure ESM.
8 of these updates are security updates.
To see these additional updates run: apt list --upgradable
"""