Re: regex in apt preferences
- Date: Tue, 8 May 2018 01:13:05 +0300
- From: Abdullah Ramazanoğlu <ar018@xxxxxxxxx>
- Subject: Re: regex in apt preferences
On Mon, 7 May 2018 08:26:35 +0000 (UTC) David Griffith said:
> Package: *systemd*
> Pin: release *
> Pin-Priority: -1
> This will prevent anything requiring systemd from being accidentally
> installed. This also prevents libsystemd0 from being updated.
Pin: release *
Pin: release a=testing
Second entry overrides the first one, so all *systemd* packages except
libsystemd0 are given -1 priority.
Note: Instead of "a=testing" or "a=stable" stick to the exact release name you
are using in sources.list (it will be important when buster becomes the next