DevHeads.net

Workaround for missing gpg keys in mock?

I'm trying to do `fedpkg mock` to locally build some packages, and I
keep getting errors about GPG keys not found for f31/f32 packages. How
do I work around this?

Comments

Re: Workaround for missing gpg keys in mock?

By Nico Kadel-Garcia at 08/22/2019 - 20:58

On Thu, Aug 22, 2019 at 7:57 PM Christopher < ... at fedoraproject dot org> wrote:
Disable gpg checks in /etc/mock/whatever.cfg ?

Re: Workaround for missing gpg keys in mock?

By Christopher at 08/22/2019 - 22:42

On Thu, Aug 22, 2019 at 9:03 PM Nico Kadel-Garcia < ... at gmail dot com> wrote:
Thanks. I went looking at /etc/mock/fedora-rawhide-x86_64.cfg to
figure out how to do that... and I found the problem. The file is
still configured as though f31 is rawhide. So, I simply replaced all
occurrences of "31" with "32", and "30" with "31".

And, then it worked fine. So, thanks for pointing me in the right
direction. The answer was really stupidly obvious once I knew where to
look. :)

Re: Workaround for missing gpg keys in mock?

By Elliott Sales d... at 08/22/2019 - 23:01

On Thu, 22 Aug 2019 at 22:43, Christopher < ... at fedoraproject dot org> wrote:
This is fixed in the current version of mock-core-configs. It was just
pushed to stable, so you should be able to update it soon.