[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error on Buster while signing rpms



On Wed, Jun 19, 2019 at 05:55:30PM +0200, john doe wrote:
> On 6/19/2019 5:34 PM, tomas@tuxteam.de wrote:
> > On Wed, Jun 19, 2019 at 05:31:41PM +0200, john doe wrote:
> >> On 6/19/2019 5:25 PM, tomas@tuxteam.de 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

OK. So you do have a gpg installed. Good. It seems rpm is looking for
it in the wrong place? (or perhaps the error message is bogus).

> As far as I can tell, gpg and rpm are working but can't "talk" to eatch
> other.

Going by the error message, something within rpm wants to invoke
gpg, but is not finding it.

You could try to run rpm under strace to see more clearly what
it is trying and how it fails.

> Tomas, is the following command 'rpm --resign *.rpm' working for you on
> Buster?

Sorry, but (a) I'm on stretch and (b) I haven't rpm installed.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: