You are not logged in.

#1 2024-01-20 04:43:42

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Signature files not downloaded when using XferCommand in pacman.conf

I'm following the example in section 3.1.2 from https://wiki.archlinux.org/title/Pacman/Tips_and_tricks on how to use wget as downloader for pacman packages and database files.

If I do this, pacman downloads the database files fine, but does not download database signature files (no signature files end up in /var/lib/pacman/sync).

When I set signatures to be required, pacman then fails to install anything as it cannot validate the signatures.

When I use the built-in default, it does download those signatures.

Is the XferCommand supposed to download both main file and associated signature and the wiki is wrong? But I don't think so, because it's easy enough to download %u and %u.sig, but %o.sig conflicts with the expected name for the signature (.part extension)

Or is this a regression?

Offline

#2 2024-01-20 05:07:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,592

Re: Signature files not downloaded when using XferCommand in pacman.conf

What database signatures? Arch doesn't sign the databases.

Offline

#3 2024-01-20 05:12:30

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: Signature files not downloaded when using XferCommand in pacman.conf

These are my custom repos, and I do sign the databases -- presumably pacman is supposed to support that because otherwise why would it download the signature files in default mode, and have the keywords in the config file?

Offline

#4 2024-01-20 06:48:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Signature files not downloaded when using XferCommand in pacman.conf

XferCommand has been broken for years...

Offline

#5 2024-01-20 16:34:33

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: Signature files not downloaded when using XferCommand in pacman.conf

There's even a patch! https://gitlab.archlinux.org/pacman/pac … equests/79

Sadly not merged yet.

Offline

Board footer

Powered by FluxBB