Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fc5 install trouble



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org