[Bug 1878284] Re: python3-distro-info on xenial breaks ubuntu-security-status
Christian Reis
kiko at async.com.br
Tue May 12 22:09:59 UTC 2020
** Package changed: update-manager (Ubuntu) => update-manager-core
(Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1878284
Title:
python3-distro-info on xenial breaks ubuntu-security-status
Status in update-manager-core package in Ubuntu:
New
Bug description:
Installing python3-distro-info on Ubuntu 16.04 breaks the ubuntu-
security-status script.
The script runs before I install python3-distro-info:
ubuntu at ip-172-31-14-142:~$ ./ubuntu-security-status --universe
473 packages installed on Ubuntu 16.04 LTS, of which:
2 packages are from universe/multiverse
ansible python-selinux
Packages from universe (and multiverse) are provided from the official
Ubuntu archive and subject to patching via ESM.
Run 'apt-cache show ansible' to learn more about that specifc package.
But if I install python3-distro-info, it breaks:
ubuntu at ip-172-31-14-142:~$ sudo apt install python3-distro-info
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python3-distro-info
0 upgraded, 1 newly installed, 0 to remove and 78 not upgraded.
Need to get 8,072 B of archives.
After this operation, 48.1 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-distro-info all 0.14ubuntu0.1 [8,072 B]
Fetched 8,072 B in 0s (360 kB/s)
Selecting previously unselected package python3-distro-info.
(Reading database ... 53590 in and directories currently installed.)
Preparing to unpack .../python3-distro-info_0.14ubuntu0.1_all.deb ...
Unpacking python3-distro-info (0.14ubuntu0.1) ...
Setting up python3-distro-info (0.14ubuntu0.1) ...
ubuntu at ip-172-31-14-142:~$ ./ubuntu-security-status --universe
Traceback (most recent call last):
File "./ubuntu-security-status", line 224, in <module>
for r in di._releases if r.series == codename][0]
AttributeError: 'UbuntuDistroInfo' object has no attribute '_releases'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/1878284/+subscriptions
More information about the foundations-bugs
mailing list