[Bug 2110594] Re: Upgrade error window says: Can't install ''

Andreas Hasenack 2110594 at bugs.launchpad.net
Fri May 16 12:48:55 UTC 2025


Hello David, or anyone else affected,

Accepted ubuntu-release-upgrader into plucky-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:25.04.16
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
plucky to verification-done-plucky. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-plucky. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Plucky)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-plucky

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

Title:
  Upgrade error window says: Can't install ''

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Committed
Status in ubuntu-release-upgrader source package in Plucky:
  Fix Committed

Bug description:
  [Impact]

  On upgrade, if a user does not have a package listed in the
  Distro.MetaPkgs section of DistUpgrade.cfg, they may be presented with
  an error saying:

  Can't install ''
  It was impossible to install a required package. Please report this as a bug using 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

  This happens in particular with minimal desktop installations, because
  ubuntu-desktop-minimal is not listed in Distro.MetaPkgs (this is
  likely a historical oversight, and addressing this is out of scope
  here).

  It is important to note that:

  (1) This only presents on graphical upgrades; on non-graphical frontends, the error is logged and ignored
  (2) When the error window is closed, the upgrade continues unaffected.

  Nonetheless, this error is confusing and alarming to users, and is
  enough for some users to decide to cancel the upgrade.

  [Test Plan]

  In short, the test plan is to perform an upgrade from 24.10 to 25.04
  on an installation where the minimal installation option was chosen.
  This means that ubuntu-desktop-minimal should be installed, but not
  ubuntu-desktop.

  1. Install Ubuntu 24.10 Desktop in a VM. In the installer, make sure
  to only select the "minimal" installation.

  2. After rebooting into the installation, ensure that ubuntu-desktop-
  minimal is installed, but not ubuntu-desktop:

  $ apt policy ubuntu-desktop-minimal ubuntu-desktop

  3. Perform an upgrade with a graphical frontend. On the command line:

  $ do-release-upgrade --proposed -f DistUpgradeViewGtk3

  4. Complete the steps of the upgrade. There should not be any errors
  shown during the upgrade. In particular, there should never be a pop-
  up window with the message:

  Can't install ''
  It was impossible to install a required package. Please report this as a bug using 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

  5. Examine the logs to ensure that neither of the following messages
  are present:

  2025-05-13 18:02:53,324 DEBUG guessing '' as missing meta-pkg
  2025-05-13 18:02:53,324 ERROR failed to mark '' for install ("The cache has no package named ''")

  [Where problems could occur]

  This bug itself demonstrates the what can go wrong when modifying
  DistUpgrade.cfg. Errors in the formatting can affect the resulting
  lists parsed from the configuration.

  The test plan attempts to cover this better by examining logs for
  these errors too, because these messages would be present even if the
  graphical pop up is not shown. For example, if doing an upgrade
  *without* this patch in a LXD container, no error will be shown to the
  user. However, the errors would still be present in the logs.

  [Original Description]

  25.04 Upgrade error window says:
  Can't install ''
  It was impossible to install a required package. Please report this as a bug using 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: ubuntu-release-upgrader-core 1:24.10.14
  ProcVersionSignature: Ubuntu 6.11.0-25.25-generic 6.11.11
  Uname: Linux 6.11.0-25-generic x86_64
  ApportVersion: 2.30.0-0ubuntu4.2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 13 18:09:46 2025
  InstallationDate: Installed on 2022-04-28 (1111 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to oracular on 2025-05-13 (0 days ago)
  VarLogDistupgradeTermlog:

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




More information about the foundations-bugs mailing list