Bug 2192099 - GPG keys problem
Summary: GPG keys problem
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Copr Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-29 14:27 UTC by lejeczek
Modified: 2023-08-10 14:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-10 14:22:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2023-04-29 14:27:50 UTC
Description of problem:

Hi,
I'm not sure it's 'mock, can be 'distribution-gpg-keys'?

-> $ 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 
...
Total                                                                                12 MB/s |  55 MB     00:04     
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
...
...

Version-Release number of selected component (if applicable):

distribution-gpg-keys-1.85-1.el9.noarch
mock-3.5-1.el9.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Pavel Raiskup 2023-08-10 14:22:06 UTC
Thank you for the report.  I missed this one, sorry for the delay.  I tested
with the Mock 5.0 release (in Centos Stream 9 container, on Fedora 38 host):

$ mock --localrepo  /var/tmp/localrepo  --chain --continue --rootdir=~/mock  -r centos-stream+epel-9-x86_64 https://kojipkgs.fedoraproject.org//packages/mock/5.0/1.el9/src/mock-5.0-1.el9.src.rpm
INFO: mock.py version 5.0 starting (python version = 3.9.17, NVR = mock-5.0-1.el9)...
Start(bootstrap): init plugins
...
INFO: Packages successfully built in this order:
INFO: /tmp/tmpzydl51xg/mock-5.0-1.el9.src.rpm
$ rpm -q mock mock-core-configs distribution-gpg-keys
mock-5.0-1.el9.noarch
mock-core-configs-39-1.el9.noarch
distribution-gpg-keys-1.89-1.el9.noarch

This seems to work for me now.  Can you plese retest with the new updated
packages from
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-a5c155a6c0 ?
Please reopen if you still see the same problem.


Note You need to log in before you can comment on or make changes to this bug.