Turns out we cancel the request in snapd-glib, but don't actually send the cancel to snapd - this means that snapd never stops the install.
** Changed in: gnome-software (Ubuntu Artful) Status: Triaged => In Progress -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1721762 Title: Cancelled installation of snap continues Status in gnome-software package in Ubuntu: In Progress Status in gnome-software source package in Artful: In Progress Bug description: with core candidate: 16-2.28.1 Test Case 1. Install a snap package 2. When the installation is ongoing, press Cancel 3. Verify that installation stopped (snap changes then snap change ID) Expected result Installation is cancelled Actual result It continues in the background and gnome-software shows the wrong state 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: Fri Oct 6 13:38:01 2017 InstallationDate: Installed on 2014-07-23 (1170 days ago) InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2) 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: Upgraded to artful on 2017-06-13 (115 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1721762/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp