Tony Schreiner wrote: > On CentOS 4.5 (x86_64); happening on several different machines > > > with libstdc++ and libstdc++-devel v. 3.4.6-8 > > only one of the i386 or x86_64 versions of libstc++-devel is installed > > if I > yum install libstdc++-devel > > it will install the x86_64 version and remove the i386 version, but not > warn me. Similarly if the i386 version is installed it will install the > x86_64 and remove the i386, without warning. > > But if i remove libstc++-devel (and necessarily gcc-c++), then reinstall > with > > yum install gcc-g++ libstdc++-devel > > both versions of libstdc++-devel will be installed. There is really no easy answer to this question, except that you need to specify .i386 and .x86_64 in your yum commands. I almost always do not use any i386 packages on any x86_64 machines because of this. I always either put this in yum.conf: exclude=*.i386 or this (on machines I build with): exclude=exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i?86 g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2*.i?86 glib-*.i?86 glib.i?86 (That allows glibc and glibc-devel) If you want to use all the i386 programs available in the x86_64 tree, it is going to require special actions to administer ... and it is not easy (IMHO). I wish it were easier ... but I am afraid it is not. Thanks, Johnny Hughes
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos