gpg-agent is older than us

Phil Pennock gnupg-users at
Sat Aug 22 02:22:53 CEST 2020

On 2020-08-21 at 19:00 +0000, Ajax via Gnupg-users wrote:
> On a Debian box, 'gpg -K' gives "server 'gpg-agent' is older than us
> (2.2.12 < 2.2.21)".   2.2.21 was built using speedo in my home
> directory populating ~/bin which appears at the head of $PATH.  The
> commands 'which gpg' and 'which gpg-agent' both point to ~/bin.
> 2.2.12 would have been installed by the Debian package manager with
> /usr/bin/gpg-agent.  How can I cause '~/bin/gpg -K' to use
> '~/bin/gp-agent' and omit "older than us" warning?

How is gpg-agent being _started_?  Is it systemd?

If so, go to <> and scroll down to
"Users of systemd with vendor-installed socket activation of gpg-agent
will have to weigh their options carefully" neat the bottom; it's one of
the bullet points for the `optgnupg-gnupg` package.  It talks about how
to change the gpg-agent which systemd will launch for you.

Those are the steps I use on an Ubuntu system to swap out
/usr/bin/gpg-agent in favour of /opt/gnupg/bin/gpg-agent.


More information about the Gnupg-users mailing list