Ubuntu LTS “Noble Numbat”
“Noble Numbat” release date is coming closer. How to update a VM or a system running on real rust? This is my preferred way of doing LTS upgrades.
As we are coming close to the release of version 24.04 LTS, it's time to remember what we did in 2020 when the last LTS was released. We all have VMs running 22.04, and soon it's time to upgrade to 24.04. The release date has been scheduled for April 25, although release dates are always uncertain. Link to daily builds.
Before we start the upgrade process, note down the current Linux distro name lsb_release -a
, and kernel version uname -mrs
.
New features, Server
Exact info remain uncertain until the release date.
- The Linux kernel version 6.8
- The Apache2 package updated to version 2.4.58
- Clamav updated to 1.0.0
- Chrony updated to 4.5
- The containerd package updated to 1.7.12
- The HAProxy package updated to 2.8.5
- The Kea package updated to 2.4.1
- The libvirt package updated to 10.0.0
- The Nginx web server updated to 1.24
- The OpenLDAP package updated to 2.6.7
- The PHP package updated to 8.3.3
- The QEMU package updated to 8.2.1
- The runc package updated to 1.1.12
- The Samba package updated to the 4.19.x series
- TPM-backed full-disk encryption for enhanced data security, experimental
- Many performance improvements have been made
There are numerous other new app versions, see this link for more details.
Upgrade to 24.04 LTS
Check the update-manager
The action needs to be set to LTS
cat /etc/update-manager/release-upgrades
Make sure the following line exist: Prompt=lts
Update your system
Log in using the ssh command. Find if any packages are on hold. If you get any output, you need to remove a hold on packages using the apt-mark command.
sudo apt-mark showhold
Update current system by refreshing the apt repo and apply all upgrades.
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
Make sure that you have the latest tool, sudo apt install update-manager-core
.
Reboot
Some machines need a hard reset sudo poweroff
.
sudo reboot
Upgrade
sudo do-release-upgrade
SSH users need to open TCP port 1022 on the firewall. You will see this message:
Answer y and then hit [Enter] and next y on the following screens.
Hit [Enter] and open a second SSH session ssh -p 1022 <username>@<IP>
Hit [Enter] to continue.
Answer y to continue.
Tab to and hit [Yes] to restart services during upgrades.
Usually, I hit [Enter], in step 6 we upgrade them too.
If you see any of these, it's up to you to keep the old or replace and re-edit.
Typically, you want to get rid of old obsolete packages, answer y.
For the upgrade to take effect, you need to reboot, answer y.
Check for success
After the upgrade process, note down the new Linux distro name lsb_release -a
, and kernel version uname -mrs
. Test your apps.
Enable 3rd party repos/mirrors
Now that Ubuntu 22.04 LTS to 24.04 LTS upgrade is completed, make sure 3rd party mirror and repos are enabled.
ls -l /etc/apt/sources.list.d
Edit your list to reflect the change from Jammy Jellyfish to Noble Numbat.
sudo apt update && sudo apt upgrade -y
sudo apt autoremove --purge
Final step
Test all apps thoroughly