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

Brian Murray brian at ubuntu.com
Mon May 20 16:20:36 UTC 2019


I tested the new version of ubuntu-release-upgrader in bionic-proposed
and confirm that the bug is now fixed.

(bionic-amd64)root at impulse:~# apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
  Installed: 1:18.04.33
  Candidate: 1:18.04.33
  Version table:
 *** 1:18.04.33 500
        500 http://192.168.10.7/ubuntu bionic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:18.04.32 500
        500 http://192.168.10.7/ubuntu bionic-updates/main amd64 Packages
     1:18.04.17 500
        500 http://192.168.10.7/ubuntu bionic/main amd64 Packages
(bionic-amd64)root at impulse:~# do-release-upgrade 
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                                                                                         
Get:2 Upgrade tool [1249 kB]                                                                                                                 
Fetched 1250 kB in 0s (0 B/s)                                                                                                                
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg' 
extracting 'cosmic.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://192.168.10.7/ubuntu bionic InRelease                                                                                              
Hit http://192.168.10.7/ubuntu bionic-updates InRelease                                                                                      
Hit http://192.168.10.7/ubuntu bionic-proposed InRelease                                                                                     
Hit http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                              
Fetched 0 B in 0s (0 B/s)                                                                                                                    
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Updating repository information


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
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:
  Fix Committed

Bug description:
  [Impact]
  Release upgrades on a system w/o python3-distro-info will crash.

  [Test Case]
  On a bionic-amd64 chroot:

  (bionic-amd64)root at impulse:/home/bdmurray/Documents# 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'

  With the version of the package from -proposed you'll receive no such
  traceback.

  [Regression Potential]
  We are just adding a new dependency so none.

  Original Description
  --------------------
  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