FS#73218 - [dnf] dnf --installroot fails

Attached to Project: Community Packages
Opened by Alex PJ (borislav) - Sunday, 02 January 2022, 00:01 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 16 May 2023, 05:48 GMT
Task Type Support Request
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm attempting to use dnf from Ansible. Whilst the rpm repo listings are easily created in the appropriate place to allow dnf to create it's database. I can't see how to put the gpg keys where they are supposed to be without attempting to do the stupid thing of running dnf in ArchLinux.

What is the preferred method on ArchLinux? Would you mind creating a basic page on the wiki.

Just to be clear: I'm running "dnf --installroot=blah .." from within Arch Linux Ansible.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. dnf --installroot=blah .. install <rpm package>

Fails with can't find "/etc/pki/rpm-gpg/rpm-gpg-key-fedora-35-x86_64"
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 16 May 2023, 05:48 GMT
Reason for closing:  None
Additional comments about closing:  Support requests are best handled in the support channels (forum/IRC/mailing list/reddit/etc). If anything is missing from the Wiki, anyone can edit so please add it.

Loading...