首页 > 代码库 > How to safely downgrade or remove glibc with yum and rpm
How to safely downgrade or remove glibc with yum and rpm
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- glibc, glibc-common, glibc-devel, glibc-headers, nscd
Issue
- A 3rd party application requires an older version of glibc than what‘s currently installed on the system.
- How to downgrade glibc
- How to remove glibc
Resolution
- Check for the required version by running:
# yum list --showduplicates glibc
- Downgrade the glibc package(s) to the previous version by running the following (if the requirement is a specific version, it would need to be appended to the package names below):
# yum downgrade glibc glibc-common glibc-devel glibc-headers nscd
Root Cause
- glibc is a library that provides core functionality that much of the system relies on. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function.
- While this can also be accomplished with RPM. Red Hat does not recommend manually removing glibc without a verified backup.
How to safely downgrade or remove glibc with yum and rpm
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。