Title: How to update Ubuntu Snap Store
Slug: how-to-update-ubuntu-snap-store
Date: 2022-11-30 07:50:00
Author: Kartones
Lang: en
Tags: Systems-IT, Operating Systems, Troubleshooting
og_image: https://images.kartones.net/posts/screenshots/cant_update_ubuntu_snap_store.jpg
Description: How to solve an error encountered when trying to update the Ubuntu Snap Store, and provides a solution by using terminal commands to refresh the store.


![Screenshot: Ubuntu snap store cannot update itself](https://images.kartones.net/posts/screenshots/cant_update_ubuntu_snap_store.jpg)

*Who updates the updater?*

Ubuntu added not long ago yet another package manager, complete with GUI and an associated store. It should work as the "classic" one, but today I faced for the second time the following error: `Unable to install updates: something-something: cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)"`.

Which we can discern that means "I want to update the store app, but I can't because I'm running it for fetching and applying the updates". How to solve this? The solution is feels simple once you know you can do it and, as most of the times with Linux, requires opening a terminal:

```
sudo killall snap-store; sudo snap refresh snap-store
```

Maybe for Ubuntu 24 they will schedule replacing the store package upon next reboot, same as other core OS updates?