[Bug 1875107] Re: unable to upgrade with lubuntu-desktop and ubuntu-desktop installed due to xscreensaver
Brian Murray
1875107 at bugs.launchpad.net
Tue Jul 21 16:45:15 UTC 2020
I tested the dist-upgrader tarball from -proposed and was able to
upgrade with both ubuntu-desktop and lubuntu-desktop meta packages
installed. Additionally, xscreensaver remained installed.
Relevant bits of /var/log/dist-upgrade/main.log
2020-07-21 09:02:44,309 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2020-07-21 09:02:44,309 INFO uname information: 'Linux clean-bionic-amd64 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_
64'
2020-07-21 09:02:44,728 INFO apt version: '1.6.12ubuntu0.1'
2020-07-21 09:02:44,728 INFO python version: '3.6.9 (default, Apr 18 2020, 01:56:04)
[GCC 8.4.0]'
2020-07-21 09:02:44,732 INFO release-upgrader version '20.04.23' started
...
2020-07-21 09:06:09,648 DEBUG Marking 'ubuntu-desktop' for upgrade
2020-07-21 09:06:09,682 DEBUG Marking 'lubuntu-desktop' for upgrade
2020-07-21 09:06:10,125 DEBUG About to apply the following changes
bdmurray at clean-bionic-amd64:/tmp/focal$ apt-cache policy xscreensaver
xscreensaver:
Installed: 5.42+dfsg1-1ubuntu1
Candidate: 5.42+dfsg1-1ubuntu1
Version table:
*** 5.42+dfsg1-1ubuntu1 500
500 http://192.168.10.7/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
--
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/1875107
Title:
unable to upgrade with lubuntu-desktop and ubuntu-desktop installed
due to xscreensaver
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Focal:
Fix Committed
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/dist-upgrade/main.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 DistUpgradeViewText.
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-release-upgrader-core 1:19.10.15.4
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
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)
PackageArchitecture: allSourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to eoan on 2020-04-25 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1875107/+subscriptions
More information about the foundations-bugs
mailing list