[Bug 2084268] Re: Upgrade to Ubuntu 24.04 gives error: The package "'ubuntu-minimal' is marked for removal but it is in the removal deny list."

chris.rapson 2084268 at bugs.launchpad.net
Tue Dec 24 02:16:24 UTC 2024


*** This bug is a duplicate of bug 1980574 ***
    https://bugs.launchpad.net/bugs/1980574

Update: after a little more research, I discovered that the google
chrome and google packages repos can't be removed with ppa-purge,
because they aren't PPAs. I uninstalled them and manually removed the
files from `/etc/apt/sources.list.d/`. Unfortunately, that still didn't
help. I hit the same error as reported above.

For completeness, I thought I should also include these warning
messages. They haven't changed before/after removing any PPAs, but they
might potentially be relevant.

```
No valid mirror found 

While scanning your repository information no mirror entry for the 
upgrade was found. This can happen if you run an internal mirror or 
if the mirror information is out of date. 

Do you want to rewrite your 'sources.list' file anyway? If you choose 
'Yes' here it will update all 'jammy' to 'noble' entries. 
If you select 'No' the upgrade will cancel. 

Continue [yN] y

Generate default sources?

After scanning your 'sources.list' no valid entry for 'jammy' was 
found. 

Should default entries for 'noble' be added? If you select 'No', the 
upgrade will cancel. 

Continue [yN] y

```

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

Title:
  Upgrade to Ubuntu 24.04 gives error: The package "'ubuntu-minimal' is
  marked for removal but it is in the removal deny list."

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

Bug description:
  Full error message:

  Could not calculate the upgrade

  An unresolvable problem occurred while calculating the upgrade.

   The package 'ubuntu-minimal' is marked for removal but it is in the
  removal deny list.

  If none of this applies, then please report this bug using the command
  'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want
  to investigate this yourself the log files in '/var/log/dist-upgrade'
  will contain details about the upgrade. Specifically, look at
  'main.log' and 'apt.log'.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: ubuntu-release-upgrader-core 1:23.10.14
  ProcVersionSignature: Ubuntu 6.5.0-44.44-generic 6.5.13
  Uname: Linux 6.5.0-44-generic x86_64
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 11 17:26:54 2024
  InstallationDate: Installed on 2022-03-10 (946 days ago)
  InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to mantic on 2024-10-11 (0 days ago)
  VarLogDistupgradeAptHistorylog:
   Start-Date: 2024-10-11  17:18:43
   Requested-By: daniel (1000)
   End-Date: 2024-10-11  17:18:44
  VarLogDistupgradeApttermlog:
   Log started: 2024-10-11  17:18:43
   Log ended: 2024-10-11  17:18:44
  VarLogDistupgradeTermlog:
   
  mtime.conffile..etc.update-manager.release-upgrades: 2023-08-30T12:29:14.275646

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




More information about the foundations-bugs mailing list