Description of problem: Lacking an internet connection, but with locally available rpms, dnf won't attempt an installation.
Version-Release number of selected component (if applicable):
Apparently only happens when dnf considers the cache stale, and insists on updating it first. If I do this:
a.) supply an internet connection and it updates its cache,
b.) decline installation of rpms, quitting dnf,
c.) disconnect internet,
d.) rerun the dnf install command, it works.
Steps to Reproduce:
1. dnf install *rpm
Error: Failed to synchronize cache for repo 'rawhide' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64
Seems like I should be able to install these rpms.
Chris, exactly what you want to do is possible with the '-C' switch. Can you please try it? Thanks!
In that case this is not a bug: if DNF is not instructed otherwise it always wants to see the latest metadata in case a dependency for the local RPMs was needed.