On 19.06.19 17:03, john doe wrote:
> Hi, I'm trying to gpg sign rpms on Debian Buster but I'm getting the
> following:
> 
> $ rpm --resign *.rpm
> *.rpm:
> error: Could not exec gpg: No such file or directory

Pass --define "__gpg /usr/bin/gpg" to you rpm command. Works for me on
sid. Or add this (and you gpg key settings) to your ~/.rpmmacros.

Best regards
Ulf

Reply via email to