How to enable Canonical Livepatch Services on official Ubuntu flavors such as Ubuntu MATE?
Solution 1:
Here we have two problems:
- Livepatch is not available for this system
- Gnome Online Accounts is required to enable Livepatch
To solve the problems we need to install Livepatch as Snap and to install GNOME Online Accounts as deb-package with:
snap install canonical-livepatch
sudo apt-get install gnome-online-accounts gnome-control-center --no-install-recommends
and reboot.
On next opening of Software & Updates the Livepatch will welcome us to Sign in:
but the corresponding part of GNOME Control Center will not open on MATE session.
To open it we need to pass environmental variable to GNOME Control Center:
env XDG_CURRENT_DESKTOP=GNOME gnome-control-center online-accounts
and setup Ubuntu One account from here.
Then open Software & Updates (software-properties-gtk
) again, navigate to Livepatch tab and click on Sign In... button, confirm your account and use Livepatch:
Note: it is free for 3 machines, buy more from corresponding Canonical Livepatch Service.
From Marco Sulla's comment we have the following solution for Lubuntu. Here reinstallation of gnome-control-center
is needed. To re-enable the LivePatch use commands below
sudo apt-get install --reinstall gnome-control-center
sudo canonical-livepatch disable && sudo canonical-livepatch enable $TOKEN
You can get your token here: https://ubuntu.com/livepatch