upgrade from 18.04 to 20.04 fails to calculate if python-dbg is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Focal |
Fix Released
|
High
|
Brian Murray | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact
------
Users with the package python-dbg installed on their system are unable to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS as the upgrade path is not calculable. Additionally, other python packages from Ubuntu 18.04 will be left installed or removed when they should not be.
Test Case
---------
[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) Observe a message regarding a failure to calculate the upgrade
With the dist-upgrader from -proposed there will be no such failure to calculate the upgrade.
[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-
Regression Potential
-------
The logic of the "_install_
Original Description
-------
the problem is during issue this command from terminal to start upgrade
process from 18.04 to 20.04
$cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ uname -mrs
Linux 5.3.0-62-generic x86_64
Using this command
sudo do-release-upgrade -d
this is the output
[sudo] password for amr:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,342 kB]
Fetched 1,343 kB in 6s (211 kB/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 2,845 kB in 6s (15.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 0 B in 6s (0 B/s)
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was caused by:
* Upgrading to a pre-release version of Ubuntu
This is most likely a transient problem,
please try again later.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-
you want to investigate this yourself the log files in
'/var/log/
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
ProblemType: BugDistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-62-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 14 17:08:10 2020
InstallationDate: Installed on 2020-02-27 (137 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
PackageArchitec
UpgradeStatus: Upgraded to bionic on 2020-07-14 (0 days ago)
Related branches
- Brian Murray (community): Approve
-
Diff: 150 lines (+55/-19)6 files modifiedDistUpgrade/DistUpgradeController.py (+8/-0)
DistUpgrade/DistUpgradeQuirks.py (+25/-15)
data/DistUpgrade.cfg.bionic (+1/-1)
data/mirrors.cfg (+2/-0)
debian/changelog (+17/-1)
utils/update_mirrors.py (+2/-2)
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
summary: |
- can not upgrade from 18.04 to 20.04 + upgrade from 18.04 to 20.04 fails to calculate if python-pyqt5-dbg is + installed |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
description: | updated |
description: | updated |
summary: |
- upgrade from 18.04 to 20.04 fails to calculate if python-pyqt5-dbg is + upgrade from 18.04 to 20.04 fails to calculate if python-dbg is installed |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.