rpm -i --force kernel-headers...

Somehow the include files have been deleted but the rpm
data base is only updated by rpm commands.

forcing the install will put everything back.


[EMAIL PROTECTED] wrote:
> 
> I have kernel-headers-2.2.12-20.i386.rpm installed.
> 
> When I do
> 
>    rpm -ql kernel-headers
> 
> it lists a large number of .h files, many of which are supposed to
> be in the directory /usr/src/linux-2.2.12/
> 
> But when I look in that directory, these files are not present.
> Even the directory linux-2.2.12 is missing.  The only thing in
> /usr/src is a redhat directory which has several empty
> subdirectories (RPMS, SOURCE etc.)
> 
> Also,  /usr/include/linux is a symbolic link to some path below
> /usr/src/linux - but /usr/src/linux doesn't exist.
> 
> Because of all of this, I am unable to compile things (in this case,
> I'm trying to build the print manager PDQ, but gcc fails because it
> can't find
> 
> If I try to reinstall the kernel-headers RPM, it complains that it is
> already installed.  I'm fearful of removing it in case it breaks
> something else.  Would it be safe to remove it and reinstall?
> 
> Will Irwin
> 
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Ray Atnip        
"If we couldn't laugh, we would all go insane." -- Jimmy Buffett

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to