Thank you Albourne for the additional information!
I was able to confirm this bug.
We are not specifying the full path to the `canonical-livepatch`
executable every time we call it, so if it is not in your PATH you will
get the error described here.
To reproduce the bug: `sudo env PATH="/usr/bin" ua refresh` on an
attached bionic machine.
`canonical-livepatch` is located at `/snap/bin/canonical-livepatch`. So if
`/snap/bin` is not in PATH then the command will fail. `/snap/bin` is in the
PATH by default which is why we haven't noticed this yet.
Workaround:
Adding `/snap/bin` to your path should allow you to run the command
until we get this fixed:
sudo env PATH="$PATH:/snap/bin" ua refresh
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Incomplete => Confirmed
** Changed in: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951954
Title:
ua refresh "Unexpected error(s) occurred"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1951954/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs