1 Answers
I think you're mixing up terms "kernel version" and "ubuntu release version". 22.10, 24.04 etc. are Ubuntu Release Versions.
Your best bet is to upgrade the system semi-manually, the steps are:
run your usual system and/or data backup
Check your current apt repositories, perhaps make a "quick backup" of them and then disable any obscure/non-ubuntu repos and just generally have e look for any issues there...:
example of quick apt directory backup
sudo tar cJf ~/etc_apt.tar.xz /etc/aptthe repos are in these dirs:
/etc/apt/sources.list/etc/apt/sources.list.d/*.list
get the system as up-to-date as possible on the current version:
sudo apt update sudo apt upgrade sudo apt dist-upgradeadjust behaviour of release upgrades - in file
/etc/update-manager/release-upgrades- change thePrompt=value toPrompt=neverSince 22.10 is no longer supported, you will need to upgrade to 22.04 LTS (Long Term Support) directly. You can do this by running:
sudo do-release-upgrade -d
Proceed with upgrade, then do cleanup and reboot:
sudo apt autoremove
sudo apt clean
sudo reboot
- Check system after reboot, review the modified system config files, reiterate 1-4 or try to revert the value of
Prompt=in the file/etc/update-manager/release-upgradesand run anotherdo-release-upgradeuntil you get to the desired/newest version of Ubuntu Release.
- 25