Package: rpm Version: 4.14.2.1+dfsg1-1 Severity: normal Dear Maintainer,
I tried to sign some RPM packages with rpm --addsign, but this resulted in the following error: `error: Could not exec gpg: No such file or directory` The gnupg package was installed on my system, and the gpg binary was in my PATH. The message above turned out to be a bit misleading as rpm tries to sign using /usr/bin/gpg2 by default, instead of /usr/bin/gpg. My temporary workaround is to add the flag --define='%__gpg /usr/bin/gpg'. Another option is to install the gnupg2 package which just adds a symlink. I would appreciate it if you could make rpm use the gpg binary by default. Kind regards, Imre Jonk -- System Information: Debian Release: 10.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-13-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages rpm depends on: ii debugedit 4.14.2.1+dfsg1-1 ii libc6 2.28-10 ii libelf1 0.176-1.1 ii libpopt0 1.16-12 ii librpm8 4.14.2.1+dfsg1-1 ii librpmbuild8 4.14.2.1+dfsg1-1 ii librpmio8 4.14.2.1+dfsg1-1 ii librpmsign8 4.14.2.1+dfsg1-1 ii perl 5.28.1-6+deb10u1 ii rpm-common 4.14.2.1+dfsg1-1 ii rpm2cpio 4.14.2.1+dfsg1-1 rpm recommends no packages. Versions of packages rpm suggests: pn alien <none> pn elfutils <none> ii python 2.7.16-1 pn rpm-i18n <none> pn rpm2html <none> pn rpmlint <none> -- no debconf information

