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

Re: apt_preferences: can one invert the Package: match?



On Mon, 2021-06-28 at 14:53 +0200, Julian Andres Klode wrote:
> Eventually you'll be able to use
> 
>     Package: ?not?or(?exact-name(intel-microcode),?exact-name(unrar))
> 
> aka
>     Package: !(?exact-name(intel-microcode) | ?exact-name(unrar))
> 
> to do this.
> 
> Technical reasons prevented patterns from being compiled during the
> parsing of preferences files, that needs some work to identify the
> safe subsets that can be allowed in there.
> 
> Creating more ad-hoc syntax that even overlaps seems like a bad
> choice right now, we should focus on getting patterns to work.

Ah great... wasn't aware that this is planned,... that would be even
better of course :-D

Thanks,
Chris.


Reply to: