version 31.2~2.04 does not let me enable esm-apps.

Bug #2058570 reported by Andrew Se
This bug report is a duplicate of:  Bug #2058560: "sudo pro attach <token>" fails. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I just signed up with pro, but still unable to use code or attach token, it reads "Invalid token"

Get more security updates through Ubuntu Pro with 'esm-apps' enabled:

$ sudo apt install upbuntu-advantage-tools

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package upbuntu-advantage-tools

Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-advantage-tools 31.2~22.04
ProcVersionSignature: Ubuntu 6.5.0-26.26.1~22.04.1-lowlatency 6.5.13
Uname: Linux 6.5.0-26-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Mar 20 18:03:36 2024
InstallationDate: Installed on 2021-05-17 (1038 days ago)
InstallationMedia: Ubuntu-Studio 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210210)
PackageArchitecture: all
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: Upgraded to jammy on 2022-12-07 (468 days ago)
apparmor_logs.txt: Mar 20 17:35:56 specialized-K54C kernel: audit: type=1400 audit(1710970556.302:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_apt_news" pid=702 comm="apparmor_parser"
cloud-id.txt-error: Invalid command specified 'cloud-id'.
livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'.
uaclient.conf:
 contract_url: https://contracts.canonical.com
 log_level: debug

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

Hello, Andrew
Thanks for reporting this bug

On your first entry, there is a typo in the package name (upbuntu-advantage-tools) but that is not the root cause of the problem, as ubuntu-advantage-tools is installed properly.

Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine.

Would you mind trying again please?

For the future, we will improve this error message so users know what is happening instead of seeing 'unexpected error'.

As we received many bug reports about this, I am marking this one a duplicate (for easier tracking). Feel free to come back if the error persists though.

information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.