Installing snap from command line confuses GNOME Software

Bug #1754655 reported by Robert Ancell on 2018-03-09
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Status tracked in Bionic
Xenial
Medium
Robert Ancell
Artful
Medium
Unassigned
Bionic
Medium
Robert Ancell

Bug Description

[Impact]
Installing snaps from the command line (or any other client) causes the state in GNOME Software to wrongly represented.

[Test Case]
1. Ensure you don't have moon-buggy installed
$ sudo snap remove moon-buggy
2. Start GNOME Software
3. Install moon-buggy from the command line:
$ sudo snap install moon-buggy
4. Search for "moon" in GNOME Software

Expected result:
Moon Buggy shows in search results as installed

Observed result:
Moon Buggy not returned in search results.

[Regression Potential]
Low, we fix a bug where were reading invalid metadata and a check that makes stops unexpected (but valid) state notification from the snap plugin.

Changed in gnome-software (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in gnome-software (Ubuntu Artful):
status: New → Triaged
Changed in gnome-software (Ubuntu Xenial):
status: New → Triaged
Changed in gnome-software (Ubuntu Artful):
importance: Undecided → Medium
Changed in gnome-software (Ubuntu Xenial):
importance: Undecided → Medium
Changed in gnome-software (Ubuntu Bionic):
status: Triaged → Fix Committed
Changed in gnome-software (Ubuntu Xenial):
status: Triaged → Fix Committed
Changed in gnome-software (Ubuntu Bionic):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Xenial):
assignee: nobody → Robert Ancell (robert-ancell)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.27.92-0ubuntu2

---------------
gnome-software (3.27.92-0ubuntu2) bionic; urgency=medium

  * debian/patches/0001-snap-Fix-invalid-metadata-after-cancelled-refine.patch:
  * debian/patches/0015-Don-t-reject-unexpected-state-changes-external-event.patch:
    - Fix snaps not being shown correctly after install from command line
      (LP: #1754655)

 -- Robert Ancell <email address hidden> Fri, 09 Mar 2018 13:40:18 +0100

Changed in gnome-software (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in gnome-software (Ubuntu Artful):
status: Triaged → Won't Fix

Hello Robert, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.5-0ubuntu0.16.04.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed verification-needed-xenial
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers