Re: regex in apt preferences

2018-05-07 Thread Abdullah Ramazanoğlu
On Tue, 8 May 2018 00:30:31 + (UTC) David Griffith said: > Through trial and error, I found that these worked in this order: > > Package: libsystemd0 > Pin: release * > Pin-Priority: 500 > > Package: *systemd* > Pin: release * > Pin-Priority: -1 > > In the order as you describe, EVERYTHING

Re: regex in apt preferences

2018-05-07 Thread David Griffith
On Tue, 8 May 2018, Abdullah Ramazanoğlu wrote: On Mon, 7 May 2018 08:26:35 + (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.

regex in apt preferences

2018-05-07 Thread David Griffith
In my saga of limiting the damage from remnents of systemd, I'm focusing in on libsystemd0. I want to allow only libsystemd0 to be upgradable and forbid the installation and/or upgrading of anything else matching *systemd*. Here's what I did so far: Following