YUM error, cant recompile apache

tomdchi

Well-Known Member
Feb 24, 2008
138
2
68
Atlanta, GA
cPanel Access Level
DataCenter Provider
Anyone else getting error below when yum update runs?

Code:
--> Running transaction check
---> Package openssl.i686 0:0.9.8e-20.el5_7.1 set to be updated
---> Package openssl-devel.i386 0:0.9.8e-20.el5_7.1 set to be updated
---> Package openssl-devel.x86_64 0:0.9.8e-20.el5_7.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package             Arch         Version                   Repository     Size
================================================================================
Updating:
openssl             i686         0.9.8e-20.el5_7.1         updates       1.4 M
openssl-devel       i386         0.9.8e-20.el5_7.1         updates       1.9 M
openssl-devel       x86_64       0.9.8e-20.el5_7.1         updates       1.9 M
Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       3 Package(s)
Total size: 5.2 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
  file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
  file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
  file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
  file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
  file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
  file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
Error Summary
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please try the following:

Code:
rpm -e --justdb --allmatches --nodeps openssl
If EasyApache still doesn't work after doing that command, re-run the command again, then edit /etc/yum.conf file and add the following into the exclude line it has:

openssl*i686*
openssl*i386*

At that point, it should work for EasyApache to recompile.
 

alphawolf50

Well-Known Member
Apr 28, 2011
186
2
68
cPanel Access Level
Root Administrator
I had this exact same problem yesterday. Today, I just ran "yum update" and it worked fine. Seems like there was an issue with the CentOS packages that they have corrected.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Yes, they keep having this same issue on openssl where someone at CentOS is putting the wrong arch type into the repository, causing openssl to fail to update properly. In the past 9 months, this has happened at least 3 times for either i686/i386 installing on 64-bit systems. As such, I would still suggest adding the exclude into /etc/yum.conf to keep the wrong arch type from trying to install in the future on the system.
 

monddia

Member
Sep 6, 2010
10
0
51
Hello i want to recompile the apache with easyapache, and i become this error:

!! The server's system package manager, 'YUM', failed. !!

!!
This is the command that failed: yum --exclude=kernel* -y install automake19 gettext libstdc++.x86_64 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel libstdc++-devel.x64_64 xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel liblve-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ zlib bison libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libstdc++-dev.x86_64 libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev autoconf lex !!

!!
Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at EaError < AllDocumentation < TWiki 3) Resolve the YUM problem manually 4) Re-run EasyApache !!

!! Please visit EaError < AllDocumentation < TWiki for help with this error. !!

!! Restoring original working apache !!

When i login into ssh and make yum update, i become this error:

Dependencies Resolved

==========================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================
Installing:
kernel x86_64 2.6.18-408.el5.lve0.8.58 cloudlinux-x86_64-server-5 22 M
kernel-headers x86_64 2.6.18-408.el5.lve0.8.58 cloudlinux-x86_64-server-5 1.0 M
replacing kernel-headers.x86_64 2.6.18-374.12.1.el5.lve0.8.54

