I am running Ubuntu-Mate 22.04.
I am trying to prevent Firefox from ever updating.
This did not work.
andy@7:~/Temp$ sudo apt-mark hold firefox
firefox was already set on hold.
Or this.
On Ubuntu-Mate 22.04 Firefox comes as a Snap, so apt-mark hold won’t stop updates — you need to remove the Snap version (sudo snap remove firefox) and install the Debian package from Mozilla’s PPA if you want to control updates.
Alternatively, disable snap refresh timers (snap set system refresh.hold=$(date -d "2099-01-01" +%Y-%m-%dT%H:%M:%S%:z)) to block Snap from updating it.
andy@7:~$ snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core20 20250526 2599 latest/stable canonical✓ base
core22 20250822 2133 latest/stable canonical✓ base
gnome-3-38-2004 0+git.efb213a 143 latest/stable/… canonical✓ -
gnome-42-2204 0+git.38ea591 202 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
snapd 2.71 25202 latest/stable canonical✓ snapd
snapd-desktop-integration 0.9 315 latest/stable/… canonical✓ -
software-boutique 0+git.0fdcecc 57 latest/stable/… flexiondotorg classic
ubuntu-mate-welcome 22.04.0-d3d4bb1a 726 latest/stable/… flexiondotorg classic
andy@7:~$ snap set system refresh.hold=$(date -d "2099-01-01" +%Y-%m-%dT%H:%M:%S%:z))
bash: syntax error near unexpected token `)'
andy@7:~$ snap set system refresh.hold=$(date -d "2099-01-01" +%Y-%m-%dT%H:%M:%S%:z)

