update-manager suggests to use Livepatch, which is not available

Bug #1807900 reported by Christian Biscombe on 2018-12-11
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
High
Unassigned
Bionic
High
Unassigned
Disco
High
Unassigned

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.

Related branches

Christian Biscombe (biscombe) wrote :
Christian Biscombe (biscombe) wrote :
affects: software-properties (Ubuntu) → update-manager (Ubuntu)
Changed in update-manager (Ubuntu):
importance: Undecided → Low
tags: added: rls-bb-incoming
Paul White (paulw2u) wrote :

Confirming on Xubuntu 18.04.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Matthew Paul Thomas (mpt) wrote :

Did you mean “if canonical-livepatch is not installed”? I don’t think this has anything to do with gnome-control-center, as long as software-properties-gtk is (unfortunately) separate from it.

Coincidentally I’ve been working on design for handling other cases where Livepatch isn’t available: inapplicable architecture, inapplicable Ubuntu version, etc. This should use the same mechanism.

Specification updated: “It should have secondary text if: • Livepatch is available but not turned on for this system…” <https://wiki.ubuntu.com/SoftwareUpdates?action=diff&rev2=226&rev1=225>

Christian Biscombe (biscombe) wrote :

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?

Matthew Paul Thomas (mpt) wrote :

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.

tags: added: rls-dd-incoming
Eric R. Meyers (ermeyers) wrote :

The gnome-control-center is not installed with xubuntu.

Changed in update-manager (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → High
Changed in update-manager (Ubuntu):
importance: Low → High
tags: removed: rls-bb-incoming
Sebastien Bacher (seb128) wrote :

Andrea, could you have a look to that issue?

Changed in update-manager (Ubuntu):
assignee: nobody → Andrea Azzarone (azzar1)
Changed in update-manager (Ubuntu Bionic):
assignee: nobody → Andrea Azzarone (azzar1)
tags: removed: rls-dd-incoming
Andrea Azzarone (azzar1) on 2019-04-05
Changed in update-manager (Ubuntu Disco):
status: Confirmed → In Progress
Changed in update-manager (Ubuntu Bionic):
assignee: Andrea Azzarone (azzar1) → nobody
Changed in update-manager (Ubuntu Disco):
assignee: Andrea Azzarone (azzar1) → nobody
Changed in update-manager (Ubuntu):
assignee: Andrea Azzarone (azzar1) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers