[Bug 1824866] [NEW] python3-distupgrade missing a dep on python3-distro-info

Brian Murray brian at ubuntu.com
Mon Apr 15 17:48:19 UTC 2019


Public bug reported:

(bionic-amd64)root at impulse:/home/bdmurray/Documents/canonical/admin# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1250 kB]
Fetched 1251 kB in 0s (0 B/s)
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
extracting 'cosmic.tar.gz'


A fatal error occurred

Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/ubuntu-release-upgrader-wvzfz5ou/cosmic", line 8, in
<module>
sys.exit(main())

File
"/tmp/ubuntu-release-upgrader-wvzfz5ou/DistUpgrade/DistUpgradeMain.py",
line 224, in main
from .DistUpgradeController import DistUpgradeController

File
"/tmp/ubuntu-release-upgrader-wvzfz5ou/DistUpgrade/DistUpgradeController.py",
line 25, in <module>
import distro_info

ModuleNotFoundError: No module named 'distro_info'

This a result of the SRU of the fix for bug 1799310 while the new
dependency was added to the cosmic version of u-r-u that doesn't help
because the dist-upgrader tarball doesn't reflect that dependency.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: ubuntu-release-upgrader (Ubuntu Bionic)
     Importance: Medium
         Status: Triaged

** Also affects: ubuntu-release-upgrader (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: New => Triaged

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
   Importance: Undecided => Medium

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => 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/1824866

Title:
  python3-distupgrade missing a dep on python3-distro-info

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
  Triaged

Bug description:
  (bionic-amd64)root at impulse:/home/bdmurray/Documents/canonical/admin# do-release-upgrade
  Checking for a new Ubuntu release
  Get:1 Upgrade tool signature [819 B]
  Get:2 Upgrade tool [1250 kB]
  Fetched 1251 kB in 0s (0 B/s)
  authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
  extracting 'cosmic.tar.gz'

  
  A fatal error occurred

  Please report this as a bug and include the files
  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
  your report. The upgrade has aborted.
  Your original sources.list was saved in
  /etc/apt/sources.list.distUpgrade.

  Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-wvzfz5ou/cosmic", line 8, in
  <module>
  sys.exit(main())

  File
  "/tmp/ubuntu-release-upgrader-wvzfz5ou/DistUpgrade/DistUpgradeMain.py",
  line 224, in main
  from .DistUpgradeController import DistUpgradeController

  File
  "/tmp/ubuntu-release-upgrader-wvzfz5ou/DistUpgrade/DistUpgradeController.py",
  line 25, in <module>
  import distro_info

  ModuleNotFoundError: No module named 'distro_info'

  This a result of the SRU of the fix for bug 1799310 while the new
  dependency was added to the cosmic version of u-r-u that doesn't help
  because the dist-upgrader tarball doesn't reflect that dependency.

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



More information about the foundations-bugs mailing list