Closed septatrix closed 7 months ago
@septatrix The MKOSI_DNF
issue should be fixed by #2388
The other issue that you're running into is probably https://bugzilla.redhat.com/show_bug.cgi?id=2263771. Check if you're using paths in your package lists somewhere and change them to be the actual package name.
@septatrix The
MKOSI_DNF
issue should be fixed by #2388
Yes that seem to have resolved that issue.
The other issue that you're running into is probably https://bugzilla.redhat.com/show_bug.cgi?id=2263771. Check if you're using paths in your package lists somewhere and change them to be the actual package name.
Indeed, I am using /etc/mime.types
instead of the more obscure mailcap
(as that file is all I need from that package) but the latter will do for now.
Ah any path outside of /usr/bin and /usr/sbin requires the filelists metadata, which is huge so dnf5 doesn't download it anymore by default. So don't use file paths unless they're in those locations (and don't use those either until that dnf5 bug is fixed).
When trying to build my image I get the following error:
Executed command from the debug output:
Normal output of the run excluding build of the tools tree:
When I set
MKOSI_DNF=dnf
it seems to work.Continuing an incremental build after the first half was build with
MKOSI_DNF
, afterwards one gets:This happens during the build step so I guess this is missing some kind of warning that switching the DNF backend for an incremental build is buggy. Regardless, this seems unrelated to the original bug and usually people should not have to tinker with
MKOSI_DNF
. I just happen to run around this unexpected interaction whlie trying to find out what the hell was going on.