joepublic

Member
Nov 8, 2012
5
0
1
cPanel Access Level
Root Administrator
Hi,

I tried rebuilding apache today to include mysqli. During the easy apache build process, I received the following error:

Error: Multilib version problems found. This often means that the root
(XID a5ef5m) The system failed to execute yum with the arguments “-y -c /etc/yum.conf install glibc-dev automake libstdc++-devel.x86_64 libstdc++.x86_64 openssl ssl-dev lsof libltdl expat-devel krb5-devel openssl-dev autoconf261 libtool-ltdl libtool fileutils libltdl3-devel expat-dev libssl-dev e2fsprogs-devel libopenssl0-devel expat libz-devel gcc libopenssl0.9.7-devel glibc-devel gettext libtool-ltdl-devel lex gcc-c++ libopenssl0-dev readline-dev libltdl-devel flex readline-devel zlib-devel libstdc++-devel.x64_64 libstdc++-dev.x86_64 libidn libopenssl0 libidn-devel bison sed zlib1-devel krb5-dev gmake autoconf automake19 openssl-devel coreutils pam-dev libtool-libltdl-devel ca_root_nss libopenssl0.9.7-static-devel zlib cpp make pam-devel patch” because of an error: The “/usr/bin/yum” command (process 8550) reported error number 1 when it ended. : Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for libstdc++ which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libstdc++ of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libstdc++.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of libstdc++ installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of libstdc++ installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: libstdc++-4.4.7-16.el6.x86_64 != libstdc++-4.4.7-11.el6.i686
!! ensure() rc was '0', exit status was '', perl '$?' was '0', exit sig '0', core dump: '0', shell '$?' was '0' !!

!! Simulating failed Cpanel::SysPkgs as per 'simulate-failed-syspkgs' flag !!

!! Could not ensure pkglist 'glibc-dev, automake, libstdc++-devel.x86_64, libstdc++.x86_64, openssl, ssl-dev, lsof, libltdl, expat-devel, krb5-devel, openssl-dev, autoconf261, libtool-ltdl, libtool, fileutils, libltdl3-devel, expat-dev, libssl-dev, e2fsprogs-devel, libopenssl0-devel, expat, libz-devel, gcc, libopenssl0.9.7-devel, glibc-devel, gettext, libtool-ltdl-devel, lex, gcc-c++, libopenssl0-dev, readline-dev, libltdl-devel, flex, readline-devel, zlib-devel, libstdc++-devel.x64_64, libstdc++-dev.x86_64, libidn, libopenssl0, libidn-devel, bison, sed, zlib1-devel, krb5-dev, gmake, autoconf, automake19, openssl-devel, coreutils, pam-dev, libtool-libltdl-devel, ca_root_nss, libopenssl0.9.7-static-devel, zlib, cpp, make, pam-devel, patch' !!
!! The server's system package manager, 'YUM', failed. !!

!! direct ensure() call will be used (does not support get_command_arrayref_only): pkglist = 'glibc-dev automake libstdc++-devel.x86_64 libstdc++.x86_64 openssl ssl-dev lsof libltdl expat-devel krb5-devel openssl-dev autoconf261 libtool-ltdl libtool fileutils libltdl3-devel expat-dev libssl-dev e2fsprogs-devel libopenssl0-devel expat libz-devel gcc libopenssl0.9.7-devel glibc-devel gettext libtool-ltdl-devel lex gcc-c++ libopenssl0-dev readline-dev libltdl-devel flex readline-devel zlib-devel libstdc++-devel.x64_64 libstdc++-dev.x86_64 libidn libopenssl0 libidn-devel bison sed zlib1-devel krb5-dev gmake autoconf automake19 openssl-devel coreutils pam-dev libtool-libltdl-devel ca_root_nss libopenssl0.9.7-static-devel zlib cpp make pam-devel patch' !!

!! Please visit EasyApache FAQ - EasyApache - cPanel Documentation for help with this error. !!

!! Restoring original working apache !!
I tried doing a system update through WHM and get the following error:

Error: Package: 3:mailman-2.1.12-25.el6.x86_64 (base)
Requires: httpd
You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
3:mailman-2.1.12-18.el6.x86_64 has missing requires of httpd
1:mod_ssl-2.2.15-30.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '30.el6.centos')
1:mod_ssl-2.2.15-30.el6.centos.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd

yum exited 256

System update process has finished.
Can anyone point me in the right direction to fix this problem? Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

It looks like you may have installed a non-minimal instance of CentOS:

3:mailman-2.1.12-18.el6.x86_64 has missing requires of httpd
1:mod_ssl-2.2.15-30.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '30.el6.centos')
1:mod_ssl-2.2.15-30.el6.centos.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd
You can manually remove these packages, as these applications are handled with cPanel RPMs. Here's an example of how to remove one of the RPMs:

Code:
rpm -e --nodeps mailman-2.1.12-18.el6.x86_64
You should be able to successfully run "yum update" after removing these extra RPMs, or to at least proceed to troubleshoot the next YUM package issue.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.