Red Hat Bugzilla – Bug 476048
"yum provides /some/file" fails (no cache)
Last modified: 2014-01-21 18:07:15 EST
Description of problem:
$ yum provides /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so
Loaded plugins: fastestmirror, refresh-packagekit
Importing additional filelist information
Error: Caching enabled but no local cache of //var/cache/yum/rawhide/4416992610e6a7aaf089a4c6cba2a694887f6c70-filelists.sqlite.bz2 from rawhide
Version-Release number of selected component (if applicable):
Always, the repo configuration doesn't matter
Steps to Reproduce:
1. yum provides /etc
Get the missing file and continue
If you run it as root does it work?
Yes, running as root does work.
right, then what is it you want this to do? The data yum needs to do the lookup is not present and you're not running as root. So it can't write to the paths where it normally would.