Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?

+6
−0

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.

Screenshot of a "Pending update to "snap-store" notification on Ubuntu 22.04

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?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+5
−0

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »