You are not logged in.

#1 2012-04-19 18:15:14

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

[SOLVED]How to install packages with the -U option? PGP error.

I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
I downloaded the packages i need from here http://schlunix.org/archlinux/.
These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
Thanks.

Last edited by Hyugga (2012-04-19 19:46:23)

Offline

#2 2012-04-19 19:10:13

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]How to install packages with the -U option? PGP error.

If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.

A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).

EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.

Last edited by Gcool (2012-04-19 19:23:05)


Burninate!

Offline

#3 2012-04-19 19:23:32

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: [SOLVED]How to install packages with the -U option? PGP error.

Ok, thanks. I can disable the keysigning, but it's safe? How can i have my own pgp key? is it PGP or GPG?

Last edited by Hyugga (2012-04-19 19:33:51)

Offline

#4 2012-04-19 19:36:18

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]How to install packages with the -U option? PGP error.

Actually, I just took a second look (it's getting late here, so I'm a bit slow) and the packages are actually all signed. If you simple download the .sig file along with the package; you shouldn't have to disable anything.


Burninate!

Offline

#5 2012-04-19 19:46:06

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: [SOLVED]How to install packages with the -U option? PGP error.

It worked! Thanks a lot Gcool!
Marking as solved.

Offline

#6 2012-04-20 14:34:10

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [SOLVED]How to install packages with the -U option? PGP error.

When you run

pacman -U http://url/to/package.tar.xz

it should also download the .sig file if there is one available.

Offline

Board footer

Powered by FluxBB