- Check Snap update schedule
As I mentioned earlier, the snapd daemon checks for updates on installed Snap packages multiple times a day. By default, it checks for updates four times a day.
snap refresh --time
In here, timer: 00:00~24:00/4 tells you that the refresh check takes place 4 times in the span of 24 hours.
It also shows that the last Snap update check took place at 09:19 and the next one is scheduled at 15:33.
- See which Snap applications can be updated You can check which Snap packages have updates available with the following command:
snap refresh --list
- Update all Snap packages manually If you don't want to wait till the next Snap refresh, you can surely manually update all the Snap packages that can be updated.
All you have to do is to run this command:
sudo snap refresh
- Update specific Snap packages If you only want to update a specific Snap package, use:
sudo snap refresh package_name
Check changes made by Snap updates Since Snap updates mostly work in the background, you may wonder what changes were made
snap changes
- Revert the updated Snap application By default, Snap saves one older version of the Snap packages. If you do not like the newly updated version, you can go back to the previous one with the revert option.
sudo snap revert package_name
- Prevent a package from updates If you would like to stay on the current version for a particular package, you can hold it to prevent it from automatic updates.
sudo snap refresh --hold package_name You can stop the automatic update for all snap packages:
sudo snap refresh --hold When you are ready to accept updates on the package, you can unhold it.
sudo snap refresh --unhold package_name