Re: multilib system installation

Piotr Romanus <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Thu, Jun 25, 2009 at 7:26 PM, James Antill <[email protected]> wrote:
>

>  Yeh, that's not how it works. If you have foo.i386 and foo.x86_64
> installed, and you need to update foo.i386 for a dep. then yum will
> update both ... but it doesn't install things that aren't needed.

Not sure I understand what you mean by "aren't needed". foo.i386 has
the same set of "Requires" statements as foo.x86_64

Besides I performed a small experiment: I checked my diskless partition to
see how many bzip2 packages I had installed (chrooted to the dikless partition
before executing this):
rpm -qa --qf "%{name}-%{version}-%{release}-%{arch}\n" |grep bzip2
bzip2-libs-1.0.3-4.el5_2-x86_64
bzip2-1.0.3-4.el5_2-x86_64

Then, I removed bzip2 and bzip2-libs from the diskless partition:
rpm -e --nodeps bzip2
rpm -e --nodeps bzip2-libs

I had to use nodpes because of dependencies.

Subsequently I installed bzip2 again using yum:
yum --enablerepo apm-v5-64 --installroot=/tftpboot/v564/ install bzip2

Obviously I was not chrooted at this point.

Again I checked that packages (chrooted):
rpm -qa --qf "%{name}-%{version}-%{release}-%{arch}\n" |grep bzip2
bzip2-libs-1.0.3-4.el5_2-i386
bzip2-1.0.3-4.el5_2-i386
bzip2-libs-1.0.3-4.el5_2-x86_64
bzip2-1.0.3-4.el5_2-x86_64

Why did I get i386 and x86_64 packages this time? This seems inconsistent...

>
>  As Seth said, you want to require at least yum-3.2.19-18.el5 if not
> yum-3.2.19-18.el5_3.1 or later.

I upgraded to this version and repeated the installation of my
diskless partition - the same effect.


Piotr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.