Public bug reported:

Installing python3-distro-info on Ubuntu 16.04 breaks the ubuntu-
security-status script.

The script runs before I install python3-distro-info:

ubuntu@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@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@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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878284

Title:
  python3-distro-info on xenial breaks ubuntu-security-status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1878284/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to