- Disable Livepatch either through the GUI or by running
canonical-livepatch disable
as root - Uninstall Livepatch with
snap remove canonical-livepatch
as root (optional. Try it first without doing this) - Run the command
rm /etc/machine-id
as root to remove your current machine ID (if it says the file or directory doesn’t exist, you can safely ignore it) - Run the command
systemd-machine-id-setup
as root to regenerate the ID - Reinstall Livepatch with
snap install canonical-livepatch
as root (if you removed it earlier) - Either grab your key from https://auth.livepatch.canonical.com and follow the instructions there to re-enable or use the Livepatch GUI
check ubuntu version
lsb_release -a
Upgrade Ubuntu
sudo apt upgrade