Bug Description

Ubuntu MATE 18.04.1
update-manager 1:18.04.11.7

Steps to reproduce:
1. After installing updates via update-manager, a dialog box appears stating 'Tip: You can use Livepatch to keep your computer more secure between restarts.'
2. Click 'Settings and Livepatch...'.
3. software-properties-gtk launches, showing the 'Updates' tab.
4. There is no option to enable Livepatch, either in the Updates tab or elsewhere.

Probably related to Bug #1770686. The dialog box should not suggest to use Livepatch if gnome-control-center is not installed.

Probably I did mean canonical-livepatch - that certainly sounds sensible. I mentioned gnome-control-center because it was implicated in Bug #1770686. Maybe that bug isn't as closely related to this one as I thought?

Ah, well spotted. Several programs should vary their UI depending on whether canonical-livepatch is installed. update-manager is one of them (this bug); software-properties is another; and gnome-initial-setup is another.

Bug 1770686 reveals that the Livepatch settings in software-properties depend, in turn, on the gnome-online-accounts-panel in gnome-control-center. This isn’t a package-level dependency: you can still install and use software-properties without gnome-online-accounts, you just don’t see the Livepatch feature. So I guess anything linking to the software-properties Livepatch UI should check for the existence of that panel *and* of software-properties itself.

That doesn’t change the UI design for this bug (if you can’t turn on Livepatch, it’s not “available”), but it will affect the implementation.