[Bug 1898152] Re: upgrade fails to calculate if gnuradio-dev is installed
Launchpad Bug Tracker
1898152 at bugs.launchpad.net
Thu Apr 8 21:21:18 UTC 2021
This bug was fixed in the package ubuntu-release-upgrader - 1:20.04.31
---------------
ubuntu-release-upgrader (1:20.04.31) focal; urgency=medium
* DistUpgrade/DistUpgradeQuirks.py: use apt's problem resolver to better
calculate upgrades where python is replaced by python-is-python2 thereby
resolving a host of upgrade failures. Thanks to Julian for the initial
patch. (LP: #1898152)
-- Brian Murray <brian at ubuntu.com> Wed, 31 Mar 2021 10:13:14 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: Fix Committed => 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/1898152
Title:
upgrade fails to calculate if gnuradio-dev is installed
Status in ubuntu-release-upgrader package in Ubuntu:
In Progress
Status in ubuntu-release-upgrader source package in Focal:
Fix Released
Bug description:
Impact
------
Users with the package gnuradio-dev installed on their system are unable to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS as the upgrade is not calculatable. Given that changes to the python to python2 quirk have been previously made to ubuntu-release-upgrader we should ensure those previous test cases (LP: #1887544) still work. It isn't necessary to run the full upgrade go though, just calculating it should be sufficient.
Test Case
---------
[gnuradio-dev]
1) On an Ubuntu 18.04 LTS system install gnuradio-dev (or some set of packages which depend on it)
2) Run do-release-upgrade
3) Observe a message regarding the failure to calculate the upgrade
With the dist-upgrader from -proposed there will be no such failure to
calculate the upgrade.
[python-dbg]
1) On an Ubuntu 18.04 LTS system install python-qt4-dbg (or some set of packages which depend on it)
2) Run do-release-upgrade
3) The upgrade will be calculable.
With the dist-upgrader from -proposed the upgrade should still be
calculable.
[python-doc]
1) On an Ubuntu 18.04 LTS system install python-doc
2) Run do-release-upgrade
3) Say Y to removing obsolete packages
4) Observe that python-doc is still installed on the system
With the version of the dist-upgrader from -proposed python-doc will
not be installed after the upgrade and python2-doc will be.
[python-dev]
1) On an Ubuntu 18.04 LTS system install python-dev
2) Run do-release-upgrade
3) Say Y to removing obsolete packages
4) Observe that python-dev is still installed on the system
With the version of the dist-ugprader from -proposed python-dev will
not be installed after the upgrade and python2-dev will be installed.
Additionally, python-dev-is-python2 will be installed.
Where Problems Could Occur
--------------------------
As mentioned previously we could cause working upgrade paths with python- packages installed to failed. However, test cases have been added which cover those scenarios.
SRU Team Special Note
---------------------
This has not been fixed in Groovy because the code is not relevant for the upgrade path to Groovy.
Original Description
--------------------
Fails complaining about possible issue with PPAs. When these are removed fails with no complaints about PPAs or anything else. Just asks for bug to be reported.
ProblemType: BugDistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.38
ProcVersionSignature: Ubuntu 4.15.0-118.119-generic 4.15.18
Uname: Linux 4.15.0-118-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 2 17:14:41 2020
InstallationDate: Installed on 2016-09-07 (1485 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: allSourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-10-02 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1898152/+subscriptions
More information about the foundations-bugs
mailing list