1 Answers1

0

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:

  1. run your usual system and/or data backup

  2. 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/apt
    
  • the repos are in these dirs:

    /etc/apt/sources.list

    /etc/apt/sources.list.d/*.list

  1. get the system as up-to-date as possible on the current version:

     sudo apt update
     sudo apt upgrade
     sudo apt dist-upgrade
    
  2. adjust behaviour of release upgrades - in file /etc/update-manager/release-upgrades - change the Prompt= value to Prompt=never

  3. Since 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
  1. 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-upgrades and run another do-release-upgrade until you get to the desired/newest version of Ubuntu Release.
cepal67
  • 25