I am trying to locally install an
rpm package without using the internet. I tried the following:
sudo rpm -u kernel-devel-4.2.7-200.fc22.x86_64.rpm
and I got:
error: kernel-devel-4.2.7-200.fc22.x86_64.rpm: hdr blob(2060952): BAD, read returned 0 error: kernel-devel-4.2.7-200.fc22.x86_64.rpm cannot be installed
I also tried:
sudo dnf --disablerepo='*' install kernel-devel-4.2.7-200.fc22.x86_64.rpm
and it still seems to be using the internet, so I can't figure out if it works or not since the internet connection is really slow.
Is there a way to fix this?