in my case reinstalling distro-info doesn't help I compared the code of both packages and spoken class DistroInfo is exactly the same.
I think that upgrade scripts are outdated, not distro-info package.
In above snippet there is a comment saying:
# Ubuntu 18.04's python3-distro-info does not have version
however the workaround provide for that is also wrong because Ubuntu 18.04's do not have also get_all()
in my case reinstalling distro-info doesn't help I compared the code of both packages and spoken class DistroInfo is exactly the same.
I think that upgrade scripts are outdated, not distro-info package.
In above snippet there is a comment saying:
# Ubuntu 18.04's python3-distro-info does not have version
however the workaround provide for that is also wrong because Ubuntu 18.04's do not have also get_all()