disable updates for a particular app [solved]  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

disable updates for a particular app [solved]

#1 Post by neverdimed »

i find that librewolf is frequently updating, and after installation of updates it demands an immediate restart which is very annoying

how can i suspend updates for this app? I checked the package manager and synaptic but couldn't see how to do it there

thanks
Last edited by neverdimed on Sun Feb 19, 2023 5:59 am, edited 1 time in total.

User avatar
Eadwine Rose
Administrator
Posts: 15207
Joined: Wed Jul 12, 2006 2:10 am

Re: disable updates for a particular app  [Solved]

#2 Post by Eadwine Rose »

In Synaptic, select the package, then in the menu: package - lock version.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

Re: disable updates for a particular app

#3 Post by neverdimed »

excellent, thanks!

Huckleberry Finn

Re: disable updates for a particular app [solved]

#4 Post by Huckleberry Finn »

... But ... the MX Updater (using apt in the background) (and apt, apt-get, aptitude in terminal) won't care that. Therefore it's best to use the command: apt-mark hold.

i.e.

sudo apt-mark hold firefox

sudo apt-mark hold clementine geany featherpad

sudo apt-mark unhold clementine featherpad

User avatar
fehlix
Developer
Posts: 12883
Joined: Wed Apr 11, 2018 5:09 pm

Re: disable updates for a particular app [solved]

#5 Post by fehlix »

Huckleberry Finn wrote: Sun Feb 19, 2023 7:00 am ... But ... the MX Updater (using apt in the background) (and apt, apt-get, aptitude in terminal) won't care that.
IMHO, mx-updater will honor synaptic pinned packages.

User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

Re: disable updates for a particular app [solved]

#6 Post by Duliwi »

That would be great. Is this behaviour new?

User avatar
fehlix
Developer
Posts: 12883
Joined: Wed Apr 11, 2018 5:09 pm

Re: disable updates for a particular app [solved]

#7 Post by fehlix »

Duliwi wrote: Sun Feb 19, 2023 7:19 am That would be great. Is this behaviour new?
It's enabled by some time now, IIRC, at least since MX21.

Huckleberry Finn

Re: disable updates for a particular app [solved]

#8 Post by Huckleberry Finn »

It's good then. Though this is for MX17 (max) it needs to be updated:
https://mxlinux.org/wiki/help-files/help-synaptic/ wrote:
Note that pinning via Synaptic does not prevent the package from being upgraded when using the command line.

User avatar
Eadwine Rose
Administrator
Posts: 15207
Joined: Wed Jul 12, 2006 2:10 am

Re: disable updates for a particular app [solved]

#9 Post by Eadwine Rose »

Hm.. it should obey what I select in Synaptic. I am not "worthy" of the command line, and this way is what I learned how to do this loads of years ago. So.. I do hope it indeed does obey. :)
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Huckleberry Finn

Re: disable updates for a particular app [solved]

#10 Post by Huckleberry Finn »

Normally it needed to be done with a workaround by the user (there was such a post by Fehlix). It seems they made such a change ootb (which's a good idea). Otherwise, even aptitude won't care what was hold with apt-mark hold ..

Post Reply

Return to “MX Help”