pdns icon indicating copy to clipboard operation
pdns copied to clipboard

Apt 'pins' (preferences.d) on repo.powerdns.com incorrect

Open sndrsmnk opened this issue 1 year ago • 4 comments

On https://repo.powerdns.com/ the apt pinning instructions use incorrect package names for pdns-server and pdns-recursor:

Package: auth*
Package: rec*

This means the pinning is not applied. Not a real problem, since Ubuntu ships way older stuff anyways, but it could be so i thought i'd report it.

Also, while not incorrect install -d to create '/etc/apt/keyrings' is kinda weird compared to mkdir. I had to read it twice, but sure, install -d also works. ;)

sndrsmnk avatar Sep 06 '23 14:09 sndrsmnk

From IRC, thanks jssfr, re install:

If the directory in question already exists: install -d will not try to set the ownership and file mode bits. mkdir -p will try to set the ownership and file mode bits.

Even more reason to use mkdir i'd say. ;)

sndrsmnk avatar Sep 06 '23 14:09 sndrsmnk

It used to say to pin "pdns-*".

mnordhoff avatar Sep 06 '23 17:09 mnordhoff

I thought so, but it was hard to figure out from my git history, as the file is templated. Thanks :)

Habbie avatar Sep 06 '23 17:09 Habbie

While I'm there, I should fix the includepkg/includepkgs mess in dnf/yum repo files.

Habbie avatar Mar 26 '24 14:03 Habbie