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-apps
749 packages installed:
8 packages from Ubuntu Universe/Multiverse repository
Universe/Multiverse packages are receiving security updates from
Ubuntu Pro with 'esm-apps' enabled until 2032.
Run 'pro help esm-apps' to learn more
Installed 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.sh
Server version: Apache Tomcat/9.0.58 (Ubuntu)
Server built: Jan 6 1970 15:09:28 UTC
Server number: 9.0.58.0
OS Name: Linux
OS Version: 6.2.0-1019-azure
Architecture: amd64
JVM Version: 11.0.21+9-post-Ubuntu-0ubuntu122.04
JVM 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 upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
alsa-ucm-conf
1 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
sudo apt updatehas never updated any packages. That command updates the database of available packages.sudo apt upgradedownloads and installs available packages using that database. – user535733 Feb 02 '24 at 19:03