We installed tomcat9 and nginx from the Ubuntu package manager and soon realised that the package versions available didn't have the latest security and patches.We then subscribed to ubuntu pro esm-apps which is supposed to have the latest security and patches for a number of packages including tomcat9 and nginx.
However running sudo apt update
doesn't update these packages to the latest. Do we need to do anything else?
Ubuntu Version - 22.04.3 LTS
user@host:/# sudo pro security-status --esm-apps749 packages installed: 8 packages from Ubuntu Universe/Multiverse repositoryUniverse/Multiverse packages are receiving security updates fromUbuntu Pro with 'esm-apps' enabled until 2032.Run 'pro help esm-apps' to learn moreInstalled packages covered by esm-apps: libeclipse-jdt-core-java libnetfilter-queue1 libtcnative-1 libtomcat9-java python3-parted rename tomcat9 tomcat9-common
Tomcat9 is still the old version 9.0.58 which was released in January 2022
user@host:/..../tomcat9/bin# ./version.shServer version: Apache Tomcat/9.0.58 (Ubuntu)Server built: Jan 6 1970 15:09:28 UTCServer number: 9.0.58.0OS Name: LinuxOS Version: 6.2.0-1019-azureArchitecture: amd64JVM Version: 11.0.21+9-post-Ubuntu-0ubuntu122.04JVM Vendor: Ubuntu
How do I ensure that we get the latest from esm-apps?
Update
sudo apt upgrade
doesn't list tomcat9 as a package to upgrade
user@host:/# sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded: alsa-ucm-conf1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 43.4 kB of archives.After this operation, 0 B of additional disk space will be used.
apt list --installed
shows the following.
tomcat9-common/jammy-updates,now 9.0.58-1ubuntu0.1 all [installed,automatic]tomcat9/jammy-updates,now 9.0.58-1ubuntu0.1 all [installed]
apt policy tomcat9
shows the following
tomcat9: Installed: 9.0.58-1ubuntu0.1 Candidate: 9.0.58-1ubuntu0.1 Version table: *** 9.0.58-1ubuntu0.1 500 500 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 100 /var/lib/dpkg/status 9.0.58-1 500 500 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages