No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu GNU/Linux testing/unstable
Release: testing/unstable
Codename: n/a
I have had this version for a few years now and would like to upgrade it to 22.04 lts.
sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
deb [signed-by=/usr/share/keyrings/adoptopenjdk-archive-keyring.gpg] https://adoptopenjdk.jfrog.io/adoptopenjdk/deb hirsute main
What can I do?
This answer will help you restore your botched
/etc/os-release
file (which is actually a symlink to/usr/lib/os-release
).From your kernel version, and your previous questions, it's evident that your system is actually running Ubuntu 21.04 (Hirsute Hippo). This release is now end-of-life, and you should upgrade to a supported release ASAP.
For unknown reasons, you have overwritten your
/etc/os-release
file with invalid contents - let's fix that.Open the file in an editor (like
nano
) withroot
privileges:Replace the entire contents of the file with this:
Save and exit.
Now when you run
lsb_release -a
it should show:To upgrade your current installation now, please see this Q&A.