*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829
This bug affects all ubuntu version since I think 18.04 The problem is that upgrader tries to use UbuntuDistroInfo object (child of DistroInfo) in unsupported way. I believe it is upgrader issue. At least one class of the upgrader, namely: DistUpgradeQuirks tries to call version field and get_all method of DistroInfo object and there are neither of them there. The reason I think it's upgrader issue is this code I found in above class, this is the source of te installer failure. def _get_from_and_to_version(self): di = distro_info.UbuntuDistroInfo() try: self._from_version = \ di.version('%s' % self.controller.fromDist).split()[0] self._to_version = \ di.version('%s' % self.controller.toDist).split()[0] # Ubuntu 18.04's python3-distro-info does not have version except AttributeError: self._from_version = next( (r.version for r in di.get_all("object") if r.series == self.controller.fromDist), self.controller.fromDist).split()[0] self._to_version = next( (r.version for r in di.get_all("object") if r.series == self.controller.toDist), self.controller.toDist).split()[0] -- 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