*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829
I'd be really helpful to know the version of python3-distro-info you have installed. You can check with 'apt list python3-distro-info'. Everything is fine with the official version of the package distro-info provided in the Ubuntu archive. Here's some information from the package's changelog. distro-info (0.15) unstable; urgency=medium [ Mike Miller ] * debian-distro-info: Support oldstable with --alias. (Closes: #784284) [ Benjamin Drung ] * Fix flake8 and pylint issues found in Python code * Run flake8 and pylint checks on Python code in test suite * Python: Add DistroInfo.get_all() method * Bump Standard-Version to 3.9.8 (no changes required) * Use https for Vcs-Git and Vcs-Browser URLs -- Benjamin Drung <bdr...@debian.org> Fri, 28 Apr 2017 19:45:36 +0200 Ubuntu 18.04 includes package version 0.18ubuntu0.18.04.1 which does provide get_all(). Perhaps you have distro-info installed via pip? bdmurray@clean-bionic-i386:~$ pip3 install distro-info Collecting distro-info Downloading https://files.pythonhosted.org/packages/91/e0/ccd731d32238bc18bb8ac80353b4028394f80d5ff7db0f93a5ba488690d3/distro-info-0.10.tar .gz Building wheels for collected packages: distro-info Running setup.py bdist_wheel for distro-info ... done Stored in directory: /home/bdmurray/.cache/pip/wheels/30/c8/a5/895d8664df501a2d5192447e50fca0a9ef10fcb279c4518edc Successfully built distro-info Installing collected packages: distro-info Successfully installed distro-info-0.0.0 bdmurray@clean-bionic-i386:~$ ipython3 Python 3.6.9 (default, Oct 8 2020, 12:12:24) Type "copyright", "credits" or "license" for more information. IPython 5.5.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import distro_info In [2]: di = distro_info.UbuntuDistroInfo() In [3]: [r.version for r in di.get_all("object")] --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-3-e9682ad5c584> in <module>() ----> 1 [r.version for r in di.get_all("object")] AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' -- 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