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



The ideal fix would be to point yum at my DVD drive. Anyone know how to 
do this? I've found yum to be a little lacking in man page help.

Cheers. Steve.


Brad Smith wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFEMRpYDvp49DvQ8kcRAo/uAJ4rUgHwi8ywOd9GvyS9nC1Wa6jOjQCeL0en
> MTmK7NGGJ3EdP5dBGz3h7Rw=
> =6bw7
> -----END PGP SIGNATURE-----
>
>   





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