Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #210107

Re: Error on Buster while signing rpms

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Error on Buster while signing rpms
Date 2019-06-19 18:30 +0200
Message-ID <yaLDc-3SM-3@gated-at.bofh.it> (permalink)
References <yaKxs-3fP-3@gated-at.bofh.it> <yaKH7-3j4-3@gated-at.bofh.it> <yaKQN-3m4-5@gated-at.bofh.it> <yaKQN-3m4-3@gated-at.bofh.it> <yaLaa-3tp-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error on Buster while signing rpms john doe <johndoe65534@mail.com> - 2019-06-19 17:20 +0200
  Re: Error on Buster while signing rpms <tomas@tuxteam.de> - 2019-06-19 17:30 +0200
    Re: Error on Buster while signing rpms <tomas@tuxteam.de> - 2019-06-19 17:40 +0200
      Re: Error on Buster while signing rpms john doe <johndoe65534@mail.com> - 2019-06-19 18:00 +0200
        Re: Error on Buster while signing rpms <tomas@tuxteam.de> - 2019-06-19 18:30 +0200
    Re: Error on Buster while signing rpms john doe <johndoe65534@mail.com> - 2019-06-19 17:40 +0200
  Re: Error on Buster while signing rpms Ulf Volmer <u.volmer@u-v.de> - 2019-06-19 20:20 +0200
    Re: Error on Buster while signing rpms john doe <johndoe65534@mail.com> - 2019-06-19 20:30 +0200
      Re: Error on Buster while signing rpms didier gaumet <didier.gaumet@gmail.com> - 2019-06-20 09:50 +0200
        Re: Error on Buster while signing rpms john doe <johndoe65534@mail.com> - 2019-06-20 15:40 +0200

csiph-web