- This topic has 1 reply, 2 voices, and was last updated Jan 27-3:03 pm by dolphin_oracle.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Tips and Tricks › apt-mark (apt-mark hold) is not bulletproof
as asqwerth reminded us today…
forum.mxlinux.org/viewtopic.php?t=68592
Post by asqwerth » Wed Jan 26, 2022Just be aware that the apt-mark command will stop updates done via terminal commands.
You should also continue to pin/lock the package in Synaptic in case you do your updates via Synaptic.
From what I gather, Synaptic does not check apt-mark held packages, only its own pinned stuff.
pinning (via /etc/apt/preferences.d/)
vs
sudo apt-mark hold
vs
sudo aptitude hold <package-name>
vs
Lock Version (synaptic)
vs
echo "<package-name> hold" | sudo dpkg --set-selections
^—v
related reading
itectec.com/ubuntu/ubuntu-more-reliable-apt-mark-or-apt-pin-etc-apt-preferences-d-pin-for-version-locking/
and
askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package
I’m not sure the synaptic information is accurate. I can apt-mark hold a package and synaptic will not mark it for upgrade, and marks the package with a little exclamation point in the gui.
apt/dpkg doesn’t check synaptic locks, but synaptic still uses libapt, so apt-mark holds work universally.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |