17

When I try to install an application I can not and it tells me:

Cannot install "spotify": snap "spotify" has "install-snap" change in progress.

K7AAY
  • 17,705

3 Answers3

29

The snap installed is trying to install your package (Spotify), but for some reason has failed. Please find the Change ID for the failed install with the command

snap changes

In the list which follows, you will find one line which leads off with a number, and ends with Install "spotify" snap.

Halt the failed install with the number found (let's pretend it is 123)

(please replace 123 with the number you find).

sudo snap abort 123

If the command executes successfully, then you will then be able to retry installation. Should reinstallation fail, please reboot your system and retry.

If other Snap packages are also hung up, use the

sudo snap abort nnn 

command (where nnn is the number from the list generated by snap changes) to clear them as well.

K7AAY
  • 17,705
1

This is a problem with snap. Whenever the application installation from snap is interrupted, the service goes down. Execute the command sudo systemctl restart snapd.service and then try to install the software using snap install <application_name>

0

After aborting, install the snap from terminal.
sudo snap install <snap_name>
Replace with "spotify" to install spotify.
You can find snap name by running a search:
snap search "query"
Installing from terminal doesn't cause problems like software-center.

sziraqui
  • 645
  • 3
  • 9
  • 17