Bug 476048 - "yum provides /some/file" fails (no cache)
Summary: "yum provides /some/file" fails (no cache)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-11 17:53 UTC by Horst H. von Brand
Modified: 2014-01-21 23:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-11 19:43:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Horst H. von Brand 2008-12-11 17:53:44 UTC
Description of problem:
I tried:

$ 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):
yum-3.2.20-7.fc11.noarch

How reproducible:
Always, the repo configuration doesn't matter

Steps to Reproduce:
1. yum provides /etc
2.
3.
  
Actual results:
Above message

Expected results:
Get the missing file and continue

Additional info:

Comment 1 seth vidal 2008-12-11 18:19:13 UTC
If you run it as root does it work?

Comment 2 Horst H. von Brand 2008-12-11 19:37:27 UTC
Yes, running as root does work.

Comment 3 seth vidal 2008-12-11 19:43:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.