Re: Fedora 25 mock failure

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

 



Dne 4.6.2017 v 09:30 Florian Weimer napsal(a):
> $ mock  -r fedora-25-x86_64 --init
> warning:
> /var/lib/mock/fedora-25-x86_64/root/var/cache/dnf/updates-87ad44ec2dc11249/packages/util-linux-2.28.2-2.fc25.x86_64.rpm:
> Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY
> Importing GPG key 0x81B46521:
>  Userid     : "Fedora (24) <fedora-24-primary@xxxxxxxxxxxxxxxxx>"
>  Fingerprint: 5048 BDBB A5E7 76E5 47B0 9CCC 73BD E983 81B4 6521
>  From       : /etc/pki/mock/RPM-GPG-KEY-fedora-24-primary
> Key imported successfully
> Import of key(s) didn't help, wrong key(s)?
> Error:
> 
> 
> Public key for util-linux-2.28.2-2.fc25.x86_64.rpm is not
> installedFailing package is: util-linux-2.28.2-2.fc25.x86_64
>  GPG Keys are configured as:
> file:///etc/pki/mock/RPM-GPG-KEY-fedora-24-primary

Why are you using F24 GPG key for F25 package?

> Key fdb19c98 is the Fedora 25 signing key, it seems.  mock only ships
> signing keys up to Fedora 24:
> 
> $ rpm -ql mock | grep pki.*fedora
> /etc/pki/mock/RPM-GPG-KEY-fedora-23-primary
> /etc/pki/mock/RPM-GPG-KEY-fedora-23-secondary
> /etc/pki/mock/RPM-GPG-KEY-fedora-24-primary
> /etc/pki/mock/RPM-GPG-KEY-fedora-24-secondary
> 
> And this is what ends up in the chroot.
> 
> Obviously, this has worked before.  Any idea what is going on here?

As of F25 mock started to use `distribution-gpg-key` package and the line in config should be:

   gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-25-primary

It is likely that you altered your mock config in past and DNF created `.rpmnew`. You should merge it with `rpmconf -o
mock` command.

-- 
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux