Re: mock fails on gpg with epel - ?

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





On 03/05/2023 10:49, Fabian Arrotin wrote:
On 01/05/2023 15:10, lejeczek via CentOS wrote:
Hi guys,

Does your 'mock' work when used with 'centos-stream+epel-9-x86_64' config?
It fails for me with every rpm packages I tried:

-> $ mock -r centos-stream+epel-9-x86_64 --rootdir=~/mock --localrepo=/devs/var/www/dnf.repo --chain --continue rpmbuild/rpm.src/pass-1.7.4-6.el9.src.rpm
...
CentOS Stream 9 - BaseOS 1.6 MB/s | 1.6 kB     00:00
The GPG keys listed for the "CentOS Stream 9 - BaseOS" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.. Failing package is: alternatives-1.20-2.el9.x86_64   GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official Public key for audit-libs-3.0.7-103.el9.x86_64.rpm is not installed. Failing package is: audit-libs-3.0.7-103.el9.x86_64
...

many thanks, L.

Seems that you have the gnupg2 package that was deprecating SHA1, so just downgrade it and it should work again. see (for example as there were multiple duplicates) https://bugzilla.redhat.com/show_bug.cgi?id=2184640

downgraded it - though there is a new distribution-gpg-keys.noarch in epel-testing which I pulled in too - cannot tell which one or perhaps both. helped.
thanks, L.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux