Linux packages (apt)
When apt cannot get a package
A package the rules refuse is refused on download, and apt prints why.
A package the rules refuse fails to download, and apt prints the reason:
$ apt-get install -y zsh ... Fetched 4708 kB in 1s (4863 kB/s) E: Failed to fetch https://packages.example.com/apt/debian/pool/main/z/zsh/zsh_5.9-4%2bb15_amd64.deb 403 zsh 5.9-4+b15 is not approved on this registry. Reason: blocked by rule zsh. Ask for it at https://packages.example.com/_admin. [IP: 10.100.138.3 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Captured by running these commands against a real ForgeRepo™.
The refusal already opened a request. You can also ask on the Requests page.
Note
On a mirror with a filtered index, a refused package is not listed at all, so apt says Unable to locate package.