Re: How do I blacklist a package?
Hi,
On Mon, 12 Oct 2020 18:29:14 -0400
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > In /etc/apt/preferences.d/, create no-sse2-support:
> >
> > # never install this package, ever
> > Package: sse2-support
> > Pin: release *
> > Pin-Priority: -1
>
> Thanks, it seems to be working.
>
> It's a bit annoying that the resulting constraints aren't easily visible
> (e.g. APT just keep searching or tells you "no solution" but doesn't
> tell you that FOO can't be installed because it depends on BAR which
> depends on BAZ which depends on `sse2-support`), but it's better
> than nothing.
I am not 100% sure, but I think calling
apt-mark hold sse2-support
while the package is not installed should prevent the package from being
installed, too, and I think this might be better regarding "visibility".
Regards
Michael
.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.
Totally illogical, there was no chance.
-- Spock, "The Galileo Seven", stardate 2822.3
Reply to: