Comment 12 for bug 2015241

Revision history for this message
Renan Rodrigo (renanrodrigo) wrote :

Jammy

$ cat /etc/os-release; uname -a; dpkg -l ubuntu-advantage-tools; sudo pro attach <key>
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Linux <hostname> 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:34:57 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-===============-============-=======================>
ii ubuntu-advantage-tools 27.13.6~22.04.1 arm64 management tools for Ub>
Enabling default service esm-apps
Updating package lists
Ubuntu Pro: ESM Apps enabled
Enabling default service esm-infra
Updating package lists
Ubuntu Pro: ESM Infra enabled
This machine is now attached to 'server-team-ua-client-ci-uaa'

SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled Expanded Security Maintenance for Applications
esm-infra yes enabled Expanded Security Maintenance for Infrastructure
realtime-kernel yes disabled Ubuntu kernel with PREEMPT_RT patches integrated

NOTICES
Operation in progress: pro attach

Enable services with: pro enable <service>

                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
$ sudo pro enable livepatch
One moment, checking your subscription first
Livepatch is not available for platform arm64.
Supported platforms are: amd64.
$ sudo pro detach; source /etc/os-release
Detach will disable the following services:
    esm-apps
    esm-infra
Are you sure? (y/N) y
Updating package lists
Updating package lists
This machine is now detached.
$ echo "deb http://ports.ubuntu.com/ubuntu-ports jammy-proposed main" | sudo tee /etc/apt/sources.list.d/proposed.list; sudo apt update; sudo apt install ubuntu-advantage-tools
deb http://ports.ubuntu.com/ubuntu-ports jammy-proposed main
Hit:1 http://us.ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-proposed InRelease [270 kB]
Hit:3 http://us.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://us.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/paelzer/lp-1989078-aavmf-locking/ubuntu jammy InRelease
Hit:6 http://us.ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main arm64 Packages [173 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main Translation-en [48.7 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main arm64 c-n-f Metadata [3708 B]
Fetched 496 kB in 3s (160 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
142 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  ubuntu-advantage-tools
1 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.
Need to get 171 kB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main arm64 ubuntu-advantage-tools arm64 27.14.4~22.04 [171 kB]
Fetched 171 kB in 0s (358 kB/s)
Preconfiguring packages ...
(Reading database ... 125882 files and directories currently installed.)
Preparing to unpack .../ubuntu-advantage-tools_27.14.4~22.04_arm64.deb ...
Unpacking ubuntu-advantage-tools (27.14.4~22.04) over (27.13.6~22.04.1) ...
Setting up ubuntu-advantage-tools (27.14.4~22.04) ...
Installing new version of config file /etc/apt/apt.conf.d/20apt-esm-hook.conf ..
.
Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
Installing new version of config file /etc/update-motd.d/91-contract-ua-esm-stat
us ...
Removing obsolete conffile /etc/update-motd.d/88-esm-announce ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning candidates...
Scanning linux images...

Restarting services...
Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart libvirtd.service
 systemctl restart networkd-dispatcher.service
 systemctl restart systemd-logind.service
 systemctl restart unattended-upgrades.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
$ dpkg -l ubuntu-advantage-tools; sudo pro attach <key>
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-=============-============-=========================>
ii ubuntu-advantage-tools 27.14.4~22.04 arm64 management tools for Ubun>
Enabling default service esm-apps
Updating package lists
Ubuntu Pro: ESM Apps enabled
Enabling default service esm-infra
Updating package lists
Ubuntu Pro: ESM Infra enabled
This machine is now attached to 'server-team-ua-client-ci-uaa'

SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled Expanded Security Maintenance for Applications
esm-infra yes enabled Expanded Security Maintenance for Infrastructure
realtime-kernel yes disabled Ubuntu kernel with PREEMPT_RT patches integrated

NOTICES
Operation in progress: pro attach

Enable services with: pro enable <service>

                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
$ sudo pro enable livepatch
One moment, checking your subscription first
Livepatch is not available for platform arm64.
Supported platforms are: amd64.