12

Can't upgrade from 23.04 to 23.10 or 24.04.

Background I have a fancy workstation (I am the only user) that for some reason they let me have root but not bios/boot menu access because of over zealous security, and also because of over zealous security all new systems users are not allowed to use linux and user don't have an software installation rights. So upgrading from usb is a no go.I would rather keep my grandfathered in workstation and not have to move to Windows and ask permission every time I need to update a python package....

below are somethings I tried and their outputs

sudo do-release-upgrade

An upgrade from 'lunar' to 'noble' is not supported.

sudo do-release-upgrade -d

Upgrades to the development release are only available from the latest supported release.

From some search it looks like I need to upgrade from 23.04 to 23.10 to 24.04. Is there a way to do that? EDIT: I am not trying to skip a release, I am just looking for any method outside of a USB install to upgrade.

who knows
  • 467

1 Answers1

22

I followed the directions here regarding Unsupported upgrades: https://help.ubuntu.com/community/EOLUpgrades

Sometimes do-release-upgrade isn't able to run the upgrade to the latest version and it shows an error similar to this:

An upgrade from 'eoan' to 'focal' is not supported with this tool.

If that happens, you need to download a version-specific upgrader, you can find the link at https://changelogs.ubuntu.com/meta-release.

You need to download the upgrade tool for the version you are upgrading to. For example, if you are upgrading to Ubuntu 20.04 (focal), you'll see the link on that page as follows:

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

The download is an archive which contains an executable with the code name of the release. execute it to run the upgrade tool for that release. Note that the archive extracts everything in the current directory so you might want to create a directory for it to extract into:

# Downloads the upgrader, check the link above for the URL of the file for your release
wget http://archive.ubuntu.com/ubuntu/dists/mantic-updates/main/dist-upgrader-all/current/mantic.tar.gz
# Extract it into a new directory
mkdir upgrader
tar -xaf mantic.tar.gz -C upgrader
cd upgrader
# Run the executable, the name changes based on the release
sudo ./mantic
who knows
  • 467