Skip to content

Can't exec "gpg2"

This won't open on sid now because of changes to the way gpg should be run.

~$ gpg2
bash: gpg2: command not found

Total error description is :

~$ openpgp-applet 
Can't exec "gpg2": No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 355.
exec() error: No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 355.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/GnuPG/Interface.pm line 828.
Use of uninitialized value $a in split at /usr/share/perl5/GnuPG/Interface.pm line 842.
Use of uninitialized value $a in split at /usr/share/perl5/GnuPG/Interface.pm line 842.
GnuPG Version 1.4 or 2.2+ required at (eval 180) line 55.

but all dependencies in apt are satisfied.

Edited by Marc Graham