Question

Upgrading from Ubuntu 22.10

Hi guys,

I’m kinda stuck with my Ubuntu droplet. The version is 22.10.

I wanted to install JDK but I was just getting this error “The repository ‘http://mirrors.digitalocean.com/ubuntu kinetic Release’ no longer has a Release file.”

I realised that I can’t do anything (not even “apt update”, “apt upgrade”) without getting that error.

I tried to do “do-release-upgrade” but it says “Please install all available updates for your release before upgrading.”, but I can’t install anything.

Searching the web didn’t help, couldn’t find anything.

How can I get out of this mess?

Thanks!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Apparently, there’s this thing where they stop supporting specific distributions of Ubuntu. Make sure to follow their announcements or just use the LTS (long term support) versions.

I managed to install version 23.04 by following steps from this answer

TIL about EOL and what exactly means LTS 😅

If someone else has the same issue, this helped me.

Copy of the answer from the url The repositories for older releases that are not supported get moved to an archive server. There are repositories available at http://old-releases.ubuntu.com

So you have to rewrite your /etc/apt/sources.list file in order to use this server. Use the following sed command to do this:

sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

Also comment out any entries in sources.list that point to mx.* servers

Now you are ready to do your update:

sudo apt-get update
sudo apt-get install update-manager-core
sudo do-release-upgrade

Also looking for an answer for this! I’m having the same issue. How is something for 22.10 considered “old”??

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel