Linux packages (dnf and yum)
When dnf cannot get a package
A package the rules refuse is either not listed or refused on download.
dnf only shows the status code of a refusal, not the reason:
$ dnf install -y zsh ... Downloading Packages: [MIRROR] zsh-5.8-9.el9.x86_64.rpm: Status code: 403 for https://packages.example.com/rpm/almalinux-9-baseos/Packages/zsh-5.8-9.el9.x86_64.rpm (IP: 10.100.138.3) Error: Error downloading packages: zsh-5.8-9.el9.x86_64: Cannot download, all mirrors were already tried without success
Captured by running these commands against a real ForgeRepo™.
The refusal already opened a request. Open the address dnf printed in a browser, or look on the Requests page, to see why.
Note
On a mirror that hands out a filtered index, a refused package is not listed at all, so dnf says No match for argument.