On Wed, Jun 3, 2009 at 4:55 PM, Arnau Bria <[log in to unmask]> wrote:
> On Wed, 3 Jun 2009 16:41:56 +0200
> Jan Just Keijser wrote:
>
>> Hi Steve, Arnau,
> Hi,
>
>> ah it seems the trick is to do this:
>>
>> yum remove libstdc++-devel
>> yum install libstdc++-devel.i386 libstdc++-devel.x86_64
>
> [root@td094 yum.repos.d]# rpm -e --nodeps libstdc++-3.4.6-10.x86_64
> (yum complained about deps)
>
> [root@td094 yum.repos.d]# yum install libstdc++-devel.i386 libstdc++-devel.x86_64
The
multilib_poicy option for yum is relevant here. See the yum.conf man page.
multilib_policy
Can be set to 'all' or 'best'. All means install all
possible arches for any package you want to
install. Therefore yum install foo will install foo.i386
and foo.x86_64 on x86_64, if it is avail-
able. Best means install the best arch for this platform, only.
The bad news , this only comes in with the yum in SL5 at least, the
default looks to be all.
I think your original question is answered though.
Steve
> Warning, could not load sqlite, falling back to pickle
> Loading "kernel-module" plugin
> Setting up Install Process
> Setting up repositories
> gLite-WN-updates 100% |=========================| 951 B 00:00
> dag 100% |=========================| 951 B 00:00
> sl-fastbugs 100% |=========================| 951 B 00:00
> gLite-WN 100% |=========================| 1.1 kB 00:00
> sl-contrib 100% |=========================| 951 B 00:00
> gLite-WN-external 100% |=========================| 951 B 00:00
> glite-TORQUE_client-updat 100% |=========================| 951 B 00:00
> jpackage-3 100% |=========================| 951 B 00:00
> lcg-CA 100% |=========================| 951 B 00:00
> glite-TORQUE_client-exter 100% |=========================| 951 B 00:00
> glite-TORQUE_client 100% |=========================| 951 B 00:00
> jpackage-4 100% |=========================| 951 B 00:00
> sl 100% |=========================| 1.1 kB 00:00
> sl-errata 100% |=========================| 951 B 00:00
> Reading repository metadata in from local files
> pic-util : ################################################## 8/8
> gLite-WN-u: ################################################## 106/106
> dag : ################################################## 16788/16788
> sl-fastbug: ################################################## 124/124
> gLite-WN : ################################################## 222/222
> sl-contrib: ################################################## 154/154
> gLite-WN-e: ################################################## 16/16
> glite-TORQ: ################################################## 144/144
> jpackage-3: ################################################## 2618/2618
> lcg-CA : ################################################## 94/94
> glite-TORQ: ################################################## 10/10
> glite-TORQ: ################################################## 225/225
> jpackage-4: ################################################## 4/4
> sl : ################################################## 2090/2090
> sl-errata : ################################################## 833/833
> Excluding Packages from gLite 3.1 Worker Node
> Finished
> Excluding Packages from dag
> Finished
> Parsing package install arguments
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package libstdc++-devel.x86_64 0:3.4.6-10 set to be updated
> --> Running transaction check
> Beginning Kernel Module Plugin
> Finished Kernel Module Plugin
>
> Dependencies Resolved
>
> =============================================================================
> Package Arch Version Repository Size
> =============================================================================
> Installing:
> libstdc++-devel x86_64 3.4.6-10 sl 1.6 M
>
> Transaction Summary
> =============================================================================
> Install 1 Package(s)
> Update 0 Package(s)
> Remove 0 Package(s)
> Total download size: 1.6 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Installing: libstdc++-devel ######################### [1/2]
> Cleanup : libstdc++-devel ######################### [2/2]
>
> Installed: libstdc++-devel.x86_64 0:3.4.6-10
> Complete!
>
> # rpm -qa|grep libstdc++-devel
> libstdc++-devel-3.4.6-10.x86_64
>
>
> It does not work for me.... did you try it on SL4?
>
>
>
>> i.e. install both %{arch}s at the same time. Doing one after another
>> causes the flip-flopping ...
>> I now also see on my CentOS 4 x86_64 box:
>>
>> # rpm -qa --queryformat '%{name}-%{version}-%{release}.%{arch}\n' |
>> grep libstdc.*devel
>> libstdc++-devel-3.4.6-10.x86_64
>> libstdc++-devel-3.4.6-10.i386
>>
>>
>> cheers,
>>
>> JJK / Jan Just Keijser
>> Nikhef
>> Amsterdam
> Cheers,
> Arnau
>
--
Steve Traylen
|