[arch-general] pacman-key issue
Good evening, I'm having trouble with my pacman-keyring which in the end prevents me from installing signed packages. Here's the output: pacman-key --populate archlinux ==> Appending keys from archlinux.gpg... ==> Locally signing trusted keys in keyring... -> Locally signing key FOO ==> ERROR: FOO could not be locally signed. Any hints? Thanks Frank
Are you root ?
At a last resort, you can remove /etc/pacman.d/gnupg, then run `pacman-key --init` and `pacman-key --populate archlinux`.
Am Di, 9. Sep, 2014 um 10:37 schrieb Yamakaky <yamakaky@yamaworld.fr>:
At a last resort, you can remove /etc/pacman.d/gnupg, then run `pacman-key --init` and `pacman-key --populate archlinux`.
Did that, how long is pacman-key --init supposed to run? After approx 30min with no changes in /etc/pacman.d/gnupg I stopped it and tried to populate the keyring with the reported errors.
Frank Zimmermann <frank.zimmermann.berlin@freenet.de> on Tue, 2014/09/09 22:39:
Am Di, 9. Sep, 2014 um 10:37 schrieb Yamakaky <yamakaky@yamaworld.fr>:
At a last resort, you can remove /etc/pacman.d/gnupg, then run `pacman-key --init` and `pacman-key --populate archlinux`.
Did that, how long is pacman-key --init supposed to run? After approx 30min with no changes in /etc/pacman.d/gnupg I stopped it and tried to populate the keyring with the reported errors.
Is this a virtual machine? Random entropy may be limited there. Try to generate some entropy (e.g. by typing on your keyboard) or start haveged, the entropy harvesting daemon. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
Am Mittwoch, den 10.09.2014, 06:55 +0200 schrieb Christian Hesse:
Frank Zimmermann <frank.zimmermann.berlin@freenet.de> on Tue, 2014/09/09 22:39:
Am Di, 9. Sep, 2014 um 10:37 schrieb Yamakaky <yamakaky@yamaworld.fr>:
At a last resort, you can remove /etc/pacman.d/gnupg, then run `pacman-key --init` and `pacman-key --populate archlinux`.
Did that, how long is pacman-key --init supposed to run? After approx 30min with no changes in /etc/pacman.d/gnupg I stopped it and tried to populate the keyring with the reported errors.
I've deleted /etc/pacman.d/gnupg and started from scratch, now it seems to work. KR Frank
On Tue, Sep 09, 2014 at 08:42:38PM +0200, Frank Zimmermann wrote:
Good evening,
I'm having trouble with my pacman-keyring which in the end prevents me from installing signed packages. Here's the output: pacman-key --populate archlinux ==> Appending keys from archlinux.gpg... ==> Locally signing trusted keys in keyring... -> Locally signing key FOO ==> ERROR: FOO could not be locally signed.
Any hints?
Something is wrong with your local keyring or the secret key. Did you run "pacman-key --init" and what does "pacman-key -l" show? Cheers, -- Leonid Isaev GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4 C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
participants (4)
-
Christian Hesse
-
Frank Zimmermann
-
Leonid Isaev
-
Yamakaky