A great linux stuff website

Monthly Archives: October 2015

The easy apache broken middle of the process and below error appears.

The server’s system package manager, ‘YUM’, failed. !!
!! direct ensure() call will be used (does not support get_command_arrayref_only): pkglist = ‘gettext automake19 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 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 lex autoconf’ !!

Solution: (Need to clear yum db and update)

# yum clean headers
>> Clean the yum header files.

# yum clean packages
>> Removing cache packages

# yum clean metadata
>> Remove all metadata

yum clean dbcache
DataBase Cache need to removing using above

# yum clean all

>> Clean everything in yum cache

# yum -y update
Yum update need to do if it still failed

# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update

It can also fix the issue by removing openssl library in your server using the following command:

# rpm -e openssl –nodeps –justdb –allmatches

Note: It could be also possible issue for duplicate GCC modules which are showing in error.
We can also try to exclude that parameter in yum.conf