16

I know the release was delayed until Aug 29th, but its now September and I still cannot upgrade to 24.04. This is Ubuntu Server.

$ sudo do-release-upgrade -c
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release
set Prompt=normal in /etc/update-manager/release-upgrades.

This is post apt update / upgrade. Even did a reboot afterwards and tried again for good measure. Was the server LTS point release delayed (not sure if its a separate release train from the Desktop release)?

Bryant
  • 487

3 Answers3

10

Edit: Update from release mailing list https://lists.ubuntu.com/archives/ubuntu-release/2024-September/006226.html

Edit again: Fix is out in the proposed branch. https://bugs.launchpad.net/ubuntu/+source/linux-gcp/+bug/2078720 https://www.reddit.com/r/Ubuntu/s/YMcOjexGNM

9

According to Utkarsh Gupta on the mailing list in a reply to Michael Payne (one of the other answers here!):

It seems the file https://changelogs.ubuntu.com/meta-release-lts was modified yesterday at 15:01 and no longer contains the Noble upgrade 24.04.1 LTS. Was it removed for a reason? do-release upgrade no longer works with the channel set to LTS.

That's correct - the upgrade was disabled due to a critical bug in ubuntu-release-upgrader in the way it's using the apt solver. This is being worked on and as soon as this is fixed, we'll re-enable the upgrades.

I never saw an announcement, but Michael's answer has followup information and a link to the related issue.

8

In fact, on the two different machines where I have tested it, do-release-upgrade when run normally offers no updates:

$ do-release-upgrade -c
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release 
set Prompt=normal in /etc/update-manager/release-upgrades.

But adding the -d switch for including development versions gives the result that would have been expected from the plain command:

$ do-release-upgrade -c -d
Checking for a new Ubuntu release
New release '24.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

I have now successfully upgraded a 22.04.4 LTS (ARM64) virtual machine that I had locally to 24.04.1 LTS by simply running sudo do-release-upgrade -d.

As the release that is installed by sudo do-release-upgrade -d clearly identifies itself as "24.04.1 LTS", I presume that the upgrade was correct and that the -d switch is a good workaround for the current problem.

Otto G
  • 181