If rpm cannot access the file for any reason when installing the package, it throws this error.
For example, if your rpm is in the NFS share witn directive root_squashand tries to install, then since root will not be allowed when trying to access the file, it will not work, and it will throw this exception error.
If this is your case, first install rpm in something like /tmp, then try again.