How to Upgrade Ubuntu
Update Release Name in Sources To start upgrading you need to change the /etc/apt/sources.list file and replace the name of your previous release with new one. So, for example if you are 20.04, replace every instance of focal with kinetic. If you currently have 22.04, replace jammy with kinetic. This process can be automated by using the following sed command: 1 sudo sed -i 's/jammy/kinetic/g' /etc/apt/sources.list Then, look in /etc/apt/sources.list.d/. Change any files in there the same way....