After install/cancel/install a snap package is not considered as installed

Bug #1722168 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

With gnome-software 3.26.1-0ubuntu1~ppa1

This is a consequence of bug 1721762

Test Case
1. Install a snap package
2. While it is downloading cancel the installation (it is still running due to bug 1721762)
3. Click on 'Install' again and verify that there is a message saying there is an ongoing installation
4. Wait until installation of the snap package is done (snap changes)

Expected result
When the installation finishes the status of the snap package should be 'installed' and the actions 'Launch' and 'Remove'

Actual result
When the installation is finished, the status of the package is uninstalled, the action is 'Install' and pressing 'Install' fails with a message telling the package is already installed.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-software 3.26.0-0ubuntu3
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 9 09:18:49 2017
InstallationDate: Installed on 2013-09-03 (1496 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.26.0-0ubuntu3
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

That's still an issue on 17.10

Changed in gnome-software (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
tags: added: gnome-software-snap
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.