[Bug 1898152] Re: upgrade fails to calculate if gnuradio-dev is installed
Brian Murray
1898152 at bugs.launchpad.net
Thu Apr 1 19:58:52 UTC 2021
I tested the python-doc test case with the version of the dist-upgrader
from -proposed and it passed.
bdmurray at clean-bionic-amd64:~$ head /var/log/dist-upgrade/main.log
2021-04-01 12:01:19,195 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2021-04-01 12:01:19,196 INFO uname information: 'Linux clean-bionic-amd64 5.4.0-70-generic #78~18.04.1-Ubuntu SMP Sat Mar 20 14:10:07 UTC 2021 x86_64'
2021-04-01 12:01:19,594 INFO apt version: '1.6.12ubuntu0.2'
2021-04-01 12:01:19,594 INFO python version: '3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0]'
2021-04-01 12:01:19,597 INFO release-upgrader version '20.04.31' started
2021-04-01 12:01:19,601 INFO locale: 'en_US' 'UTF-8'
2021-04-01 12:01:19,671 DEBUG Using 'DistUpgradeViewText' view
2021-04-01 12:01:19,713 DEBUG enable dpkg --force-overwrite
2021-04-01 12:01:19,741 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
bdmurray at clean-bionic-amd64:~$ apt-cache policy python-doc
python-doc:
Installed: (none)
Candidate: (none)
Version table:
bdmurray at clean-bionic-amd64:~$ apt-cache policy python2-doc
python2-doc:
Installed: 2.7.17-2ubuntu4
Candidate: 2.7.17-2ubuntu4
Version table:
*** 2.7.17-2ubuntu4 500
500 http://ubuntu.osuosl.org/ubuntu focal/universe amd64 Packages
500 http://ubuntu.osuosl.org/ubuntu focal/universe i386 Packages
100 /var/lib/dpkg/status
--
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 Committed
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