[Pkg-privacy-maintainers] Bug#836984: parcimonie unable to call "gpg2" since sid switch to using gpg2 as main "gpg" command

Gabriel Filion gabster at lelutin.ca
Wed Sep 7 19:21:00 UTC 2016


Package: parcimonie
Version: 0.10.2-1
Severity: grave
Justification: renders package unusable

Hi there,

Ever since gnupg 2.1 was set to be the main "gpg" command in sid, parcimonie has been unable to do its bidding.

>From the process list, we can see the following:

gabster   6219  0.1  1.2 129352 48700 pts/1    S+   15:07   0:00      \_ /usr/bin/perl /usr/bin/parcimonie --with-dbus
gabster   6220  0.0  0.0      0     0 pts/1    Z+   15:07   0:00          \_ [gpg] <defunct>

and it just hangs there.

If I call the command manually I get the following output:

$ /usr/bin/parcimonie --with-dbus
gpgconf: warning: can not open list file /home/gabster/.gnupg/dirmngr_ldapservers.conf: No such file or directory
dirmngr:Key Acquirer:/usr/bin/dirmngr:1:1:
Can't exec "gpg2": No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
exec() error: No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
No public key was found. at /usr/share/perl5/App/Parcimonie/Daemon.pm line 420.

So apparently it's trying to call a gpg2 binary which doesn't exist anymore:

$ find /usr/bin/ -name gpg\*
/usr/bin/gpgconf
/usr/bin/gpgsplit
/usr/bin/gpgsm
/usr/bin/gpg
/usr/bin/gpg-connect-agent
/usr/bin/gpg-agent
/usr/bin/gpgparsemail
/usr/bin/gpg-zip
/usr/bin/gpgv
/usr/bin/gpg1

So I guess we either need to call "gpg" directly or somehow get the "gpg2"
alias to come back. Or maybe there's an even better solution that I'm not
thinking about since I don't know much about the code base and used libraries.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages parcimonie depends on:
ii  libclone-perl                0.38-2
ii  libconfig-general-perl       2.63-1
ii  libfile-homedir-perl         1.00-1
ii  libfile-which-perl           1.21-1
ii  libgnupg-interface-perl      0.52-3
ii  libipc-system-simple-perl    1.25-3
ii  liblist-moreutils-perl       0.416-1
ii  libmoo-perl                  2.002004-1
ii  libmoox-late-perl            0.015-2
ii  libmoox-options-perl         4.022-2
ii  libnamespace-clean-perl      0.27-1
ii  libpath-tiny-perl            0.094-1
ii  libtime-duration-parse-perl  0.13-1
ii  libtry-tiny-perl             0.27-1
ii  libtype-tiny-perl            1.000005-1
ii  libtypes-path-tiny-perl      0.005-1
ii  perl                         5.22.2-4
ii  torsocks                     2.1.0-2

Versions of packages parcimonie recommends:
ii  gnupg-curl              1.4.20-6
ii  libglib-perl            3:1.321-1
ii  libgtk3-perl            0.028-1
ii  liblocale-gettext-perl  1.07-3
ii  libnet-dbus-glib-perl   0.33.0-2
ii  libnet-dbus-perl        1.1.0-4
ii  libpango-perl           1.227-1
ii  libtime-duration-perl   1.20-1
ii  tor                     0.2.8.7-1

parcimonie suggests no packages.

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list