[CentOS] i386 version of Perl getting installed on x64 system?
Ray Van Dolson
rayvd at bludgeon.org
Sun Jul 6 16:10:18 UTC 2008
On Sun, Jul 06, 2008 at 09:55:03AM -0600, Joseph L. Casale wrote:
> >There is a known issue with the new version of yum on RHEL/CentOS 5.2 ...
> >
> >You need to specify the packages like this:
> >
> >yum install <package_name>.x86_64
> >
> >not
> >
> >yum install <package_name>
> >
> >If you do not specify, then yum can install both (or either) of i386 or
> >x86_64 packages to meet that requirement.
>
> I think I found the offending package, I'll jump on the rf irc
> channel and see what I can make of this:
>
> # yum list *HiRes*
> Loading "fastestmirror" plugin
> Loading "priorities" plugin
> Loading mirror speeds from cached hostfile
> <snip>
> 257 packages excluded due to repository priority protections
> Available Packages
> perl-Time-HiRes.x86_64 1.9715-1.el5.rf rpmforge
> perl-Time-HiRes-Value.noarch 0.05-1.el5.rf rpmforge
>
> # yum install perl-Time-HiRes.x86_64
> Loading "fastestmirror" plugin
> Loading "priorities" plugin
> Loading mirror speeds from cached hostfile
> <snip>
> 257 packages excluded due to repository priority protections
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package perl.i386 4:5.8.8-10.el5_2.3 set to be updated
> --> Processing Dependency: libgdbm.so.2 for package: perl
> --> Running transaction check
> ---> Package gdbm.i386 0:1.8.0-26.2.1 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> =============================================================================
> Package Arch Version Repository Size
> =============================================================================
> Installing:
> perl i386 4:5.8.8-10.el5_2.3 extras 12 M
> Installing for dependencies:
> gdbm i386 1.8.0-26.2.1 base 27 k
>
> Transaction Summary
> =============================================================================
> Install 2 Package(s)
> Update 0 Package(s)
> Remove 0 Package(s)
>
> Total download size: 12 M
> Is this ok [y/N]:
Just to muddy the waters on this a bit more... for me, the rpmforge
perl-Time-HiRes package won't install as it conflicts with my base
installation of perl.
This is on a RHEL5.2 x86_64 system however.
# rpm -qf --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Time/HiRes.pm
perl-5.8.8-10.el5_2.3.x86_64
So it seems HiRes is already provided by perl, although the actual file
that conflicts is a man page.
(This is why I generally avoid rpmforge if I can :)
Ray
More information about the CentOS
mailing list