4

I'm trying to upgrade from Ubuntu 23.04, however I get the following error.

An upgrade from 'lunar' to 'noble' is not supported with this tool.

After some online searching, I came across this instruction https://help.ubuntu.com/community/EOLUpgrades, and I was trying to follow it. In the first step, I tried to find out if my version was EOL.

$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_ID="23.04"
VERSION="23.04 (Lunar Lobster)"
VERSION_CODENAME=lunar
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=lunar
LOGO=ubuntu-logo

I tried checking if my version is EOL by going to https://wiki.ubuntu.com/Releases. But in that webpage version 23.04 is not listed. How can we find if a particular version is EOL or not if that version number is not listed on this page?

In this, it is listed that Ubuntu 23.04 lunas is EOL, so as per the instruction I'm trying to update to 23.10 and then to 24.04. For this, I created a sources.list file as below

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ lunar main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lunar-security main restricted universe multiverse

Optional

#deb http://old-releases.ubuntu.com/ubuntu/ lunar-backports main restricted universe multiverse

However, when I do $ sudo apt update I get the following error,

Ign:5 http://old-releases.ubuntu.com/ubuntu lunar InRelease     
Ign:6 http://old-releases.ubuntu.com/ubuntu lunar-updates InRelease
Ign:7 http://old-releases.ubuntu.com/ubuntu lunar-security InRelease
Err:8 http://old-releases.ubuntu.com/ubuntu lunar Release
  404  Not Found [IP: 185.125.190.37 80]
Err:9 http://old-releases.ubuntu.com/ubuntu lunar-updates Release
  404  Not Found [IP: 185.125.190.37 80]
Err:10 http://old-releases.ubuntu.com/ubuntu lunar-security Release
  404  Not Found [IP: 185.125.190.37 80]
Reading package lists... Done
E: The repository 'http://old-releases.ubuntu.com/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu lunar-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu lunar-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Why is this error coming? How can I update to 23.10 ? I can not do a fresh installation for practical reasons.

Edit: My question is NOT if I can skip versions while upgrading, my question is HOW to reach version 24.04 from 23.04. I don't mind doing intermediate steps. The suggested question does not have an accepted answer and none of the questions answer how to upgrade from 23.04 lunar.

brownser
  • 148

1 Answers1

6

23.04 is indeed listed on the linked wiki page.

Table from the wiki page

Ubuntu 23.04 reached End of Life on January 25, 2024.

user535733
  • 68,493