Yum repository 'base' is absent, corrupted, or not enabled, installation may fail

Created:

2016-11-16 13:01:52 UTC

Modified:

2017-05-14 14:07:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Yum repository 'base' is absent, corrupted, or not enabled, installation may fail

Applicable to:

  • Plesk 10.4 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 17.0 for Linux

Symptoms

Unable to install any or some packages using Plesk autoinstaller with errors like the following ones:

Exception: Failed to solve dependencies:
Missing Dependency: libXaw.so.7()(64bit) is needed by package t1lib-5.1.2-2.el5.art.x86_64 (atomic)
Missing Dependency: php53-cli is needed by package psa-php53-configurator-1.6.3-cos5.build115130819.13.x86_64 (installed)
Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11011812.x86_64 (installed)
Missing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) is needed by package mysql-server-5.5.33-20.el5.art.x86_64 (atomic)

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

OR

Exception: Failed to solve dependencies:
mysql-5.5.44-30.el6.art.x86_64 requires real-mysql-libs(x86-64) = 5.5.44-30.el6.art
glibc-2.12-1.166.el6.i686 requires glibc-common = 2.12-1.166.el6
mysql-server-5.5.44-30.el6.art.x86_64 requires real-mysql-libs(x86-64) = 5.5.44-30.el6.art

OR

WARNING: Yum repository 'base' is absent or not enabled, installation may fail. 
WARNING: Yum repository 'updates' is absent or not enabled, installation may fail.

Cause

The standard CentOS repository files are missing in the /etc/yum.repos.d directory.

Resolution

Reinstall base repositories:

# cat /etc/redhat-release
CentOS release 6.7 (Final)

# yum reinstall http://vault.centos.org/6.7/os/x86_64/Packages/centos-release-6-7.el6.centos.12.3.x86_64.rpm

Have more questions? Submit a request
Please sign in to leave a comment.