[Bug 1833753] Re: do-release-upgrade crashed with AttributeError in _replaceDebsWithSnaps(): 'UbuntuDistroInfo' object has no attribute 'version'

Launchpad Bug Tracker 1833753 at bugs.launchpad.net
Fri Jun 21 22:54:59 UTC 2019


This bug was fixed in the package ubuntu-release-upgrader - 1:19.10.9

---------------
ubuntu-release-upgrader (1:19.10.9) eoan; urgency=medium

  * DistUpgrade/DistUpgradeCache.py, DistUpgrade/DistUpgradeController.py:
    drop code which identified obsolete kernels and marked them for removal as
    it is redundant with functionality that exists in apt. (LP: #1828100)
  * DistUpgrade/DistUpgradeQuirks.py: Create a fallback mechanism for
    determining the version of a release (necessary for Ubuntu 18.04) when
    replacing debs with snaps. (LP: #1833753)

 -- Brian Murray <brian at ubuntu.com>  Fri, 21 Jun 2019 14:30:19 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1833753

Title:
  do-release-upgrade crashed with AttributeError in
  _replaceDebsWithSnaps(): 'UbuntuDistroInfo' object has no attribute
  'version'

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released

Bug description:
  python3-distro-info doesn't have the ability to "Support getting
  release version by codename in the Perl and Python API" as that
  appeared in distro-info (0.21) which is only available in disco.

  ProblemType: Crash
  DistroRelease: Ubuntu 19.10
  Package: ubuntu-release-upgrader-core 1:19.10.8
  ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
  Uname: Linux 4.15.0-48-generic x86_64
  Architecture: amd64
  CrashDB: ubuntu
  Date: Thu Jun 20 11:58:49 2019
  ExecutablePath: /usr/bin/do-release-upgrade
  ExecutableTimestamp: 1560873548
  InstallationDate: Installed on 2018-08-13 (311 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  InterpreterPath: /usr/bin/python3.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 ./eoan --frontend DistUpgradeViewText
  ProcCwd: /tmp/u-r-u-eoan
  Python3Details: /usr/bin/python3.7, Python 3.7.3, python3-minimal, 3.7.3-1
  PythonArgs: ['/usr/bin/do-release-upgrade', '--frontend', 'DistUpgradeViewText']
  PythonDetails: N/A
  SourcePackage: ubuntu-release-upgrader
  Title: do-release-upgrade crashed with AttributeError in _replaceDebsWithSnaps(): 'UbuntuDistroInfo' object has no attribute 'version'
  UpgradeStatus: Upgraded to eoan on 2019-06-20 (0 days ago)
  UserGroups:

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



More information about the foundations-bugs mailing list