# Check that we are running the -proposed u-a-t package from the release pocket root@jammy-test:~# apt policy ubuntu-advantage-tools ubuntu-advantage-tools: Installed: 31.2~22.04 Candidate: 31.2~22.04 Version table: *** 31.2~22.04 500 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages 100 /var/lib/dpkg/status 30~22.04 500 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 27.7~22.04.1 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages root@jammy-test:~# pro version 31.2~22.04 # Attach a token, verify that esm-infra and esm-apps are enabled root@jammy-test:~# pro attach Enabling default service esm-apps Updating Ubuntu Pro: ESM Apps package lists Ubuntu Pro: ESM Apps enabled Enabling default service esm-infra Updating Ubuntu Pro: ESM Infra package lists Ubuntu Pro: ESM Infra enabled This machine is now attached to 'server-team-ua-client-ci-uaa' SERVICE ENTITLED STATUS DESCRIPTION anbox-cloud yes disabled Scalable Android in the cloud esm-apps yes enabled Expanded Security Maintenance for Applications esm-infra yes enabled Expanded Security Maintenance for Infrastructure fips-preview yes disabled Preview of FIPS crypto packages undergoing certification with NIST fips-updates yes disabled FIPS compliant crypto packages with stable security updates usg yes disabled Security compliance and audit tools NOTICES Operation in progress: pro attach For a list of all Ubuntu Pro services, run 'pro status --all' Enable services with: pro enable Account: UA Client Test Subscription: server-team-ua-client-ci-uaa Valid until: Fri Dec 31 00:00:00 9999 UTC Technical support level: essential # Now, try to perform a do-release-upgrade root@jammy-test:~# do-release-upgrade --devel-release Checking for a new Ubuntu release = Welcome to Ubuntu 24.04 LTS 'Noble Numbat' = (...) # Suppressing output here because a) it is long and b) it contains errors, related to # https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2054716 # Because of that, we are in noble after the release upgrade, but packages are left behind, # Which leads to an incomplete transition. (...) # It is impossible to install the newest ubuntu-advantage-tools, because ubuntu-server is one of # the packages affected by LP #2054716. # However, the post-script for the release upgrade does work. We show the files generated by the script: root@jammy-test:~# cat /etc/apt/sources.list.d/ubuntu-esm-infra.sources # Written by ubuntu-pro-client Types: deb URIs: https://esm.ubuntu.com/infra/ubuntu Suites: noble-infra-security noble-infra-updates Components: main Signed-By: /usr/share/keyrings/ubuntu-pro-esm-infra.gpg root@jammy-test:~# cat /etc/apt/sources.list.d/ubuntu-esm-apps.sources # Written by ubuntu-pro-client Types: deb URIs: https://esm.ubuntu.com/apps/ubuntu Suites: noble-apps-updates noble-apps-security Components: main Signed-By: /usr/share/keyrings/ubuntu-pro-esm-apps.gpg # We show that the previous .list files are not there anymore: root@jammy-test:~# l /etc/apt/sources.list.d/*.list ls: cannot access '/etc/apt/sources.list.d/*.list': No such file or directory # We show that pro status lists esm services as available, as expected: root@jammy-test:~# pro status SERVICE ENTITLED STATUS DESCRIPTION esm-apps yes enabled Expanded Security Maintenance for Applications esm-infra yes enabled Expanded Security Maintenance for Infrastructure For a list of all Ubuntu Pro services, run 'pro status --all' Enable services with: pro enable Account: UA Client Test Subscription: server-team-ua-client-ci-uaa Valid until: Fri Dec 31 00:00:00 9999 UTC Technical support level: essential # We show that apt update presents no errors, warnings, or duplicates, # and our repos are listed: root@jammy-test:~# apt update Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease Hit:5 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease Hit:7 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease Hit:8 http://archive.ubuntu.com/ubuntu noble-proposed InRelease Hit:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 3 packages can be upgraded. Run 'apt list --upgradable' to see them. # This validates the transition.