2

I have a current Ubuntu 22.04 LTS Server:

Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-107-generic x86_64)

When I try to do a release upgrade via sudo do-release-upgrade (without -d!) it tells me:

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.

I already found that the upgrade channel is not open yet, so thats fine.

But I'm a bit worried that it says development version. I have called do-release-upgrade without the -d option. I don't want to upgrade to a development version.

I've found this question which suggests deleting /etc/apt/sources.list.d/proposed.list*:

But these files don't exist in my filesystem:

****@****:~$ ls -l /etc/apt
total 32
drwxr-xr-x 2 root root 4096 Mai 17 09:09 apt.conf.d
drwxr-xr-x 2 root root 4096 Apr  8  2022 auth.conf.d
drwxr-xr-x 2 root root 4096 Nov 21 10:35 keyrings
drwxr-xr-x 2 root root 4096 Mai 17 09:09 preferences.d
-rw-r--r-- 1 root root 2445 Nov  1  2023 sources.list
-rw-r--r-- 1 root root 2403 Aug 10  2023 sources.list.curtin.old
drwxr-xr-x 2 root root 4096 Nov 21 10:43 sources.list.d
drwxr-xr-x 2 root root 4096 Aug 10  2023 trusted.gpg.d
****@****:~$ ls -l /etc/apt/sources.list.d
total 4
-rw-r--r-- 1 root root 110 Nov 21 10:43 docker.list

Is this do-release-upgrade message There is no development version of an LTS available. something I need to worry about? If yes, how can I switch to a non-development-version?

Note: I didn't install Ubuntu Server on this system myself. I don't know with which version it was installed, maybe it is already a development version :-/

1 Answers1

3

Normally, when you run sudo do-release-upgrade -d, you'll upgrade to the next development version. For LTS releases, this means upgrading to the next LTS development release, which is available 6 months before the final release.

However, the sudo do-release-upgrade -d changes its meaning after the next LTS is released. Here, you test the upgrade path instead, since the final and tested upgrade path is normally only available after the first point release (which is normally in august).

So to sum up:

  • From 6 months before up until the next LTS release, sudo do-release-upgrade -d will upgrade to the next development LTS release.
  • From the LTS is released and up to the first point release (usually 4 months after), sudo do-release-upgrade -d to the next final LTS release, but the upgrade path is untested, and may have errors or fail.

The information you get from the normal sudo do-release-uograde is a way for the developers to tell you that scenario 1 is no longer an option, and that implicitly by running sudo do-release-uograde -d, you will encounter scenario 2.

But I agree this message is not very clear, and much is implied and not explained clearly.

Artur Meinild
  • 31,035