perl conflicts while installing it (perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64)

We are trying to install cloudmin in xen instance which runs CentOS release 5.8 (Final). The instance has following repository setup (see bellow)

and getting following error and how can we resolve this

from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64

thanks for the support

uname -a Linux git.lncare.com 2.6.18-194.11.1.el5xen #1 SMP Tue Aug 10 19:41:55 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: less.cogeco.net * epel: fedora.mirror.nexicom.net * extras: less.cogeco.net * remi: remi-mirror.dedipower.com * rpmforge: mirror.teklinks.com * updates: less.cogeco.net repo id repo name status addons CentOS-5 - Addons 0 base CentOS-5 - Base 3,591 cloudmin-universal Cloudmin Distribution Neutral 121 epel Extra Packages for Enterprise Linux 5 - x86_64 7,084 extras CentOS-5 - Extras 273 remi Les RPM de remi pour Enterprise Linux 5 - x86_64 736 rpmforge RHEL 5 - RPMforge.net - dag 11,090 updates CentOS-5 - Updates 770

rpm -qa | grep perl perl-DBI-1.611-1.el5.rf perl-URI-1.35-3 perl-HTML-Tagset-3.10-2.1.1 perl-Net-SNMP-5.2.0-1.2.el5.rf perl-IO-Socket-SSL-1.01-1.fc6 perl-TimeDate-1.16-5.el5 perl-Test-Pod-1.45-1.el5.rf perl-TermReadKey-2.30-4.el5 perl-Error-0.17010-1.el5 perl-Git-1.7.11.1-1.el5.rf perl-Compress-Zlib-1.42-1.fc6 perl-HTML-Parser-3.55-1.fc6 perl-Digest-SHA1-2.11-1.2.1 perl-Socket6-0.19-3.fc6 perl-Digest-HMAC-1.01-15 perl-5.8.8-38.el5 perl-MailTools-2.09-1.el5.rf perl-Net-SSLeay-1.30-4.fc6 perl-Authen-SASL-2.15-1.el5.rf perl-Pod-Simple-3.16-1.el5.rf openssl-perl-0.9.8e-22.el5_8.4 perl-Pod-Escapes-1.04-5.el5 subversion-perl-1.6.11-10.el5_8 perl-libwww-perl-5.805-1.1.1 perl-Crypt-DES-2.05-3.2.el5.rf perl-Email-Valid-0.184-1.el5.rf perl-Net-SMTP-SSL-1.01-4.el5 perl-YAML-0.72-1.el5.rf perl-Mail-Sendmail-0.79-9.el5.1

Status: 
Closed (fixed)

Comments

Howdy -- it looks like you have some third party repositories enabled, which may cause some problems with updates on your system. I'd recommend disabling third party repositories, and only pulling in packages you need from them.

However, that's not likely the culprit here -- we've occasionally seen issues where conflicting versions of Perl were installed on CentOS 5.

There's details here on how to resolve that at the following URL, in the section titled "Why Is 32bit Perl installed on my 64bit CentOS System":

https://www.virtualmin.com/documentation/system/faq

in the system i don't have perl .i386 package, seem like the installer trying to install it and getting that error

rpm -qa --qf "%{n}-%{arch}\n" | grep -v noarch | grep -v x86_64 | grep perl

i got nothing for the above command

ile /usr/share/man/man1/piconv.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64

rpm -qa --qf "%{n}-%{arch}\n" | grep -v noarch | grep perl perl-DBI-x86_64 perl-TermReadKey-x86_64 perl-Git-x86_64 perl-Compress-Zlib-x86_64 perl-HTML-Parser-x86_64 perl-Digest-SHA1-x86_64 perl-Socket6-x86_64 perl-x86_64 perl-Net-SSLeay-x86_64 openssl-perl-x86_64 subversion-perl-x86_64 perl-Crypt-DES-x86_64

in the system i don't have perl .i386 package, seem like the installer trying to install it and getting that error

rpm -qa --qf "%{n}-%{arch}\n" | grep -v noarch | grep -v x86_64 | grep perl

i got nothing for the above command

ile /usr/share/man/man1/piconv.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64 file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64

rpm -qa --qf "%{n}-%{arch}\n" | grep -v noarch | grep perl perl-DBI-x86_64 perl-TermReadKey-x86_64 perl-Git-x86_64 perl-Compress-Zlib-x86_64 perl-HTML-Parser-x86_64 perl-Digest-SHA1-x86_64 perl-Socket6-x86_64 perl-x86_64 perl-Net-SSLeay-x86_64 openssl-perl-x86_64 subversion-perl-x86_64 perl-Crypt-DES-x86_64

what is the good email to contact you, seem like this bug tracker has issues around 4/5 out times its time ou tor give different errors

@Painful,

I ran into the exact same issue and the fix was to edit the install script as shown here :

Find the yum install -y perl section of the install script :

# YUM install Perl, modules and other dependencies
echo Installing required Perl modules using YUM ..
yum install -y perl openssl perl-Net-SSLeay vixie-cron bind bind-utils kernel-xen kernel-xen-devel xen xen-libs lsof

Change perl to perl.x86_64. :

# YUM install Perl, modules and other dependencies
echo Installing required Perl modules using YUM ..
yum install -y perl.x86_64 openssl perl-Net-SSLeay vixie-cron bind bind-utils kernel-xen kernel-xen-devel xen xen-libs lsof

Hope that helps,

~Jeremy

I removed other external repository, i was able to install it

I removed other external repository, i was able to install it