Error: The Server’s System Package Manager, YUM Failed

Error: The Server’s System Package Manager, YUM Failed

Error: The Server’s System Package Manager, YUM Failed

Easyapache is a software, executed with the combination of cPanel Linux server to install, validate and modify Apache Web Server, Tomcat, PHP and other web server components. This software is very useful to modify the web server. Powerful tool available in cPanel/WHM which is used to configure and update Apache web server. It can be accessed through the methods like WHM Panel or command line (SSH).

When Easyapache fails to work, you may get The Server’s System Package Manager, YUM Failed Error in Yum File. This error is due to 32 bit and 64 bit packages. To avoid error you have to install the correct packages according to the OS bit.

YUM is YellowDog Updater Modified, an open source graphical and command-line based management tool for RedHat Package Manager (RPM). With this system admin and user can install, search or remove software packages easily. It uses many third party repositories for installing packages and resolves the dependency issues on the server.

You can solve The Server’s System Package Manager, YUM Failed error with the following methods.

Method 1:

Run following commands

Code:
# yum clean header
This command is used for eliminating the header filed that are used by YUM for dependency resolution.

Code:
#yum clean package
This removes all the packages available in caches.

Code:
#yum clean metadata
This command is used to remove metadata.

Code:
#yum clean dbcache
This removes dbcache.

Code:
#yum clean all
This command is used to clean all. Run the easyapache now. If the above commands didn’t fix the problem, run update command.

Method 2:

Package manager has to work properly to find the issues when easyapache fails.

Code:
#yum  -y update
Run the update command. If this command didn’t work or solve the issue, it may be due to RPM database corruption which is available /var/lib/rpm/ location. Below commands are executed to resolve this problem.

Code:
#rm –fvar/lib/rpm/_db.*
#rpm –vv –rebuilddb
#rpm –y update
If you finish the update, run the easyapache , it must work properly without any error now.

Method 3:

If you get the error again, you have to check the OpenSSL command available on the server.

Code:
file/usr/lib/openssl/engines/libsureware.so from install of openssl-0.9.8e-12.el5_5.7.i386 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i686

file/usr/lib/openssl/engines/libubsec.so from install of openssl-0.9.8e-12.el5_5.7.i386 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i686
Error occurs in OpenSSL as the CentOS teams upload the i3486 package instead of i686 repository. Now you have to reinstall OpenSSL with the below command

Code:
#rpm –e –justdb –nodeps openssl.i386
#yum install openssl
After finishing the reinstallation, run the easyapache. While running update command you may get the following error.

Code:
—> Package shared-mime-info.x86_64 0:0.70-4.el6 will be installed

–> Finished Dependency Resolution
Error: Package: clamav-0.98.3-1.el5.x86_64 (epel)
Requires: libcurl.so.3()(64bit)
You could try using –skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), ‘yum check’ output follows:
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = (‘0’, ‘8.14.4’, ‘8.el6’)
Run the below command

Code:
rpm -e –justdb –nodeps libstdc++-4.4.7-3.el6.i686
Now run the easyapache, the error will be resolved now.







Author
Bhawani Singh
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bhawani Singh

Top