You are not logged in.

#1 2012-05-04 20:14:37

MagickFox
Member
Registered: 2012-05-04
Posts: 5

[SOLVED] Problems installing custom signed packages.

Hi All,

I'm trying to install a package I built from the AUR using my own GPG signed key.

So far I've

- Generated my own key using gpg.
- Put the key id in /etc/makepkg.conf
- Added the key to pacman-key with pacman-key -a .gnupg/pubring.gpg
- Locally signed the key with pacman-key --lsign-key

and finally

-ran makepkg -s and generated a pkg.tar.xz and accompanying .sig file

As far as I can tell I've done everything I need to however when I run pacman -U package I get:

error: '<package>.sig': invalid or corrupted package (PGP signature)

I think I could bypass my problem by setting siglevel to never but I'm interested in doing it this way so thought I'd ask if anyone can spot where I'm going wrong.

Thanks smile

Last edited by MagickFox (2012-05-04 20:35:10)

Offline

#2 2012-05-04 20:34:38

MagickFox
Member
Registered: 2012-05-04
Posts: 5

Re: [SOLVED] Problems installing custom signed packages.

Hey,

I solved my problem. I had to run: pacman-key --init as root. Simple mistake, but I'm new and its been a lonnngg arch filled day.

Hope this post helps someone though.

Offline

Board footer

Powered by FluxBB