Bug 397640

Summary: Installing a snap package never ends
Product: [Applications] Discover Reporter: Nicola Jelmorini <jelmorini>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, s_chriscollins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.14

Description Nicola Jelmorini 2018-08-19 19:49:23 UTC
When you install a snap, the installation itself is ok, but the status of the installation stays to "Installing" forever.
If I check out the snaps installed on my system in a terminal with the command "snap list", I can see that the snap is actually installed.
If I try to exit Discover, a message says that it's impossible because an installation is running. So, I terminate Discover within KsysGuard, and when I open Discover again, the snap package is listed as "installed" as expected.
Comment 1 Nate Graham 2018-08-21 21:20:37 UTC
I think I've experienced this too. What distro and what version of Discover are you using?
Comment 2 Nicola Jelmorini 2018-08-22 14:56:31 UTC
I'm using:
- The distro KDE neon 5.13
- Discover version 5.13.4-0xneon+16.04+xenial+build119

I have found out that also the uninstall process of a snap never ends, just like an installation.
Comment 3 Christoph Feck 2018-09-13 14:57:30 UTC
Thanks for the update; changing status for inspection.
Comment 4 S. Christian Collins 2018-09-14 15:35:41 UTC
This issue also happens in 18.04 (Bionic) based neon. I can repro this with a fresh install in VirtualBox.
Comment 5 S. Christian Collins 2018-09-14 15:39:27 UTC
Oh, and the snap I was trying to install is MuseScore (just in case this bug doesn't happen with all snap packages).
Comment 6 S. Christian Collins 2018-09-14 19:23:53 UTC
Just confirmed that this bug happens in recent git as well, tested using the Bionic preview version of KDE neon Developer Edition Git-Unstable (plasma 5.14.80, frameworks 5.51.0, Qt 5.11.1, kernel 4.15.0-34-generic).
Comment 7 Patrick Silva 2018-09-17 03:13:28 UTC
I tried to install screencloud on neon dev unstable and can confirm the problem.
Snap package was installed but discover froze before to complete the progress bar and used an entire cpu core until I killed its process.