group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #41904
[Bug 1951954] Re: ua refresh "Unexpected error(s) occurred"
This bug was fixed in the package ubuntu-advantage-tools - 27.5~18.04.1
---------------
ubuntu-advantage-tools (27.5~18.04.1) bionic; urgency=medium
* Backport new upstream release: (LP: #1956456) to bionic
ubuntu-advantage-tools (27.5~22.04.1) jammy; urgency=medium
* d/control:
- Update homepage URL
* d/tools.postinst:
- Refactor to use valid_services
* d/tools.postrm:
- Use a wildcard to remove ua related gpg files
* New upstream release 27.5 (LP: #1956456)
- aws: add support for the IPv6 metadata endpoint
- cis: update URL for the documentation
- cli:
+ add endpoint to simulate the status using a specific contract token
+ fix return code when attaching an already attached machine (GH: #1867)
+ fix security-status to consider all possible origins to show updates
+ include cloud build.info in the collect-logs tarball
+ only show services which exist in the contracts server in ua status
- docs: fix typos and wrong/outdated information
- livepatch: always use the full path in livepatch calls (LP: #1951954)
- logs:
+ improve rules to redact sensitive information from all log files
+ redact sensitive information from older unredacted log files
+ log errors from external software execution, for debugging purposes
- usg:
+ support the presentedAs affordance from the contract server, showing
services in the CLI with the appropriate names
+ replace the CIS entitlement by USG on Focal and onwards
-- Renan Rodrigo <renanrodrigo@xxxxxxxxxxxxx> Wed, 05 Jan 2022
10:01:00 -0300
** Changed in: ubuntu-advantage-tools (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1951954
Title:
ua refresh "Unexpected error(s) occurred"
Status in ubuntu-advantage-tools package in Ubuntu:
Fix Released
Status in ubuntu-advantage-tools source package in Xenial:
Fix Released
Status in ubuntu-advantage-tools source package in Bionic:
Fix Released
Status in ubuntu-advantage-tools source package in Focal:
Fix Released
Status in ubuntu-advantage-tools source package in Hirsute:
Fix Released
Status in ubuntu-advantage-tools source package in Impish:
Fix Released
Bug description:
[Impact]
If /snap/bin is not present in the PATH, UA will fail when trying to run it.
This is fixed by specifying the full path (/snap/bin/canonical-livepatch) to every call from UA side.
[Test Case]
To reproduce the bug, run `sudo env PATH="/usr/bin" ua refresh` on an attached bionic machine.
Then, install the 27.5 version from the staging PPA
(https://launchpad.net/~ua-client/+archive/ubuntu/staging)
Repeating the same command as above runs without an error.
There is a test script attached to this bug, as well as execution
output, to show the above solution works.
[Regression Potential]
It could only cause problems if canonical-livepatch is in a different place than /snap/bin, and it should not happen in any installation.
[Original Description]
root@somehost:~# ua refresh
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 18.04
Package: ubuntu-advantage-tools 27.4.1~18.04.1
ProcVersionSignature: Ubuntu 4.15.0-143.147-generic 4.15.18
Uname: Linux 4.15.0-143-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_4_15_0_143_147_generic_82 lkp_Ubuntu_4_15_0_143_147_generic_81 lkp_Ubuntu_4_15_0_143_147_generic_80 lkp_Ubuntu_4_15_0_143_147_generic_79
ApportVersion: 2.20.9-0ubuntu7.27
Architecture: amd64
Date: Tue Nov 23 12:56:54 2021
InstallationDate: Installed on 2015-08-06 (2300 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=screen
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: Upgraded to bionic on 2020-06-17 (524 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1951954/+subscriptions