Updating:
Deployment_Guide-de-DE noarch 5.8-1.el5 cloudlinux-x86_64-server-5 8.3 M
audit x86_64 1.8-2.el5 cloudlinux-x86_64-server-5 372 k
audit-libs i386 1.8-2.el5 cloudlinux-x86_64-server-5 80 k
audit-libs-python x86_64 1.8-2.el5 cloudlinux-x86_64-server-5 82 k
autofs x86_64 1:5.0.1-0.rc2.163.el5 cloudlinux-x86_64-server-5 939 k
cloudlinux-release noarch 5-8.1 cloudlinux-x86_64-server-5 17 k
crash x86_64 5.1.8-1.el5.cloudlinux cloudlinux-x86_64-server-5 2.3 M
cups x86_64 1:1.3.7-30.el5 cloudlinux-x86_64-server-5 3.1 M
cups-libs i386 1:1.3.7-30.el5 cloudlinux-x86_64-server-5 200 k
cups-libs x86_64 1:1.3.7-30.el5 cloudlinux-x86_64-server-5 196 k
cvs x86_64 1.11.22-11.el5_8.1 cloudlinux-x86_64-server-5 738 k
device-mapper i386 1.02.67-2.el5 cloudlinux-x86_64-server-5 799 k
device-mapper-event x86_64 1.02.67-2.el5 cloudlinux-x86_64-server-5 24 k
device-mapper-multipath x86_64 0.4.7-48.el5 cloudlinux-x86_64-server-5 3.0 M
dhclient x86_64 12:3.0.5-31.el5 cloudlinux-x86_64-server-5 286 k
firstboot-tui x86_64 1.4.27.9-1.el5 cloudlinux-x86_64-server-5 191 k
gnutls i386 1.4.1-7.el5_8.2 cloudlinux-x86_64-server-5 351 k
gnutls x86_64 1.4.1-7.el5_8.2 cloudlinux-x86_64-server-5 365 k
hwdata noarch 0.213.26-1.el5 cloudlinux-x86_64-server-5 423 k
ifd-egate x86_64 0.05-17.el5 cloudlinux-x86_64-server-5 23 k
iptables-ipv6 x86_64 1.3.5-9.1.el5 cloudlinux-x86_64-server-5 165 k
iscsi-initiator-utils x86_64 6.2.0.872-13.el5 cloudlinux-x86_64-server-5 1.0 M
kpartx x86_64 0.4.7-48.el5 cloudlinux-x86_64-server-5 444 k
ksh x86_64 20100621-5.el5_8.1 cloudlinux-x86_64-server-5 1.3 M
kudzu x86_64 1.2.57.1.26-3 cloudlinux-x86_64-server-5 233 k
libgcj i386 4.1.2-52.el5 cloudlinux-x86_64-server-5 16 M
libgcj x86_64 4.1.2-52.el5 cloudlinux-x86_64-server-5 18 M
libgfortran x86_64 4.1.2-52.el5 cloudlinux-x86_64-server-5 244 k
libgomp i386 4.4.6-3.el5.1 cloudlinux-x86_64-server-5 72 k
libgomp x86_64 4.4.6-3.el5.1 cloudlinux-x86_64-server-5 69 k
liblve x86_64 0.8-41.el5.cloudlinux cloudlinux-x86_64-server-5 20 k
liblve-devel x86_64 0.8-41.el5.cloudlinux cloudlinux-x86_64-server-5 10 k
libxml2-python x86_64 2.6.26-2.1.15.el5_8.2 cloudlinux-x86_64-server-5 714 k
lve x86_64 0.8-41.el5.cloudlinux cloudlinux-x86_64-server-5 8.6 k
lvm2 x86_64 2.02.88-7.el5 cloudlinux-x86_64-server-5 3.3 M
mesa-libGL i386 6.5.1-7.10.el5 cloudlinux-x86_64-server-5 9.6 M
mesa-libGL x86_64 6.5.1-7.10.el5 cloudlinux-x86_64-server-5 8.7 M
mesa-libGL-devel x86_64 6.5.1-7.10.el5 cloudlinux-x86_64-server-5 461 k
microcode_ctl x86_64 2:1.17-1.56.el5 cloudlinux-x86_64-server-5 548 k
mkinitrd i386 5.1.19.6-75.el5_8.1.cloudlinux cloudlinux-x86_64-server-5 480 k
mkinitrd x86_64 5.1.19.6-75.el5_8.1.cloudlinux cloudlinux-x86_64-server-5 469 k
nash x86_64 5.1.19.6-75.el5_8.1.cloudlinux cloudlinux-x86_64-server-5 1.1 M
net-snmp x86_64 1:5.3.2.2-17.el5 cloudlinux-x86_64-server-5 706 k
net-snmp-libs x86_64 1:5.3.2.2-17.el5 cloudlinux-x86_64-server-5 1.3 M
net-snmp-utils x86_64 1:5.3.2.2-17.el5 cloudlinux-x86_64-server-5 191 k
net-tools x86_64 1.60-82.el5 cloudlinux-x86_64-server-5 368 k
nfs-utils x86_64 1:1.0.9-60.el5 cloudlinux-x86_64-server-5 409 k
nfs-utils-lib x86_64 1.0.8-7.9.el5 cloudlinux-x86_64-server-5 67 k
nspr i386 4.8.9-1.el5_8 cloudlinux-x86_64-server-5 121 k
nss i386 3.13.1-5.el5_8 cloudlinux-x86_64-server-5 1.1 M
nss-tools x86_64 3.13.1-5.el5_8 cloudlinux-x86_64-server-5 1.1 M
nss_ldap i386 253-49.el5 cloudlinux-x86_64-server-5 1.4 M
nss_ldap x86_64 253-49.el5 cloudlinux-x86_64-server-5 1.4 M
openldap i386 2.3.43-25.el5 cloudlinux-x86_64-server-5 298 k
pam_krb5 i386 2.2.14-22.el5 cloudlinux-x86_64-server-5 150 k
pam_krb5 x86_64 2.2.14-22.el5 cloudlinux-x86_64-server-5 149 k
pam_pkcs11 i386 0.5.3-26.el5 cloudlinux-x86_64-server-5 280 k
pam_pkcs11 x86_64 0.5.3-26.el5 cloudlinux-x86_64-server-5 290 k
parted i386 1.8.1-29.el5 cloudlinux-x86_64-server-5 542 k
parted x86_64 1.8.1-29.el5 cloudlinux-x86_64-server-5 521 k
pciutils x86_64 3.1.7-5.el5 cloudlinux-x86_64-server-5 112 k
poppler x86_64 0.5.4-19.el5 cloudlinux-x86_64-server-5 3.0 M
poppler-utils x86_64 0.5.4-19.el5 cloudlinux-x86_64-server-5 75 k
rhpl x86_64 0.194.1-2.cloudlinux cloudlinux-x86_64-server-5 240 k
rng-utils x86_64 1:2.0-5.el5 cloudlinux-x86_64-server-5 17 k
selinux-policy noarch 2.4.6-327.el5 cloudlinux-x86_64-server-5 425 k
selinux-policy-targeted noarch 2.4.6-327.el5 cloudlinux-x86_64-server-5 1.3 M
setup noarch 2.5.58-9.el5 cloudlinux-x86_64-server-5 125 k
sos noarch 1.7-9.62.el5.cloudlinux cloudlinux-x86_64-server-5 162 k
sudo x86_64 1.7.2p1-13.el5 cloudlinux-x86_64-server-5 358 k
syslinux x86_64 3.11-7 cloudlinux-x86_64-server-5 474 k
system-config-network-tui noarch 1.3.99.21-1.el5 cloudlinux-x86_64-server-5 2.0 M
tzdata x86_64 2012b-3.el5 cloudlinux-x86_64-server-5 766 k
yp-tools x86_64 2.9-2.el5 cloudlinux-x86_64-server-5 74 k
yum noarch 3.2.22-39.el5.cloudlinux cloudlinux-x86_64-server-5 1.0 M
yum-fastestmirror noarch 1.1.16-21.el5 cloudlinux-x86_64-server-5 20 k
Removing:
kernel x86_64 2.6.18-194.32.1.el5 installed 92 M

Transaction Summary
==========================================================================================================================================
Install 2 Package(s)
Upgrade 76 Package(s)
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Total size: 128 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/include/libdevmapper-event.h from install of device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1 .02.63-4.el5.x86_64
file /usr/include/libdevmapper.h from install of device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1.02.63 -4.el5.x86_64
file /usr/share/man/man8/dmeventd.8.gz from install of device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1 .02.63-4.el5.x86_64
file /usr/share/man/man8/dmsetup.8.gz from install of device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1. 02.63-4.el5.x86_64
file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.3.43-25.el5.i386 conflicts with file from package openldap-2.3.43-12. el5_7.10.x86_64
I have see every when i restart the server yum shutdown failed...

Please help me
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
How do you believe the error might be fixed based on the prior suggestion in this thread? You appear to have two versions of device-mapper and two versions of openldap, so given the two versions of openssl were resolved this this command:

Code:
rpm -e --justdb --allmatches --nodeps openssl
What commands do you think should be run instead to correct the issue for device-mapper and openldap? Of note, you wouldn't run the rpm removal command for openssl, since openssl isn't impacted. You'd run it for device-mapper and openldap.