Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195472
| From | David Griffith <dave@661.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: regex in apt preferences |
| Date | 2018-05-08 02:40 +0200 |
| Message-ID | <vMYPE-bm-5@gated-at.bofh.it> (permalink) |
| References | <vMJGW-7gh-5@gated-at.bofh.it> <vMWEa-7jI-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Tue, 8 May 2018, Abdullah Ramazanoğlu wrote: > 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. > > Package: *systemd* > Pin: release * > Pin-Priority: -1 > > Package: libsystemd0 > Pin: release a=testing > Pin-Priority: 500 > > Second entry overrides the first one, so all *systemd* packages except > libsystemd0 are given -1 priority. 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 matching *systemd* was blocked, with no allowance for libsystemd0. When I followed your suggestion, I got this: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. I have no clue what package is "not upgraded". Reversing the order of the pins did nothing. -- David Griffith dave@661.org A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
regex in apt preferences David Griffith <dave@661.org> - 2018-05-07 10:30 +0200
Re: regex in apt preferences Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-08 00:20 +0200
Re: regex in apt preferences Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-08 00:20 +0200
Re: regex in apt preferences David Griffith <dave@661.org> - 2018-05-08 02:40 +0200
Re: regex in apt preferences Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-08 03:30 +0200
csiph-web