glibc package installation

Latest response

Dears

i'm trying to install the glibc package but i'm facing this message" does not update installed package.
Error: Nothing to do"
can you support me

Best Regards
Ilyasse

Responses

Hi Ilyasse,

try yum update glibc for you cannot have two versions of glibc installed on one server.

Regards,

Jan Gerrit

Thank you Jan for your response

but even with yum update it's not installed [root@NACAPP1P RHEL69]# yum update glibc-common-2.12-1.192.el6.x86_64.rpm Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security Setting up Update Process Examining glibc-common-2.12-1.192.el6.x86_64.rpm: glibc-common-2.12-1.192.el6.x86_64 glibc-common-2.12-1.192.el6.x86_64.rpm: does not update installed package. No Packages marked for Update [root@NACAPP1P RHEL69]#

Please show output of rpm -q glibc-common

[root@NACAPP1P RHEL69]# rpm -q glibc-common-2.12-1.192.el6.x86_64.rpm package glibc-common-2.12-1.192.el6.x86_64.rpm is not installed [root@NACAPP1P RHEL69]#

how about the output of rpm -q glibc-common? Which RHEL release is installed?

[root@NACAPP1P ~]# rpm -q glibc-common glibc-common-2.12-1.209.el6.x86_64 [root@NACAPP1P ~]# the RHEL release installed is 6.9

Hi Ilyasse,

Do you have a need for a lower release of glbic?

If so, run yum downgrade glibc-common-2.12-1.209.el6.x86_64

Be aware that this might cause major issues with applications or Operating System packages that are linked to the current release of glibc.

Kind regards,

Jan Gerrit

do you mean that RHEL 6.9 not support the glibc packages

BR ilyasse

Author: ilyasse amara do you mean that RHEL 6.9 not support the glibc packages

The release you wish to install is older than the one on your server, downgrading is not a good practise. The one installed has more security patches and bug fixes, then the one you are trying to "install".

yes i'm aware with this but also the new one glibc release can be installed see below

[root@NACAPP1P work]# rpm -q glibc-common-2.12-1.209.el6.x86_64.rpm [root@NACAPP1P work]# yum -y install glibc-common-2.12-1.209.el6.x86_64.rpm Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security Setting up Install Process Examining glibc-common-2.12-1.209.el6.x86_64.rpm: glibc-common-2.12-1.209.el6.x86_64 glibc-common-2.12-1.209.el6.x86_64.rpm: does not update installed package. Error: Nothing to do [root@NACAPP1P work]# yum update glibc-common-2.12-1.209.el6.x86_64.rpm Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security Setting up Update Process Examining glibc-common-2.12-1.209.el6.x86_64.rpm: glibc-common-2.12-1.209.el6.x86_64 glibc-common-2.12-1.209.el6.x86_64.rpm: does not update installed package. No Packages marked for Update package glibc-common-2.12-1.209.el6.x86_64.rpm is not installed [root@NACAPP1P work]# rpm -q glibc-common glibc-common-2.12-1.209.el6.x86_64 [root@NACAPP1P work]#

If you wish to update "glibc" then run "yum update glibc", why are you running "yum -y install glibc-common-2.12-1.209.el6.x86_64.rpm".... ? In fact, glibc-common is a dependency for "glibc" package.

Simply run the command "rpm -q glibc" and post the details here. Also, please format your reply so that it would look nice..

I guess you get confused by the options of yum.

1) you download a rpm manually and have to provide the complete rpm file name (the complete file name as it is shown on disk, if you do not mention the complete or relative path it will look in the current working directory)

2) you request yum to check the repositories it knows from the files in /etc/yum.repos.d in this case you only have to provide the rpm name or name-version as it is known in the rpm-database (e.g. shown by rpm -q glibc or rpm -q glibc-common, or rpm -qa if you do not know the name)

You choose option 1), but do not have the rpm file in your current working directory.

The rpm database query rpm -q shows that the software package (rpm content) is already installed.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.