[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Jimmy Johnson composed on 2017-08-31 22:03 (UTC-0700):

> Felix Miata wrote:

>> Over an hour I've been searching in vain, apparently using broken Google-fu, for
>> something using examples to explain how to prevent unwanted package(s) from
>> being installed via pinning when apt-mark's hold is being disregarded. Anyone
>> familiar with an URL that would do this?

>> In openSUSE, it's a simple process:

>> 	zypper al unwantedpackagename[version]

>> That's all there is to it, other than it also works with wildcards.

> #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).
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


Reply to: