nobodys.watching
03/03/2025, 3:05 AM[06:27:53 g.i/n/centos-testing:latest] => #43 0.093 ============================== Start 'dnf' Module ==============================
[06:27:54 g.i/n/centos-testing:latest] => #43 0.127 Error: × ERROR: Main dependency 'dnf5' is not installed. Install 'dnf5' before
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 │ using this module to solve this error.
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 ╭─[/tmp/modules/dnf/dnf.nu:760:33]
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 759 │ | default [] replace
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 760 │ let has_dnf5 = ^rpm -q dnf5 | complete
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 · ────┬───
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 · ╰── Checks for dnf5
[06:27:54 g.i/n/centos-testing:latest] => #43 0.128 761 │ let should_cleanup = $config.repos
[06:27:54 g.i/n/centos-testing:latest] => #43 0.129 ╰────
[06:27:54 g.i/n/centos-testing:latest] => #43 0.129
[06:27:54 g.i/n/centos-testing:latest] => #43 0.129
[06:27:54 g.i/n/centos-testing:latest] => #43 0.132 ============================= Failed 'dnf' Module =============================
I get that I could base my image off of centos 9 or fedora, and add the COPR to my containerfile, but unfortunately I can't do that with centos 10 or almalinux 10 either.
I checked out the Bluefin:LTS and GDX repo, over there it looks like they're just using regular DNF commands in their build scripts.
Let me know how I should be doing this, thank you!!Answer Overflow
03/03/2025, 3:05 AMgmpinder
03/03/2025, 3:28 AMdnf5 cause we use specific features of that version in the modulenobodys.watching
03/03/2025, 6:00 AMdnf5 on centos 10, hopefully it gets added to EPEL or a COPR for thatxyny
03/03/2025, 6:15 AMdnf is just a wrapper for rpm-ostree in most images like these, and dnf5 is the only separate (and better) codebase