unable to upgrade with lubuntu-desktop and ubuntu-desktop installed due to xscreensaver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Impact
------
Users who have both the lubuntu-desktop meta package (which depends on xscreensaver) and the ubuntu-desktop meta package install can not upgrade to the next release of Ubuntu. This is because there is a PostUpgradeRemove rule for the xscreensaver package. This rule has been around since at least Dapper and as far as I know is no longer necessary.
[Test Case]
-----------
1) On an Ubuntu 18.04 LTS system install both the ubuntu-desktop and lubuntu-desktop metapacakges
2) Run do-release-upgrade -d to upgrade to Ubuntu 20.04 LTS
3) Observe that the upgrade fails to calculate and notice the following in /var/log/
2020-07-20 11:37:59,839 DEBUG Marking 'ubuntu-desktop' for upgrade
2020-07-20 11:38:00,074 DEBUG Marking 'lubuntu-desktop' for upgrade
2020-07-20 11:38:01,181 WARNING Can't mark 'lubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
To test the version of the dist-upgrader from -proposed you'll need to download the dist-upgrade tarball and extract it in to /tmp/. Then run sudo ./focal --frontend DistUpgradeView
Regression Potential
-------
The PostUpgradeRemove rule is a holdover from long ago and is no longer necessary. Additionally, the xscreensaver is safe to have installed so there is no chance of regression.
Original Description
-------
Trying to upgrade from 19.10 to 20.04. I removed all third party ppas and still didn't work
ProblemType: BugDistroRelease: Ubuntu 19.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.8
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 25 18:54:27 2020
InstallationDate: Installed on 2020-02-04 (81 days ago)
InstallationMedia: Lubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017.1)
PackageArchitec
UpgradeStatus: Upgraded to eoan on 2020-04-25 (0 days ago)
VarLogDistupgra
tags: | added: rls-ff-incoming |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | removed: rls-ff-incoming |
tags: | added: id-5eb44dec047a1321d7e58342 |
summary: |
- unable to upgrade with lubuntu-desktop and ubuntu-desktop installed + unable to upgrade with lubuntu-desktop and ubuntu-desktop installed due + to xscreensaver |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
tags: | removed: verification-needed |
This is in part because you have the lubuntu-desktop metpackage and the ubuntu-desktop metapackage installed. The lubuntu-desktop meta package depends on xscreensaver but the ubuntu-desktop upgrade rule says to remove that package which creates an impossible situation.
To be able to upgrade you could choose only one of the metapackages to have installed and then try upgrading again.