Reputation: 122
I am using linux manjaro and i got this error while installing spotify.
Tried - sudo snap remove spotify but it's says that spotify is not istalled.
Upvotes: 5
Views: 10494
Reputation: 1
Same problem solved just by instructions.
supernode@localhost:~> sudo snap install haruna
error: snap "haruna" has "install-snap" change in progress
.
supernode@localhost:~> snap changes
ID Status Spawn Ready Summary
1 Done today at 12:20 IST today at 12:20 IST Initialize system state
2 Doing today at 12:21 IST - Install "haruna" snap
3 Done today at 12:21 IST today at 12:21 IST Initialize device
Now i have to stop installing process ID 2.
supernode@localhost:~> snap help
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.
Usage: snap <command> [<options>...]
Commonly used commands can be classified as follows:
Basics: find, info, install, remove, list
...more: refresh, revert, switch, disable, enable, create-cohort
History: changes, tasks, abort, watch
Daemons: services, start, stop, restart, logs
Permissions: connections, interface, connect, disconnect
Configuration: get, set, unset, wait
App Aliases: alias, aliases, unalias, prefer
Account: login, logout, whoami
Snapshots: saved, save, check-snapshot, restore, forget
Device: model, remodel, reboot, recovery
Quota Groups: set-quota, remove-quota, quotas, quota
Validation Sets: validate
... Other: warnings, okay, known, ack, version
Development: validate
For more information about a command, run 'snap help <command>'.
For a short summary of all commands, run 'snap help --all'.
.
supernode@localhost:~> snap abort 2
.
supernode@localhost:~> snap changes
ID Status Spawn Ready Summary
1 Done today at 12:20 IST today at 12:20 IST Initialize system state
2 Undo today at 12:21 IST - Install "haruna" snap
3 Done today at 12:21 IST today at 12:21 IST Initialize device
.
supernode@localhost:~> sudo snap install haruna
2024-08-26T12:41:48+05:30 INFO Waiting for automatic snapd restart...
Upvotes: 0
Reputation: 2107
Run snap changes
in console to watch if task is still Doing
. In my case I see this:
ID Status Spawn Ready Summary
1 Done 2020-12-22 2020-12-22 Initialize system state
2 Error today at 00:50 CET today at 01:01 CET Install "intellij-idea-community" snap
3 Done today at 00:50 CET today at 00:50 CET Initialize device
4 Doing today at 09:43 CET - Install "intellij-idea-community" snap
If I use snap watch 4
I can see the progress of the task in real time.
So the task I cancelled manually because it was late has been resumed automatically, I only have to wait.
Upvotes: 8
Reputation: 496
Wait for a few minutes. Then run sudo snap remove spotify
to remove spotify snap from your machine. Then again you can run sudo snap install spotify
to install the spotify snap in your machine. Thanks.
Upvotes: 1