You are not logged in.

#1 2017-01-15 04:31:24

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

[SOLVED] pacman does not download .sig file, complains

I run my own repository. Among others, it contains the following two files:

libpng-1.6.28-1-x86_64.pkg.tar.xz
libpng-1.6.28-1-x86_64.pkg.tar.xz.sig

On my client, I attempt to install but it fails:

sudo pacman -S libpng
resolving dependencies...
looking for conflicting packages...

Packages (1) libpng-1.6.28-1

Total Installed Size:  0.54 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                               [######################################################] 100%
(1/1) checking package integrity                                                             [######################################################] 100%
error: libpng: missing required signature
error: failed to commit transaction (package missing required signature)
Errors occurred, no packages were upgraded.

In my web server log, I see a request for the tar file, but not for the .sig file:

1.2.3.4 host - [15/Jan/2017:04:21:54 +0000] "GET /.../libpng-1.6.28-1-x86_64.pkg.tar.xz HTTP/1.1" 200 220136

pacman.conf has:

SigLevel           = Required TrustedOnly
LocalFileSigLevel  = Optional
RemoteFileSigLevel = Required TrustedOnly

What might be going on here? Is there some cache other than /var/cache/pacman, which I have emptied?

Last edited by jernst (2017-01-15 04:43:05)

Offline

#2 2017-01-15 04:41:05

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] pacman does not download .sig file, complains

When you add the package to the Pacman repository database with repo-add, it stores the signature in the database entry. Pacman will not download signature files for each package which is why you are not seeing requests for package signatures (it will of course download database signatures).

How are you creating your repo database?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2017-01-15 04:42:43

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

Re: [SOLVED] pacman does not download .sig file, complains

Ahhh ... thank you!

Offline

Board footer

Powered by FluxBB