Comments on: How to Disable Package Updates in Ubuntu, Debian and Mint https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 14 Oct 2024 07:44:47 +0000 hourly 1 By: Ulli https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/comment-page-1/#comment-1989940 Wed, 29 Mar 2023 17:24:14 +0000 http://www.tecmint.com/?p=18217#comment-1989940 These tips do not work for me at all.

apt-mark hold has no effect at all. I can install the package afterward without any problems.

Using a preferences file makes it impossible to install any software via aptitude but not only the package intended. So I have to search at some other place for valuable tips to block apt package installations

]]>
By: dragonmouth https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/comment-page-1/#comment-1566575 Thu, 12 Aug 2021 21:20:07 +0000 http://www.tecmint.com/?p=18217#comment-1566575 “Blocking Package Updates” and “Blacklisting Package Updates” sections of the articles are confusing as written.

I am using MX Linux. There are no “/etc/apt/preferences” or “/etc/apt/preferences.d/official-package-repositories.pref” files on my system. Do I have to create one of them?

“Another way to blacklist a package from installation is to update its entry in one of the files contained in /etc/apt/apt.conf.d/ directory which is 01autoremove.”

Why not just give the full path of the file as “/etc/apt/apt.conf.d/01autoremove“? The way the sentence is written it is confusing.

]]>
By: Jack https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/comment-page-1/#comment-996529 Fri, 25 May 2018 08:05:55 +0000 http://www.tecmint.com/?p=18217#comment-996529 Can You add EXAMPLE of “How to block multiple packages from update”, I mean, can I add them like this:

# apt-mark hold libsmbclient smbclient samba-common samba-common-bin

Is this ok?
And in “autoremove file“? Is this fine?

Never-MarkAuto-Sections
{
"metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
"oldlibs";
"restricted/oldlibs";
"universe/oldlibs";
"multiverse/oldlibs";
"smbclient";"libsmbclient";"samba-common";"samba-common-bin";
};
};

Or it should be one package-in-one-line (?):

Never-MarkAuto-Sections
{
"multiverse/oldlibs";
"smbclient";
"libsmbclient";
"samba-common";
"samba-common-bin";
};
};

THANK YOU

]]>
By: john https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/comment-page-1/#comment-944429 Mon, 04 Dec 2017 15:05:20 +0000 http://www.tecmint.com/?p=18217#comment-944429 “Pin-Priority: 1” <- That's not less than zero.

]]>
By: Gah-Muti https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/comment-page-1/#comment-899921 Sat, 15 Jul 2017 22:26:51 +0000 http://www.tecmint.com/?p=18217#comment-899921 Very nice tip. Thanks very much. I had this issue with Texlive on ubuntu 16.04. Each time I selected “sudo apt-get upgrade”, Texlive will also upgrade, which is huge and wastes my data volume.

]]>