[Yum] Re: [Beowulf] Athlon64 / Opteron test (fwd)

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

 



On Fri, 2004-05-14 at 21:38, Robert G. Brown wrote:

> This is actually tough to answer, as a bit of the exchange below
> indicates.  The libraries (unfortunately) have the same name as their
> x86_64 counterparts, so working by package name per se, e.g.
> 
>   yum install glibc
> 
> won't work (glibc is already installed, x86_64 version).

Use yum 2.0.7, and install packages suffixed with the arch name.  It
works fine on FC1.  As others have discussed, you'll have problems with
some packages.  See below.

Here's a fragment of the Kickstart script I use to get most of the
useful 32-bit world into place.  Note that with FC1, you *must* install
some of these packages using "rpm --excludepath" instead of yum, or
things will either not work (no install due to conflicts) or break your
system horribly (install the 32-bit version of e2fsck, for example).

        # Update all packages.
                                                                                                                                    
        yum -y update
                                                                                                                                    
        # Install 32-bit compat stuff.
                                                                                                                                    
        yum -y install glibc.i686 compat-db ncurses.i386 libtermcap.i386 gmp.i386 db4.i386 expat.i386 gdbm.i386 pam.i386 libobjc.i386 libgcj.i386 libxml.i386 libxml2.i386 pcre.i386 bzip2-libs.i386 libmng.i386 libogg.i386 libattr.i386 mozilla-nspr.i386 mozilla-nss.i386 libacl.i386 fam.i386 libvorbis.i386 libxslt.i386
                                                                                                                                    
        # Install 32-bit compat junk that has screwy dependencies.
                                                                                                                                    
        rpm -iv --excludepath /sbin /net/dist/redhat/fedora/updates/1/x86_64/e2fsprogs-[0-9]*.i386.rpm
        rpm -iv --excludepath /etc/fonts /net/dist/redhat/fedora/updates/1/i386/XFree86-{libs,Mesa-libGL,Mesa-libGLU}-4*.i386.rpm /net/dist/redhat/fedora/1/i386/os/Fedora/RPMS/{fontconfig,freetype}-[0-9]*.i386.rpm
                                                                                                                                    
        rpm -iv --excludepath /usr/share/openldap/ucdata /net/dist/redhat/fedora/1/i386/os/Fedora/RPMS/openldap-[0-9]*.i386.rpm
        rpm -iv --excludepath /usr/share /net/dist/redhat/fedora/1/i386/os/Fedora/RPMS/readline-[0-9]*.i386.rpm
        rpm -iv --excludepath /usr/share/man /net/dist/redhat/fedora/1/i386/os/Fedora/RPMS/libpng-[0-9]*.i386.rpm
        rpm -iv --excludepath /usr/bin /net/dist/redhat/fedora/1/i386/os/Fedora/RPMS/qt-[0-9]*.i386.rpm
                                                                                                                                    
        # Install remaining 32-bit stuff.
                                                                                                                                    
        yum -y install cyrus-sasl.i386 gtk2.i386 tclx.i386 gd.i386 kdelibs.i386 lockdev.i386 glibc-devel.i386 db4-devel.i386 XFree86-devel.i386 zlib-devel.i386 gtk2-devel.i386 readline-devel.i386

Don't try to install popt (or other 32-bit rpm-related packages) - it
has an incestuous relationship with rpm, will install 32-bit rpm, and
you'll be left totally hosed.

	<b


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux