When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Ubuntu snap updates will soon be able to be held temporarily and indefinitely

The new Ubuntu logo

Canonical has announced that it’s now possible to pause or stop automatic updating of snap packages on Ubuntu if you're on the snapd edge channel. By default, these packages update on their own in the background to ensure you have the latest software, but if you need more control, you’ve now got it. Unfortunately, you’ll need to get your hands dirty in the terminal.

The new hold feature lets you pause all snap updates or updates for select packages. It also lets you set a time limit for the pause to take effect for, or you can leave the time absent and have the hold set permanently.

To hold snap updates for VLC for three days, for example, you’d enter the following command snap refresh --hold=72h vlc and then the output would read something like General refreshes of "vlc" held until 2022-11-17T12:04:59Z. To pause all snap updates, just enter snap refresh --hold=48h and to stop all updates permanently type snap refresh --hold.

This new functionality is great for system administrators who may need to test software before production machines are updated. Canonical suggests that tools like Puppet or Chef can be used with the hold feature to roll out snap updates in a staggered manner, ensuring stability.

You need to be in the snapd edge channel to use this feature right now but, hopefully, it won't take long to filter through to the stable channel.

Report a problem with article
RTX 4080 graphic
Next Article

Nvidia 526.98 WHQL driver has support for RTX 4080, Spider-Man Miles Morales, and more

The default Windows 11 wallpaper combined with its dark variant
Previous Article

Windows 11 may soon let you enable dark mode from Action Center

Join the conversation!

Login or Sign Up to read and post a comment.

2 Comments - Add comment