首页 > 其他 > 详细

How to safely downgrade or remove glibc with yum and rpm

时间:2017-08-04 09:20:10      阅读:217      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/echo1937/p/7283072.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!