fc5 install trouble

Stephen Adler adler at stephenadler.com
Mon Apr 3 10:08:34 EDT 2006


Thanks Matt,

that worked! There were some dependency problems which I fixed through a 
little
grep scripting. there were close to 900 packages which didn't get 
installed when I
did my FC5 install, but it looks like I'm now getting the rest of them.

Thanks. Steve.

Matthew Gillen wrote:
> yum seems to be smarter about ignoring things that seem to already be
> installed.  You might try this:
>
> cd .../RPMS/
> yum localinstall *.rpm
>
> Of course, I'm guessing you'll have to break that up into groups of rpms.
> Matt
>
> Brad Smith wrote:
>   
>> The problem with doing an rpm -Uvh * in a situation like this is that rpm refuses to install any
>> packages matched by a glob if one or more of them produces an error and unfortuately rpm treats
>> "this package is already installed" as an error. A kludgey, slow, but effective solution might be
>> something like this:
>>
>> cd /media/cdrom # or whatever
>> cd RedHat/RPMS
>> for p in *.rpm; do n=$(echo $p | sed 's/\.rpm//'); rpm -q $n || rpm -ivh $p; done
>>
>> I haven't tested this, but I think it should work. Like I said, though, it's a bit kludgey. There's
>> probably a better solution out there somewhere.
>>
>> --Brad
>>     
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss
>
>   




More information about the Discuss mailing list