How to insure snap packages get updated, not just .deb packages via apt / Synaptic

Ubuntu Version

Ubuntu 26.04 LTS Flavors

Desktop Environment (if applicable)

XFCE

Problem Description

I use Synaptic to refresh / select all updates / apply…

But this process misses snaps. The Ubuntu project has twin-tailed the software sources / delivery model.

I must remember to run from a terminal:
$ sudo snap refresh

to catch all of the updates that come via the Snap delivery mechanism.

What is the method to get Ubuntu / Xubuntu / Ubuntu Server to apply ALL updates available, no matter if .deb / apt source or snap source?

On workstations, I would prefer to use Synaptic to receive all of the updates.

On servers, for now I apply updates via $sudo apt-get dist-upgrade

I am thankful,

Snaps do automatically refresh themselves unless there is a running process of a snap, then it will pop up a notification asking you to close the app (in which case it will immediately update after the closure)

Snapd does the check for new revisions 4x per day by default, if you want to change this you can set your own schedule (or simply turn it off and do the manual thing you described but then you indeed need to remember it):

1 Like

Greetings ogra,

I never observe snaps updating themselves! How odd to learn it should be automatically handled!

Always I must use the mentioned command syntax in a terminal, then learn “Oh, there are pending snap updates ready to be applied.”

Where can I validate / confirm the automatic update settings for Snaps?

I am thankful,

Check your journal:

journalctl |grep "snap has no updates available"

You should see a line printed every 4h unless you changed it with sudo snap refresh --hold

Thank you, orga,

Seems these events are happening on my main trustry Xubuntu desktop, which started back on 20.04.2 release. I could not get earlier releases of 20.04 to install on my system’s DASD. Specifically to boot from the DASD once installed. It would run from the LiveDVD just fine!

Anyway…

I found comparing the snap list from a clean 26.04 installation that my system was missing snap:

snapd-desktop-integration 0.9 391 latest/stable canonical✓ -

So have added it. Pehraps that is necessary to send update available notification between the Snap subsystem and my main Linux system?

I was also able to purge off older LTS release packages in the corexx and gnome-xx name list. What this reference system started with:

$ sudo snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core18 20260901 3084 latest/stable canonical✓ base
core20 20260901 2922 latest/stable canonical✓ base
core22 20260824 2955 latest/stable canonical✓ base
core24 20260824 2124 latest/stable canonical✓ base
firefox 158.0-2 9057 latest/stable mozilla✓ -
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 198 latest/stable canonical✓ -
gnome-3-38-2004 0+git.efb213a 143 latest/stable canonical✓ -
gnome-42-2204 0+git.4982e7b-sdk0+git.69b626a 263 latest/stable canonical✓ -
gnome-46-2404 0+git.b31ceab-sdk0+git.f80dd8b 168 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
losslesscut 3.69.0 143 latest/stable mifino -
mesa-2404 25.2.8-snap288 1839 latest/stable canonical✓ -
snap-store 0+git.d7d3fbe8 1447 2/stable canonical✓ -
snapd 2.77.1 28254 latest/stable canonical✓ snapd
spotify 1.2.95.453.g0eeebbed 99 latest/stable spotify✓ -

What it now has:

$ sudo snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core22 20260824 2955 latest/stable canonical✓ base
core24 20260824 2124 latest/stable canonical✓ base
firefox 158.0-2 9057 latest/stable mozilla✓ -
gnome-46-2404 0+git.b31ceab-sdk0+git.f80dd8b 168 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
losslesscut 3.69.0 143 latest/stable mifino -
mesa-2404 25.2.8-snap288 1839 latest/stable canonical✓ -
snap-store 0+git.d7d3fbe8 1447 2/stable canonical✓ -
snapd 2.77.1 28254 latest/stable canonical✓ snapd
snapd-desktop-integration 0.9 391 latest/stable canonical✓ -
spotify 1.2.95.453.g0eeebbed 99 latest/stable spotify✓ -

I will wait to see if update notifications begin coming. Likely that will indicate that snap-desktop-integraion was responsible.

I am thankful,

Note that snapd also has a command to show waiting updates (if you want to check between one of the 4x windows):

snap refresh --list

Will show available updates from the store …

1 Like

Still….

I seek a single place to receive all updates. On Desktop, Synaptic… and on server $sudo apt-get dist-upgrade.

I do not want to have to seek updates from two sources.

How to achieve that since Ubuntu incorporates many Snaps?

I am thankful,

On my Fedora device, I trigger distribution package and Flatpak updates together with an alias: alias updall=‘sudo dnf upgrade --refresh && flatpak update’

On Ubuntu, I’d imagine it’d be something like sudo apt update && sudo apt upgrade && sudo snap refresh?

Yes, this the best option. Every day when I have time I run the command

sudo snap refresh && sudo apt update && sudo apt full-upgrade –autoremove –purge

So I ensure my system stays always up-to-date and clean

1 Like

Synaptic is an old (but still highly useful) app that was only designed for DEB repositories. It is highly unlikely to ever support snap, flatpak, AppImage, etc.

The Ubuntu Store supports both the repositories and snap. I don’t know if it’s available on Xubuntu.

But, as Oliver says, the system by default keeps packages up to date. Unless you have disabled automatic updates, you never have to manually update the repositories or the snaps.

If you use other systems such as flatpak and AppImage, you’ll have to set that up yourself.

If you use “Software Updater” utility instead of Synaptic Package Manager or the terminal, snaps will be updated every time .deb packages are updated - at the end of updating, you will see an “updating snaps” message.

3 Likes

Update on this topic:

Last week I got zero update available notifications. Finally last night I started Synaptic, refreshed, select all updates, and there were many.

I also, afterwards, did

$ sudo snap refresh

and that applied an update to the Ubuntu Firefox.

I also run with some preference customizations to settings in “Software & Updates” \ Updates tab:

Subscribed to: All Updates

Automatically Check for Updates: Daily

When there are security updates: Display Immediately

When there are other updates: Display Immediately

Notify me of me of new Ubuntu versions: For long-term support versions

While Synaptic was applying updates, I did notice that it appeared to find one Cron job not running. Perhaps that was related to software updates, and accounts for zero notifications across the 6+ days of uptime?

I am thankful,