Glibc library updation failing
Hello
Please help on this error.
RHSA-2015-0090 for this vulnerability issue need to upgrade glibc version from glibc-2.5-107.el5_9.5.x86_64 to glibc-2.5-123.el5_11.1.x86_64.
But while upgrade it throws dependency error.
error: Failed dependencies:
glibc-common = 2.5-123.el5_11.1 is needed by glibc-2.5-123.el5_11.1.x86_64.
i try to upgrade glibc-common-2.5-123.el5_11.1.x86_64.rpm but it is also throws same dependency error
error: Failed dependencies:
glibc-common = 2.5-107.el5_9.5 is needed by (installed) glibc-2.5-107.el5_9.5.i686
glibc-common = 2.5-107.el5_9.5 is needed by (installed) glibc-2.5-107.el5_9.5.x86_64
i try to install and upgrade for previous installed versions of glibc but same dependency error .
rpm -Uvh glibc-common-2.5-107.el5_9.5.x86_64.rpm
Preparing... ########################################### [100%]
package glibc-common-2.5-107.el5_9.5.x86_64 is already installed.
rpm -ev glibc-common-2.5-107.el5_9.5
error: Failed dependencies:
glibc-common = 2.5-107.el5_9.5 is needed by (installed) glibc-2.5-107.el5_9.5.i686
glibc-common = 2.5-107.el5_9.5 is needed by (installed) glibc-2.5-107.el5_9.5.x86_64
Please help me how to upgrade glibc.
Responses
Magesh,
It is preferable to use yum when carrying out package upgrades as it can automatically determine and update dependencies (as long as repositories are configured correctly).
Judging by the above commands you are attempting to use rpm to update the packages independently, is this correct?
If you are using rpm, upgrade the primary package and its dependencies at the same time, in the same command. eg.
rpm -Uvh glibc-<version>.rpm glibc-common<version>.rpm
If this doesn't work for you, please post the exact commands you are running when attempting the upgrade.
Your first error is due to architecture (package install is i686, you're installing x86_64), which architecture is the installed OS?
uname -p
uname -a
What does the following provide?
yum repolist
glibc should definitely be in your primary repo. Have you configured the OS for updates?
I have exactly the same issue when I try to update my glibc to 2.12-1.166* asking for a bunch of dependencies and even I use yum update and yum install get the same error and when I do yum repolist : it shows rhel-x86_64-server-6 RedHat Enterprise Linux Server (v. 6 for 64-bit x86 12,972 repolist: 12972
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
