You are not logged in.

#1 2012-05-11 18:45:38

newcomer008
Member
Registered: 2012-02-04
Posts: 9

[solved] pacman-4 (migration to pgp) + yaourt = fail

Hey guys!

I've switched today to pacman-4 and I've followed the guide on the wiki. Updates with pacman ([testing,core,extra,community]) are going to work like a charm, but I am not able to install packages from AUR with yaourt. I get everytime the following error message: (e.g. gummi-svn)



'/tmp/yaourt-tmp-john/PKGDEST.GDc/gummi-svn-1238-1-x86_64.pkg.tar.xz': Invalid or corrupted package (PGP signature)

How can I fix this issue? The only workaround which I've found is to edit pacman.conf to SigLevel=Never - But this is annoying hmm

Cheers!

John

Last edited by newcomer008 (2012-05-14 13:14:45)

Offline

#2 2012-05-11 19:50:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman-4 (migration to pgp) + yaourt = fail

Can you post your pacman.conf?
If you set SigLevel for the repos only e.g.

[community]
SigLevel = PackageRequired

everything should be working fine.

Offline

#3 2012-05-11 20:15:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] pacman-4 (migration to pgp) + yaourt = fail

Or, you could sign your own key...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-05-12 10:41:54

newcomer008
Member
Registered: 2012-02-04
Posts: 9

Re: [solved] pacman-4 (migration to pgp) + yaourt = fail

karol wrote:

Can you post your pacman.conf?
If you set SigLevel for the repos only e.g.

[community]
SigLevel = PackageRequired

everything should be working fine.

Hi karol,

Sure - here you are smile :

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

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

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

[community-testing]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

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

jasonwryan wrote:

Or, you could sign your own key...

Hi Jason,

thanks for the link - I'll give that a try and will be back soon! smile I hope that this is working!

Offline

#5 2012-05-12 18:24:33

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] pacman-4 (migration to pgp) + yaourt = fail

Since you've set SigLevel for each repo, you can set the default SigLevel = Optional TrustedOnly. That should cover packages installed by -U which is how AUR packages are installed. See man pacman.conf for the exciting details.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2012-05-14 13:14:24

newcomer008
Member
Registered: 2012-02-04
Posts: 9

Re: [solved] pacman-4 (migration to pgp) + yaourt = fail

jasonwryan wrote:

Or, you could sign your own key...

Thanks, this blogpost was the solution for my problem. Now I am able to compile any .PKGBUILD and sign it with my own key! That's awesome! smile

@fsckd - I'll keep your solution as 'workaround' smile Thank you!

Offline

Board footer

Powered by FluxBB