zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    处理器及其调度
    java面向对象
    操作系统概述
    mysql 基础操作
    java集合类详解
    java数组
    java方法
    Python—进程间通信
    Python—TCP的黏包问题以及UDP的分片问题
    Python—网络通信编程之tcp非阻塞通信(socketserver)
  • 原文地址:https://www.cnblogs.com/echo1937/p/7283072.html
Copyright © 2011-2022 走看看