On 6/20/2019 9:45 AM, didier gaumet wrote: > Le 19/06/2019 à 20:29, john doe a écrit : >> On 6/19/2019 8:10 PM, Ulf Volmer wrote: >>> 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. >>> >> >> Thank you, it is also working on Buster. >> >> -- >> John Doe >> >> > Hello, > > there are more details on how to configure gpg for signing rpm in the > rpmsign(8) manpage. I quote: >
Thank you, What I didn't realize was that '%_gpgbin' (1) has been superseded by '%__gpg' (2). 1) Stretch: rpm_4.12.0.2 2) Buster: rpm_4.14.2.1 The '%__gpg' works on the above two versions. P.S. I also'd like to thanks Tomas ([email protected]) for his help. -- John Doe

