The dnf5 version of dnf-repoquery does not currently support the -C/--cacheonly argument to "run entirely from system cache, don't update cache". This is breaking automation which calls the plugin, notably FedoraReview. Reproducible: Always Steps to Reproduce: 1. dnf install dnf5 2. dnf5 repoquery -C Actual Results: Unknown argument "-C" for command "repoquery". Add "--help" for more information about the arguments. Expected Results: dnf should perform repoquery using only its local cache. I'm unsure if this is intentional or still being worked on. If the former, I'll raise a PR on FedoraReview to remove the argument.
This appears to be being tracked upstream as https://github.com/rpm-software-management/dnf5/issues/227. Happy to close this if this is better tracked on GitHub.
Hello, yep, this is already tracked in upstream, so please watch for the changes there. I am actually planning to implement it this week, so hopefully it will be delivered quite soon.