On 6/19/2019 5:34 PM, [email protected] wrote: > On Wed, Jun 19, 2019 at 05:31:41PM +0200, john doe wrote: >> On 6/19/2019 5:25 PM, [email protected] wrote: >>> On Wed, Jun 19, 2019 at 05:03:20PM +0200, 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 >>>> >>>> Where the '*' is the name of the rpm. >>> >>> Apt-get install gnupg? >>> >> >> $ apt-get -V install gnupg >> gnupg is already the newest version (2.2.12-1). >> gnupg set to manually installed. >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > What happens if you say "gpg --version"? >
$ gpg --version gpg (GnuPG) 2.2.12 libgcrypt 1.8.4 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 As far as I can tell, gpg and rpm are working but can't "talk" to eatch other. Tomas, is the following command 'rpm --resign *.rpm' working for you on Buster? P.S. RSA key of '2048'. -- John Doe

