** Description changed:

  [Impact]
  
  Having libc6:i386 installed, which happens when e.g Steam is installed,
  can cause an upgrade calculation that removes the desktop environment,
  despite it being in the removal denylist.
  
  [Test Plan]
  
  Create a VM running Kubuntu 24.10. Then, install libc6:i386, and try an
  upgrade.
  
  $ dpkg --add-architecture i386
  $ apt install libc6:i386
  
  Note that due to the fact that plucky is now released, but upgrades are
  disabled, we cannot use the --proposed flag to test upgrades
  conveniently. Instead, we need to manually download the tarball from
  https://changelogs.ubuntu.com/meta-release-proposed, unpack it, and run
  the script.
  
  $ wget 
http://archive.ubuntu.com/ubuntu/dists/plucky-proposed/main/dist-upgrader-all/current/plucky.tar.gz
  $ tar xf plucky.tar.gz
  $ sudo -E ./plucky --frontend DistUpgradeViewText
  
  The upgrade should complete without errors, and the VM should reboot
  into plucky after the upgrade.
  
  [Where problems could occur]
  
- TODO
+ The patch changes the condition for libc6_possible to be True, which
+ means that in some cases libc6 might not be upgraded first. This path
+ has always been possible, but this patch could expand the cases where it
+ happens.
+ 
+ If any problems did occur from this, it would most likely be seen in the
+ calculation step.
  
  [Original Description]
  
  1. Using a clean and upgraded install of Kubuntu 24.10, install Valve's
  Steam from the webesite: https://store.steampowered.com/about/
  
  2. perform do-release-upgrade
  
  3. Note that the "Searching for software" step will be extremely slow
  (taking 1 to 1.5 hours in some tests).
  
  4. When the install complete but before rebooting, check the status of
  the kununtu-desktop package and note that it is not installed.  If
  system is restarted, it will not boot. Installing kubuntu-desktop prior
  to rebooting will allow proper rebooting.
  
  *** additional to original report ***
  
  Summary of Bug comments and investigations so far:
  
  * The bug as reported is triggered on Kubuntu 24.10 systems where the 
upstream Valve .deb or Ubuntu archive steam installer/launcher packages have 
been installed.
  * It later turns out that this is not specific to the steam packages. It is 
just that this is likely one of the most common things that users might have 
installed that triggers the bug. Others might be wine32 etc (to be confirmed, 
but seems logical)
  * Steam installs a range of i386 libraries on an amd64 system via some 
dependency metapackages.
  * However, to replicate the bug one only has to install the package 
libc6:i386 on an otherwise pristine Kubuntu 24.10 install.
  
  * The bug is triggered when the system is upgraded to 25.04 when the Ubuntu 
upgrader tool is used. This can be from the command line via 
'do-release-upgrade', or invoking that with the commands to launch the GUI 
installer, or from the system tray upgrade notification dialogue.
  * The bug does NOT seem to be triggered when a system is upgraded with the 
old fashioned switching of software sources from oracular to plucky and doing 
'sudo apt-get dist-upgrade' or 'sudo apt full-upgrade'.
  * This seems to be a bug related to the upgrader itself and how it 
treats/resolves dependencies and implements an upgrade.
  * To the user the upgrader presents what seems to be a sane and sensible 
summary of what the upgrade will do. i.e. the number and names of packages to 
be upgraded, newly installed and removed, look sensible. It does not propose to 
remove the kubuntu-desktop, or other core plasma desktop packages etc. Just 
packages that one would expect due to deliberate breaks/replaces on old 
conflicting versions etc.
  * It is only when the upgrader performs the upgrade that it diverges without 
warning from the proposed upgrade, and removes key desktop meta packages and 
other packages.
  * Then subsequent clean up of 'obsolete packages' then proposes to remove 
even more, presumably as the packages that did depend on them were removed in 
the previous upgrade stage.
  * As widely commented, later re-installing the kubuntu-desktop meta package 
should restore what was incorrectly removed via the upgrader.
  
  *** end of additional comments ***
  
  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: ubuntu-release-upgrader-core 1:25.04.11
  ProcVersionSignature: Ubuntu 6.14.0-13.13-generic 6.14.0
  Uname: Linux 6.14.0-13-generic x86_64
  ApportVersion: 2.32.0-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CrashReports:
   640:1000:110:175125496:2025-03-29 12:39:16.258547358 -0600:2025-03-29 
12:38:59.705217907 -0600:/var/crash/_usr_bin_plasmashell.1000.crash
   640:1000:110:4231423:2025-03-30 12:15:26.452457354 -0600:2025-03-30 
12:15:25.246440280 -0600:/var/crash/_usr_libexec_ibus-ui-gtk3.1000.crash
  CurrentDesktop: KDE
  Date: Thu Apr  3 21:06:53 2025
  InstallationDate: Installed on 2025-03-29 (5 days ago)
  InstallationMedia: Kubuntu 25.04 "Plucky Puffin" - Beta amd64 (20250324.1)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106202

Title:
  Kubuntu 24.10 do-release-upgrade and  Steam (or other) dependencies
  installed produces not booting desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2106202/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to