View Issue Details

IDProjectCategoryView StatusLast Update
0016992CentOS-8centos-releasepublic2020-02-29 20:09
Reporterjcpunk 
PrioritylowSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Product Version8.1.1911 
Target VersionFixed in Version 
Summary0016992: Please add Provides: distribution-gpg-keys to centos-release
DescriptionWhen mock is using the container bootstrap it defaults to requiring 'distribution-gpg-keys' which is not provided by any existing CentOS packages.

Since the release GPG keys are in this package, it would make sense to provide this to help simplify folks on EL7 doing mock bootstraps.
Steps To ReproduceGrab an EL7 system
Set config_opts['use_bootstrap_container'] = True
Try to bootstrap a CentOS 8 chroot
Additional InformationMock output:

$ mock -r koji/CentOS-8-2-3 --init
INFO: mock.py version 1.4.21 starting (python version = 3.6.8)...
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled HW Info plugin
Mock Version: 1.4.21
INFO: Mock Version: 1.4.21
Start(bootstrap): dnf install
Failed to set locale, defaulting to C
Unable to detect release version (use '--releasever' to specify release version)
Last metadata expiration check: 0:00:01 ago on Thu Jan 30 12:15:00 2020.
No match for argument: distribution-gpg-keys
Error: Unable to find a match: distribution-gpg-keys
ERROR: Command failed:
 # /usr/bin/dnf --installroot /var/lib/mock/CentOS-8-2-3-bootstrap/root/ --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk install dnf dnf-plugins-core shadow-utils distribution-gpg-keys
Failed to set locale, defaulting to C
Unable to detect release version (use '--releasever' to specify release version)
Last metadata expiration check: 0:00:01 ago on Thu Jan 30 12:15:00 2020.
No match for argument: distribution-gpg-keys
Error: Unable to find a match: distribution-gpg-keys
TagsNo tags attached.

Activities

ngompa

ngompa

2020-02-29 20:09

reporter   ~0036409

The proposed solution is not valid. The correct solution would be to adjust the bare CentOS configs (that is, the ones without EPEL) to _not_ require distribution-gpg-keys.

Issue History

Date Modified Username Field Change
2020-01-30 18:21 jcpunk New Issue
2020-01-31 17:58 toracat Status new => acknowledged
2020-02-29 20:09 ngompa Note Added: 0036409