[Bug 1824866] Re: python3-distupgrade missing a dep on python3-distro-info
Brian Murray
brian at ubuntu.com
Wed May 15 18:09:05 UTC 2019
** Description changed:
+ [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'
- 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.
+ 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.
** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
Status: Triaged => In Progress
** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
Assignee: (unassigned) => Brian Murray (brian-murray)
--
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:
In Progress
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