LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   YUM Headers Cannot Be Found (http://www.linuxquestions.org/questions/linux-newbie-8/yum-headers-cannot-be-found-705867/)

jyothsna 02-19-2009 05:55 AM

YUM Headers Cannot Be Found
 
Hiii...

i trying to install ffmpeg using YUM.. but while installing i'm getting error like this


-bash-3.1$ yum install ffmpeg ffmpeg-devel
Gathering header information file(s) from server(s)
Server: Red Hat Linux 5Server - i386 - Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.



i am searching for the solution .. to fix this

anyone help me please?

Udi 02-19-2009 06:23 AM

Just guessing here - maybe "yum update" will update the indexes and solve this problem for you. You can also try "yum clean all".
Hope it helps.

linuxlover.chaitanya 02-19-2009 06:27 AM

You need to be ROOT to install package. From the output that you have pasted you do not seem to be root. Once you get the privileges do

Code:

yum update
Code:

yum install <package>

jyothsna 02-19-2009 06:33 AM

yes i am in the root

again getting same error while Updating YUM using "update yum"

linuxlover.chaitanya 02-19-2009 06:57 AM

If you are the root how do you have the user prompt?

jyothsna 02-19-2009 07:01 AM

I am using putty software to login into our server..

so the prompt is like that

linuxlover.chaitanya 02-19-2009 11:06 PM

Whatever way you login you get user prompt for normal user and hash prompt for root.

Edit: I mistakenly said dollar prompt for root. It should have been "#".
Chris has already corrected it though.

chrism01 02-20-2009 06:46 AM

Should be hash '#' prompt for root. Re post #4, its 'yum update' not 'update yum'. yum is the tool/cmd, update is the arg/param.


All times are GMT -5. The time now is 02:05 AM.