Christopher ctubbsii@fedoraproject.org writes:
$ wget mypackage.rpm $rpm --checksig mypackage.rpm
the whole point of using DNF to install a local file is for consistency of using the same command as for repo packages, not manually altering the RPM database outside of YUM/DNF (that results in a warning),
This isn't intended as a counter-argument, but I did want to point out that running rpm --checksig does not alter the RPM database; it just checks the signature. You would still install the package using DNF.
- J<