You are not logged in.

#1 2014-11-25 19:28:30

AndyD
Member
Registered: 2014-11-25
Posts: 13

gnupg update breaks key database [SOLVED]

Hi all,
I upgraded gnupg from 2.0.26-1 to 2.1.0-4, which also removed dirmngr:

[2014-11-25 20:18] [PACMAN] Running 'pacman -Syu'
[2014-11-25 20:18] [PACMAN] synchronizing package lists
[2014-11-25 20:18] [PACMAN] starting full system upgrade
[2014-11-25 20:19] [PACMAN] removed dirmngr (1.1.1-3)
[2014-11-25 20:19] [PACMAN] upgraded gnupg (2.0.26-1 -> 2.1.0-4)

Since then, engimail complains, if I understand correctly, about not being able to migrate my gpg-keys:

Error - encryption command failed
/usr/bin/gpg --charset utf-8 --display-charset utf-8 --batch --no-tty --status-fd 2 --with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
gpg: starting migration from earlier GnuPG versions
gpg: error: GnuPG agent version "2.0.26" is too old. 
gpg: Please make sure that a recent gpg-agent is running.
gpg: (restarting the user session may achieve this.)
gpg: migration aborted

Reverting to 2.0.26 with dirmngr solves the problem, but I feel a piece of security software like gpg should probably be up-to-date.
Reinstalling enigmail (it's from the AUR, after all, and got upgraded) didn't help, but the message seems to me to be more about gpg, anyway.
I should also mention that I upgrade my system pretty regularly (usually twice a day), and so didn't really expect a version jump to be too large.

I'd be grateful for any help with this.

Last edited by AndyD (2014-11-26 15:31:43)

Offline

#2 2014-11-25 19:44:48

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: gnupg update breaks key database [SOLVED]

It's weird that enigmail complains about 2.0.26 which you just upgraded? Did you try rebooting after the upgrade, maybe the old gnupg agent is still running?

Offline

#3 2014-11-25 19:50:06

AndyD
Member
Registered: 2014-11-25
Posts: 13

Re: gnupg update breaks key database [SOLVED]

Well, well, see who forgot to do a simple system reboot when he ran into upgrade problems.

Thanks! All working now. And sorry for the fuss...

Offline

#4 2014-11-25 20:41:45

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

Re: gnupg update breaks key database [SOLVED]

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#5 2014-11-25 21:51:18

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: gnupg update breaks key database [SOLVED]

I have a lockup and high cpu going on i686 at least.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2014-11-26 13:47:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,517
Website

Re: gnupg update breaks key database [SOLVED]

noremorewindows, I suspect you posted that in the wrong thread (or I am really missing some connection).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2014-11-26 13:50:31

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: gnupg update breaks key database [SOLVED]

It could be that I needed /proc /sys /dev mounted on diskless roots.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2014-11-26 18:24:21

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: gnupg update breaks key database [SOLVED]

Found it, there was a file that was being created in /dev called null.  I think it is to be related to the gnupg update, and apparently I did need proc, sys, and dev mounted on my PXE client roots.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB