Issues with Experimental DNF Module on Multiple BootC Images
I’ve been testing the experimental DNF module on a few different images: CentOS 10, AlmaLinux 10, Bluefin LTS, Helium Linux 10, and Rocky Linux 9. I managed to get DNF5 installed across all of them, but now I’m running into the same errors during the DNF module phase.
Here’s the build run link with logs: https://github.com/nobodywatchin/bootc-testing/actions/runs/13712607860/job/38351816704
Any ideas on what might be going wrong? Appreciate any insights!
10 Replies
So the error here is that there is no
dnf5
in the repositories
https://github.com/nobodywatchin/bootc-testing/actions/runs/13712607860/job/38351816705
Here you have an issue with the schema. I would suggest looking at the module.yml in the PR for an example. We haven't fully released it yet, we have documentation to do
Looks like it's the same with your other runs tooactually, Rocky is just missing the repos but I think the other runs were okay
I just answered my own question in real-time though!
I switched to
source: ghcr.io/blue-build/modules/dnf:dnf-module-gmpinder
and that worked!!Oh I think that's outdated
Yeah you should use the tag
dnf-module
That's what's going to be releasedWeird
There's a few margins for error here because I'm using an EPEL 10 repo on the COPR
I'm going to clean my images up and test more, will report back when I have more successful builds with these other distros and I can compare!!
So here's the run with the outdated one:
https://github.com/nobodywatchin/bootc-testing/actions/runs/13715069186
And here's the run with the newer one:
https://github.com/nobodywatchin/bootc-testing/actions/runs/13715514569
Leaving out Rocky Linux for now
I'm only able to build these images right now using the outdated version
You miss
packages:
in install section for latest module
Ohh okay got it!
Now I'm having issues when listing a specific repo:
is this format correct?
I have issues with this one too:
^ which does work with the outdated one so I'm suspicious that it's my syntax
You need to get repo
id
, which is tailscale-stable
in this case (you can see it in repo file enclosed in[ ]
). Which means that repo needs to be already present.
You can omit - repo
, as tailscale
likely won't be in repo other than tailscale-stable
. It won't automatically download repo like rpm-ostree
does, it only tells from where package should be pulled from to get it installed, hence why repo URL needs to be provided for download before install operation.
I'm not sure on this onecool, trying this out before moving onto groups
Running into new issues with the tailscale part:
https://github.com/nobodywatchin/bootc-testing/actions/runs/13726315825/job/38393465165
looks like something outside of our control
it's either issue with how
dnf
handles this repo or repo is bad somehowbluefin LTS managed to do it:
https://github.com/ublue-os/bluefin-lts/blob/d0f787d2b6580584d8779da8807b1a58c07b1b67/build_scripts/20-packages.sh#L33
I'll kick tailscale for now... will come back to that soon
with your help, my dnf.yml file is working when using the latest version of the DNF module, but my gnome-de.yml file was not, I switched it back to dnf-module-gmpinder and now that's building:
https://github.com/nobodywatchin/bootc-testing/actions/runs/13726875343/job/38395288035
I know that it's working because without that group then my gnome-extensions module would fail
seems like something is off with package groups, any insight is appreciated!
I tried installing the group with quotes "Server with GUI" and this is the result: https://github.com/nobodywatchin/bootc-testing/actions/runs/13731626955/job/38409636898
ignore my EL9 images as they will fail until I get dnf5 working on it properly
Here's the result without quotations: https://github.com/nobodywatchin/bootc-testing/actions/runs/13731706682/job/38409863032
So neither:
or
are working
but
is definitely working
now I'm going back to the tailscale part
So, I got tailscale installing by copying how bluefin:LTS did it
Does work! However, this does not:
Can be seen building here:
https://github.com/nobodywatchin/bootc-testing/actions/runs/13732209749/job/38411173827