How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?
For several days now, I've been getting a notification telling me that there's a pending update to the "snap-store", and to close the app to avoid disruption.
I first got this notification while using Ubuntu 20.04. A few days after getting that notification for the first time, I upgraded to Ubuntu 22.04 and ran the Software Updater several times to make sure that everything was up-to-date.
And yet, even with everything updated and running a different version of the operating system, I'm still getting this "pending-update" notification.
What does this notification mean, and how should I deal with it?
1 answer
If snap-store itself is preventing the update, it's straightforward:
snap-store --quit
sudo snap refresh snap-store
But sometimes it might be something else, in which case the above solution won't work. In which case the general solution is
to first run snap refresh snap-store
. It will complain with something like
cannot refresh "snap-store": snap "snap-store" has running apps
(ubuntu-software), pids: 4386
Then kill the offending process, in this case kill 4386
, and try the command again, this time it should succeed.
This Ubuntu Discourse post from Canonical should also be helpful.
If your problem doesn't fit in an already reported bug, do file a new one.
0 comment threads