Re: i386 version of Perl getting installed on x64 system?

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



on 7-6-2008 9:10 AM Ray Van Dolson spake the following:
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
If the man pages are the only conflict, will an rpm install with --excludedocs let it install?


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux