Snap-store can't update itself (update pending).

Asked by Ricardo

in each update of Snap-Store, ubuntu prompts 'Snap Store update pending'.
Probably it's happing because it can't update itself while runing.
In many forums I see recomendations of runing a prompt and then:
~/ sudo snap-store quit

and then:

~/ sudo apt update.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I assume that you need the command

sudo snap refresh

Remark:
The snap system is configured to periodically run updates for all snap packages (and snap-store is one of them). A snap package cannot be updated, when it is in use, hence the warning message. If you close the snap-store and wait some time, then the update should be executed in the background. Or you close it and run the command given above.

Can you help with this problem?

Provide an answer of your own, or ask Ricardo for more information if necessary.

To post a message you must log in.