Web lists-archives.com

Re: want pinning with examples to prevent unwanted package(s) from being installed




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jun 19, 2018 at 04:23:12AM -0400, Felix Miata wrote:
> Jimmy Johnson composed on 2017-08-31 22:03 (UTC-0700):
> 
> > Felix Miata wrote:

[...]

> > #dpkg-hold 'package-name'
> > #dpkg-unhold 'package-name'
> 
> 	dpkg hold
> 	dpkg-hold
> 	dpkg -hold
> 	dpkg --hold
> 
> All produce command-not-found or unknown option messages (in Buster).


Perhaps dlocate is the package you're looking for:

  tomas@trotzki:~$ apt-file search dpkg-hold
  dlocate: /usr/sbin/dpkg-hold
  dlocate: /usr/share/man/man8/dpkg-hold.8.gz

Man page credits dpkg-hold with doing more or less what you described.

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlsoxJoACgkQBcgs9XrR2kYxWQCcC5DKBnZU56X0UDsTLE1RWw2P
IsEAnAkDyd070260cRJL1vK29m8l2UdS
=X60r
-----END PGP SIGNATURE-----