EOL upgrades: Upgrade from Ubuntu 23.04 to 24.04

Raymond Raymond event 2024-08-06 visibility 4,273 comment 10
more_vert
EOL upgrades: Upgrade from Ubuntu 23.04 to 24.04

When upgrading from Ubuntu 23.04 to 24.04, you may hit this error: An upgrade from 'lunar' to 'noble' is not supported with this tool.

The error occurred because we need to upgrade to 23.10 first and then to 24.04. This article show you how to do that.

Steps

  1. Backup your systems, files, etc. in case anything goes wrong.

  2. Download legacy upgrader tool: https://changelogs.ubuntu.com/meta-release. For 23.10, the code name is mantic.

    Dist: mantic
    Name: Mantic Minotaur
    Version: 23.10
    Date: Thu, 12 October 2023 23:10:00 UTC
    Supported: 0
    Description: This is the 23.10 release
    Release-File: http://archive.ubuntu.com/ubuntu/dists/mantic-updates/Release
    ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
    UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz
    UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz.gpg
  3. Download upgrade tool: http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz:

    wget http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz


If you cannot find the archived file, try the following URL:

https://old-releases.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz

  1. Unzip it:

    mkdir upgrader
    tar -xaf mantic.tar.gz -C upgrader
  2. Run upgrade tool:

    cd upgrader/
    sudo ./manic
  3. Follow the guide to complete the upgrade:

    image

  4. Once the upgrade to 23.10 is completed, run upgrade tool to update to 24.04 or use Software Updater:

    update-manager -c

    20240806105501-image.png

  5. Click Upgrade button to start upgrading to the latest version.

    20240806105626-image.png

References

https://help.ubuntu.com/community/EOLUpgrades 

More from Kontext
comment Comments
T Timothy Mwambi

Timothy access_time 18 days ago link more_vert

Another fix I did was to just edit the sources.list, i removed the urls that were for lunar and changed them to those of noble. I then ran sudo apt update followed by sudo apt upgrade. It worked perfectly.

https://github.com/hosseinseilani/sources.list This is where I got the sources.list for noble

Y Yang

Yang access_time 23 hours ago link more_vert

This is the best workaround after I did 20mins google search!

T Timothy Mwambi

Timothy access_time 14 hours ago link more_vert

I'm glad it was of help

Raymond Raymond

Raymond access_time 11 days ago link more_vert

Thanks for sharing this workaround.

T Timothy Mwambi

Timothy access_time 14 hours ago link more_vert

You're welcome Raymond

M Martin Svedlund

Martin access_time 2 months ago link more_vert

Downloading the upgrade tool does not work:

$ wget http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz

--2024-11-30 16:44:34-- http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz

Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.82, 91.189.91.81, 185.125.190.81, ...

Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.82|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2024-11-30 16:44:35 ERROR 404: Not Found.


I Igor Deriglazov

Igor access_time 2 months ago link more_vert

try this link:

https://old-releases.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz

Administrator Administrator

Administrator access_time 2 months ago link more_vert

Thanks Igor for the information.

M Martin Svedlund

Martin access_time 2 months ago link more_vert

old-releases.unbuntu.com works. Thanks! :)

Raymond Raymond

Raymond access_time 2 months ago link more_vert

Thanks for the info. Yes I am now also not able to access that particular version of upgrade tool.

I suggest you raise a feedback to Ubuntu team to look into it.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts