[Bug 2104859] Re: Ubuntu Studio failed to upgrade Oracular -> Plucky

Nick Rosbrook 2104859 at bugs.launchpad.net
Wed Apr 23 18:15:48 UTC 2025


** Description changed:

+ [Impact]
+ 
+ Upgrade failures on Ubuntu Studio can result in the desktop metapackage
+ being removed. This is because ubuntustudio-desktop-core is not a known
+ metapackage in ubuntu-release-upgrader currently (it only knows about
+ ubuntustudio-desktop).
+ 
+ [Test Plan]
+ 
+ Create an Ubuntu Studio VM running 24.10. Then, perform an upgrade.
+ 
+ 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 should reboot into
+ plucky after the upgrade. Verify that ubuntu-release-upgrader recognizes
+ the metapackage:
+ 
+ $ grep MetaPkgs: /var/log/dist-upgrade/main.log 
+ 2025-04-23 13:07:49,021 DEBUG MetaPkgs: ubuntustudio-desktop ubuntustudio-desktop-core
+ $ grep "Marking.*for upgrade" /var/log/dist-upgrade/main.log 
+ 2025-04-23 13:08:06,655 DEBUG Marking 'ubuntustudio-desktop' for upgrade
+ 2025-04-23 13:08:07,219 DEBUG Marking 'ubuntustudio-desktop-core' for upgrade
+ 
+ [Where problems could occur]
+ 
+ The patch adds ubuntustudio-desktop-core as a MetaPkg in DistUpgrade.cfg, and adds this package to the removal denylist. The metapackage will be marked for upgrade, which impacts the upgrade calculation. Hence, any problems as a result
+ would likely be related to upgrade calculation on Ubuntu Studio upgrades.
+ 
+ [Original Description]
+ 
  I attempted an in-place upgrade for Ubuntu Studio from Oracular to
  Plucky
  
   * The installation somehow marked ubuntustudio-desktop for autoremoval
  and it got removed, along with all dependencies and recommends.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: ubuntu-release-upgrader-core 1:25.04.9
  ProcVersionSignature: Ubuntu 6.14.0-11.11-generic 6.14.0-rc7
  Uname: Linux 6.14.0-11-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 25.04.1
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
  CrashDB: ubuntu
  CrashReports: 640:1000:110:20745:2025-03-27 23:04:28.989677834 +0000:2025-03-27 23:04:28.988662983 +0000:/var/crash/_usr_share_kconf_update_migrate-calendar-to-plugin-id.py.1000.crash
  CurrentDesktop: KDE
  Date: Thu Mar 27 23:06:24 2025
  LiveMediaBuild: Ubuntu-Studio 25.04 "Plucky Puffin" - Beta amd64 (20250327)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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/2104859

Title:
  Ubuntu Studio failed to upgrade Oracular -> Plucky

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  [Impact]

  Upgrade failures on Ubuntu Studio can result in the desktop
  metapackage being removed. This is because ubuntustudio-desktop-core
  is not a known metapackage in ubuntu-release-upgrader currently (it
  only knows about ubuntustudio-desktop).

  [Test Plan]

  Create an Ubuntu Studio VM running 24.10. Then, perform an upgrade.

  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 should reboot into
  plucky after the upgrade. Verify that ubuntu-release-upgrader
  recognizes the metapackage:

  $ grep MetaPkgs: /var/log/dist-upgrade/main.log 
  2025-04-23 13:07:49,021 DEBUG MetaPkgs: ubuntustudio-desktop ubuntustudio-desktop-core
  $ grep "Marking.*for upgrade" /var/log/dist-upgrade/main.log 
  2025-04-23 13:08:06,655 DEBUG Marking 'ubuntustudio-desktop' for upgrade
  2025-04-23 13:08:07,219 DEBUG Marking 'ubuntustudio-desktop-core' for upgrade

  [Where problems could occur]

  The patch adds ubuntustudio-desktop-core as a MetaPkg in DistUpgrade.cfg, and adds this package to the removal denylist. The metapackage will be marked for upgrade, which impacts the upgrade calculation. Hence, any problems as a result
  would likely be related to upgrade calculation on Ubuntu Studio upgrades.

  [Original Description]

  I attempted an in-place upgrade for Ubuntu Studio from Oracular to
  Plucky

   * The installation somehow marked ubuntustudio-desktop for
  autoremoval and it got removed, along with all dependencies and
  recommends.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: ubuntu-release-upgrader-core 1:25.04.9
  ProcVersionSignature: Ubuntu 6.14.0-11.11-generic 6.14.0-rc7
  Uname: Linux 6.14.0-11-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 25.04.1
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
  CrashDB: ubuntu
  CrashReports: 640:1000:110:20745:2025-03-27 23:04:28.989677834 +0000:2025-03-27 23:04:28.988662983 +0000:/var/crash/_usr_share_kconf_update_migrate-calendar-to-plugin-id.py.1000.crash
  CurrentDesktop: KDE
  Date: Thu Mar 27 23:06:24 2025
  LiveMediaBuild: Ubuntu-Studio 25.04 "Plucky Puffin" - Beta amd64 (20250327)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list