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.
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.
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
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).
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
command (where nnn is the number from the list generated by
snap changes
) to clear them as well.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 usingsnap install <application_name>
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.