Bug 2039261
Summary: | dnf --installroot ignores gpg keys in installroot path and requires them to be present in the default path | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Marcin Skarbek <redhat> |
Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> |
Status: | CLOSED CANTFIX | QA Contact: | swm-qe |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.5 | CC: | james.antill, mblaha |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-16 15:04:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marcin Skarbek
2022-01-11 11:40:40 UTC
I am really sorry, I understand your issue but the change will brake other user cases. The issue can be resolved not only by copy of files but also by manual import of required keys into rpm in installroot. Then dnf will not try to import keys from the location. Additionally you can modify the path to gpg keys directly from command line using --setopt. dnf install --installroot=${TEMP_ROOT} --releasever=8 postgresql14-server postgresql14-contrib --setopt=pgdg-common.gpgkey=${TEMP_ROOT}/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG I am really sorry but we cannot do much more. Can this be resolved properly in RHEL 10? |