*** This bug is a duplicate of bug 1848829 ***
    https://bugs.launchpad.net/bugs/1848829

bdmurray@clean-bionic-amd64:~$ apt-cache policy python3-distro-info
python3-distro-info:
  Installed: 0.23ubuntu1
  Candidate: 0.23ubuntu1
  Version table:
 *** 0.23ubuntu1 500
        500 http://192.168.10.7/ubuntu focal/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal/main i386 Packages
        100 /var/lib/dpkg/status
bdmurray@clean-bionic-amd64:~$ ipython3
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import distro_info

In [2]: di = distro_info.UbuntuDistroInfo()

In [3]: [r.version for r in di.get_all("object")]                               
                                                             
Out[3]: 
['4.10',
 '5.04',
 '5.10',
 '6.06 LTS',
 '6.10',
 '7.04',
 '7.10',
 '8.04 LTS',
 '8.10',
 '9.04',
 '9.10',
 '10.04 LTS',
...
]

As you can see this works fine for me. What version of python3-distro-
info do you have installed?

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

Title:
  do-release-upgrade fails 19.10->20.04 AttributeError:
  'UbuntuDistroInfo' object has no attribute 'version'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1874250/+subscriptions

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

Reply via email to