Can't upgrade to 24.04 - 'ubuntu-minimal' is marked for removal

Trying the upgrade to 24.04 today, but it bails out before downloading with the following error:

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'. 

Anyone run into this?

1 Like

Same problem here. Here’s my /var/log/dist-upgrade/apt.log: apt.log - Pastebin.com

Launchpad bug 2084268 (can’t post links apparently?) seems to suggest that this is likely an issue with having PPAs enabled (and other posts on the forum seem to back that up).

Forgot to attach my apt.log last night, but I do have some packages from the deadsnakes PPA installed plus some print drivers that might be causing problems. Will fiddle tonight and see where I get to.

My apt.log: http s://pastebin.com/48gPMfv0

Looks like we are having the same Removing ubuntu-minimal:amd64 rather than change vim-tiny:amd64 error

Looks like it is just that having PPAs that provide newer versions of packages that are also supplied in the Ubuntu repos breaks the upgrade:

  • Use ppa-purge from the Ubuntu repo to remove all the PPAs and the packages they install
  • Do the upgrade
  • Reenable the PPAs
1 Like

Thanks, that worked