i've started to use Ubuntu last month. I'm getting this error in the terminal while i'm trying to refresh snap-store
$ sudo snap refresh snap-store
error: cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)Any ideas how to solve this?
53 Answers
Working for me:
ps -e | grep snap-store #id blocking process
kill #id
sudo snap refresh 2 Snaps will be automatically updated according to thedocumentation.
snap packages that are open or running, cannot be refreshed.
You need to close the running snap package before you can update/refresh it
ie. close ubuntu-software as per your error message.