5c26eb4
@@ -44,4 +44,4 @@
export DNF_VAR_releaseversp
fi
- dnf --config=${repos_loc}/dnf.conf --setopt=reposdir=${repos_loc}/${repos} --releasever=${releasever} ${module_platform} --nogpgcheck repoquery "${@:3}"
+ dnf4 --config=${repos_loc}/dnf.conf --setopt=reposdir=${repos_loc}/${repos} --releasever=${releasever} ${module_platform} --nogpgcheck repoquery "${@:3}"
repoquery on dnf5 doesn't work properly (e.g. see https://github.com/rpm-software-management/dnf5/issues/1889 for --location), let's force dnf4 for now.
--location
Pull-Request has been merged by ngompa
@dcavalca @ngompa:
1) shouldn't this be fixed in dnf5 >= 5.2.8.0 by https://github.com/rpm-software-management/dnf5/commit/fdd7b2f9059b6fefcaa8b80b6a6275e55616600e ?
2) the corresponding packaging change (https://src.fedoraproject.org/rpms/rpmdistro-repoquery/c/0e4c84d346c745e265ceee768e2e70242083411a?branch=rawhide) made it uninstallable, as nothing provides dnf4?
dnf4
At a minimum, if dnf5 still cannot be used, the Requires needs to be fixed as python3-dnf (which provides /usr/bin/dnf4).
Requires
python3-dnf
/usr/bin/dnf4
repoquery on dnf5 doesn't work properly (e.g. see https://github.com/rpm-software-management/dnf5/issues/1889 for
--location
), let's force dnf4 for now.