apt-get install ubuntu-advantage-pro

Bug #2027672 reported by Richard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Triaged
Undecided
Renan Rodrigo

Bug Description

Enabling default service esm-infra
Updating package lists
Ubuntu Pro: ESM Infra enabled
Enabling default service livepatch
Installing snapd
Updating package lists
Stderr:
Stdout:
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
root@jitsimeet:~# ubuntu-bug ubuntu-advantage-tools

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.....................WARNING:root:Failed to load file: /var/log/ubuntu-advantage.log.5.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage.log.2.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage.log.4.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage.log.6.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage-timer.log.5.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage.log.3.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage-timer.log.2.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage-timer.log.4.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage-timer.log.3.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
WARNING:root:Failed to load file: /var/log/ubuntu-advantage-timer.log.6.gz
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-advantage-tools 28.1~22.04
ProcVersionSignature: Ubuntu 5.15.0-1037.42-gke 5.15.99
Uname: Linux 5.15.0-1037-gke x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Jul 13 10:59:34 2023
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: Upgraded to jammy on 2022-06-18 (389 days ago)
cloud-id.txt: digitalocean
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
Richard (richard-ibbotson) wrote :
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Hi richard-ibbotson,

Thanks for raising both of those issues.

The first issue is related to the installed version of snap does not have the wait command. Can you confirm that snap is indeed installed in the machine and if yes, can you post the output of snap --version ?
Additionally, just to confirm, did that problem happened when you ran: apt-get install ubuntu-advantage-tools ?

The second issue is regarding for us trying to collect zipped log files. We will address that problem on our side.

Changed in ubuntu-advantage-tools (Ubuntu):
status: New → Triaged
information type: Private → Public
tags: removed: need-amd64-retrace
Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

We will at least catch the error that occurred to display a better error message.

We will also update the log collection to avoid those collection warnings and also only collect the most recent rotated log.

Changed in ubuntu-advantage-tools (Ubuntu):
assignee: nobody → Lucas Albuquerque Medeiros de Moura (lamoura)
Changed in ubuntu-advantage-tools (Ubuntu):
assignee: Lucas Albuquerque Medeiros de Moura (lamoura) → Renan Rodrigo (renanrodrigo)
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.