# Hirsute desktop results: SUCCESS non-LTS has neither ESM-Infra nor ESM-Apps support or availability. # so 1. it will not expose "Extend..." links to provide ESM information in Updates tab # and 2. When attached no ESM information will be represented in Updates tab
1. # install proposed $ cat > setup_proposed.sh <<EOF #!/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk software-properties-common python3-software-properties EOF' $ IP=`uvt-kvm ip ubuntuhirsute` $ scp setup_proposed.sh csmith@$IP:. $ ssh csmith@$IP csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ lsb_release -sc hirsute csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ sudo bash ./setup_proposed.sh [sudo] password for csmith: deb http://archive.ubuntu.com/ubuntu hirsute-proposed main Hit:1 http://us.archive.ubuntu.com/ubuntu hirsute InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu hirsute-updates InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu hirsute-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease Get:5 http://archive.ubuntu.com/ubuntu hirsute-proposed InRelease [269 kB] Get:6 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 Packages [61.4 kB] Get:7 http://archive.ubuntu.com/ubuntu hirsute-proposed/main i386 Packages [20.1 kB] Get:8 http://archive.ubuntu.com/ubuntu hirsute-proposed/main Translation-en [18.2 kB] Get:9 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 DEP-11 Metadata [6,228 B] Get:10 http://archive.ubuntu.com/ubuntu hirsute-proposed/main DEP-11 48x48 Icons [6,469 B] Get:11 http://archive.ubuntu.com/ubuntu hirsute-proposed/main DEP-11 64x64 Icons [10.0 kB] Get:12 http://archive.ubuntu.com/ubuntu hirsute-proposed/main DEP-11 64x64@2 Icons [29 B] Get:13 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 c-n-f Metadata [1,712 B] Fetched 393 kB in 2s (230 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: python3-software-properties software-properties-common software-properties-gtk 3 upgraded, 0 newly installed, 0 to remove and 235 not upgraded. Need to get 112 kB of archives. After this operation, 15.4 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 software-properties-common all 0.99.10.2 [13.9 kB] Get:2 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 software-properties-gtk all 0.99.10.2 [65.7 kB] Get:3 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 python3-software-properties all 0.99.10.2 [32.1 kB] Fetched 112 kB in 1s (101 kB/s) (Reading database ... 168161 files and directories currently installed.) Preparing to unpack .../software-properties-common_0.99.10.2_all.deb ... Unpacking software-properties-common (0.99.10.2) over (0.99.10) ... Preparing to unpack .../software-properties-gtk_0.99.10.2_all.deb ... Unpacking software-properties-gtk (0.99.10.2) over (0.99.10) ... Preparing to unpack .../python3-software-properties_0.99.10.2_all.deb ... Unpacking python3-software-properties (0.99.10.2) over (0.99.10) ... Setting up python3-software-properties (0.99.10.2) ... Setting up software-properties-common (0.99.10.2) ... Setting up software-properties-gtk (0.99.10.2) ... Processing triggers for dbus (1.12.20-1ubuntu3) ... Processing triggers for shared-mime-info (2.0-1) ... Processing triggers for mailcap (3.68ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for libglib2.0-0:amd64 (2.68.0-1) ... Processing triggers for man-db (2.9.4-2) ... csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ apt policy software-properties-gtk software-properties-gtk: Installed: 0.99.10.2 Candidate: 0.99.10.2 Version table: *** 0.99.10.2 500 500 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu hirsute-proposed/main i386 Packages 100 /var/lib/dpkg/status 0.99.10 500 500 http://us.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu hirsute/main i386 Packages csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ [ -f /var/lib/ubuntu-advantage/status.json ] && echo "status.json PRESENT" || echo "status.json ABSENT" status.json ABSENT csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ sofware-properties-gtk # Success NO error messages 3. Updates tab in "Software & Updates" dialog # Success no "Extend..." link Basic Security Maintenance Active until 01/22/2022 4. Close button # no errors on software-properties-gtk console 5. Attach and validate csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ sudo ua attach <REDACTED> This machine is now attached to 'server-team-ua-client-ci-uaa' SERVICE ENTITLED STATUS DESCRIPTION esm-infra yes n/a UA Infra: Extended Security Maintenance (ESM) fips yes n/a NIST-certified FIPS modules fips-updates yes n/a Uncertified security updates to FIPS modules livepatch yes n/a Canonical Livepatch service NOTICES Operation in progress: ua attach Enable services with: ua enable <service> Account: UA Client Test Subscription: server-team-ua-client-ci-uaa Valid until: 9999-12-31 00:00:00 Technical support level: essential csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ [ -f /var/lib/ubuntu-advantage/status.json ] && echo "status.json PRESENT" || echo "status.json ABSENT" status.json PRESENT csmith@csmith-Standard-PC-Q35-ICH9-2009:~$ software-properties-gtk # no token expiry error messages 6. Click Updates tab and validate: # Success Basic Security Maintenance because no ESM available or active on non-LTS Basic Security Maintenance Active until 07/14/2022 ** Tags removed: verification-needed-hirsute ** Tags added: verification-done-hirsute ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1939732 Title: report availability of Ubuntu Advantage ESM services on unattached machines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1939732/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs