You are not logged in.

#1 2013-02-02 11:58:10

xexio
Member
Registered: 2011-03-29
Posts: 14

Problem with AUR and the package signature [solved]

When I try to install any package, I get the same error.

loading packages...
error: '/tmp/yaourt-tmp-root/PKGDEST.ox5/open-cobol-1.1-1-x86_64.pkg.tar.xz': invalid or corrupted package (PGP signature)

What is the problem?

Last edited by xexio (2013-02-04 20:27:42)

Offline

#2 2013-02-02 15:15:15

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Problem with AUR and the package signature [solved]

~/aur/open-cobol$ makepkg -sri

Took about 20 sec with 0 issues

Last edited by tdy (2013-02-02 15:16:25)

Offline

#3 2013-02-02 15:42:55

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Problem with AUR and the package signature [solved]

It's just your self-built packages, not the ones from the repos right? I suspect you have your SigLevel set too strict in pacman.conf

Take a look at the pacman-key wiki page and the SigLevel section of pacman.conf man page.

If you're still confused post pacman.conf here and we can give more advice

Offline

#4 2013-02-02 15:52:10

xexio
Member
Registered: 2011-03-29
Posts: 14

Re: Problem with AUR and the package signature [solved]

# --------------------------------------------------------------------------------
# PGP signature checking
# --------------------------------------------------------------------------------

SigLevel = Required DatabaseOptional TrustedOnly

# ----------------------------------------------------------------------------------
# REPOSITORIES
# -----------------------------------------------------------------------------------

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[multilib]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server=http://repo.archlinux.fr/x86_64

This is my pacman.conf

Offline

#5 2013-02-02 17:04:48

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Problem with AUR and the package signature [solved]

xexio wrote:
# --------------------------------------------------------------------------------
# PGP signature checking
# --------------------------------------------------------------------------------

SigLevel = Required DatabaseOptional TrustedOnly

This is telling it to always require package signatures, regardless of the source, so even your packages need to be signed. You can change it to

SigLevel = Optional TrustedOnly

and it will only check signatures if they exist.  Since you have PackageRequired for core it will still require a signature for packages you get from those repositories. You can also change to PackageRequired for the other repositories since they should all be signed now as well (you might have PackageOptional left over from earlier when signatures were just being added).

Offline

#6 2013-02-04 11:07:05

xexio
Member
Registered: 2011-03-29
Posts: 14

Re: Problem with AUR and the package signature [solved]

mcmillan wrote:
xexio wrote:
# --------------------------------------------------------------------------------
# PGP signature checking
# --------------------------------------------------------------------------------

SigLevel = Required DatabaseOptional TrustedOnly

This is telling it to always require package signatures, regardless of the source, so even your packages need to be signed. You can change it to

SigLevel = Optional TrustedOnly

and it will only check signatures if they exist.  Since you have PackageRequired for core it will still require a signature for packages you get from those repositories. You can also change to PackageRequired for the other repositories since they should all be signed now as well (you might have PackageOptional left over from earlier when signatures were just being added).

Thanks, problem solved big_smile

Offline

#7 2013-02-04 14:12:26

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Problem with AUR and the package signature [solved]

Glad to hear, in that case you can edit your first post to add "solved" to the title

Offline

Board footer

Powered by FluxBB