- Disable Livepatch either through the GUI or by running
canonical-livepatch disableas root - Uninstall Livepatch with
snap remove canonical-livepatchas root (optional. Try it first without doing this) - Run the command
rm /etc/machine-idas 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-setupas root to regenerate the ID - Reinstall Livepatch with
snap install canonical-livepatchas 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






