[Bug 1878284] [NEW] python3-distro-info on xenial breaks ubuntu-security-status

Launchpad Bug Tracker 1878284 at bugs.launchpad.net
Tue May 12 23:18:53 UTC 2020


You have been subscribed to a public bug:

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'

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python3-distro-info on xenial breaks ubuntu-security-status
https://bugs.launchpad.net/bugs/1878284
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to update-manager in Ubuntu.



More information about the foundations-bugs mailing list