Failed or Missing Dependency of glibc-common Error

The following error message or problem may appear when you’re using or running “/scripts/upcp” script (manual or schedule), “/scripts/rhlupdate” script from WebHost Manager (WHM) cPanel, “yum update” command, or “yum check-update” command in CentOS and Linux such as RedHat or Fedora:

Error: Missing Dependency: glibc-common = 2.3.4-2 is needed by package libc-dummy-centos-4

Note that the version number for glibc-common can be different from the above.

If the command ran has been successfully executed in the system before, but then suddenly give such a missing dependencies error message, the RPM database may have been corrupted. You can try to rebuild RPM database. If you’re using cPanel, you can easily rebuild RPM database by clicking on “Rebuild RPM Database” link in Software section which executes “/scripts/dialog?dialog=rebuildrpmdb” script.

In above resolution doesn’t work, in order to solve the problem or error, first thing to do is to check whether the RPM package has been installed or not. The following command can be used to check for the existence of installed glibc-common package:

sudo rpm -qa | grep glibc-common
Expected result: glibc-common-2.3.4-2
or

rpm -q glibc-common
Expected result: glibc-common-2.3.4-2

or

yum list glibc-common

Expected result:
Installed Packages
glibc-common.i386 2.3.4-2 installed
Available Packages
glibc-common.i386 2.3.4-2.9 base

If the glibc-common RPM package is not installed, you can install it with the following command as root user:

yum install glibc-common

The last command of “yum list glibc-common” is also needed to verify and ensure that the system architecture is matched with the version of glibc and glibc-common installed. Yum is set to respect architecture values, so if you have i386 version for 32-bit x86 system installed, both glibc and glibc-common should be of i386. It’s the same if you have i586 or i686 for x64 machine architecture. Beside, if you have i686 installed but only i386 version is available in the repository, or if you’re using the x86_64 distribution but with the i386 repository, both situation may cause a failure problem too.

To display what architecture a distribution of glibc and glibc-common is meant for, type the following command:

echo “%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}” >> ~/.rpmmacros

The command alters the way rpm command displays the output of “rpm -q” to a style which also include architecture value (such as rpm_name.arch). So in above example, you see glibc-common-2.3.4-2, and now you will see libc-common-2.3.4-2.9.i386 instead with the command of “rpm -q glibc-common”. Check out if both glibc and glibc-common is of i386 flavor.

If you’re on Virtuozzo or OpenVZ virtual server VPS with CentOS and cPanel platform, and getting the error that related to libc-dummy-centos-4 or libc-dummy-centos-3, you can remove the dummy file from SWSoft with the following command:

yum erase glibc-dummy-centos-3

or

yum erase glibc-dummy-centos-4

This will likely solve your problem as glibc-dummy-centos-3/4 no longer subjected to dependencies check and verification.


3 Responses to “Failed or Missing Dependency of glibc-common Error”

  1. Mittal Patel
    July 17th, 2009 01:04
    3

    Yes, that helped. Exactly what I was looking for… :)

  2. Connochie
    June 5th, 2008 19:56
    2

    Handy article – much appreciated!

  3. paul
    December 27th, 2007 23:11
    1

    very usefull, thank you!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

Error: Missing Dependency: glibc >= 2.4 is needed by package flash-plugin - Missing Dependency: glibc >= 2.4 is needed by package flash-plugin - Missing Dependency: glibc-common - Error: Missing Dependency: glibc-common - Missing Dependency: glibc >= 2.4 - 2.4 is needed by package flash-plugin - glibc 2.4 centos - centos-4-x86 failed virtuozzo - vstaldr is missing - Error: Missing Dependency: glibc-common = 2.5-34 is needed by package glibc-2.5-34.i386 (installed) - Error: Missing Dependency: glibc-common - flash glibc dependency - glibc-common 2.5-34 Fail dependencies - "vstaldr is missing" - glibc centos - Linux Centos flash-plugin- glibc - openvpn Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package openvpn - install package glibc-common-2.3.4 - error 4 in libc - yum install glibc-2.4 - linux glibc missing - rpm db check missing dependencies - centos+updating RPMS fails on boot - command dialog dependencies - Error: Missing Dependency: glibc-common = 2.10.1-2 - flash player debug glibc 2.3 error - linux+flash+player+centos+glibc >= 2.4 - Error: Missing Dependency: glibc-common = 2.5-34 is needed by package glibc-2.5-34.i386 - glibc-2.4 rpm x64-64 centos - glibc >= 2.4 is needed by package flash-plugin - ubuntu glibc failed dependencies - yum+glibc+flash+ - Missing Dependency: glibc >= 2.4 is needed by package flash-plugi - "Missing Dependency: glibc-common =" - restored glibc 2.5-34 - error in ATPluginInstall.exe on pda - error: Failed dependencies: glibc >= 2.4 - failed dependencies glibc - yum glibc - centos glibc-common - centos glibc 2.4 flash - error missing Dependancy GLIBC_2.7 mindo - glibc missing cydia - glibc 2.4 is needed by flash-plugin - "mydigitallife.info/2007/02/06/failed-or-missing-dependency-of-glibc-common-error/" - centos glibc-common-2.5 - glibc "error 4" - how restored glibc 2.5-34 - fedora 11 glibc-common.i586 fails - flash player yum no centos 4 -