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.
  • 相关阅读:
    BZOJ3000 斯特林公式
    组合数学一些结论
    CSP2019-JS 游记(总结)
    Atcoder AGC1~10 problem list
    ioi2015hw
    NOI2017解题报告
    HNOI2021游记
    4月做题记录
    WC2021题解
    P4592 [TJOI2018]异或
  • 原文地址:https://www.cnblogs.com/echo1937/p/7283072.html
Copyright © 2011-2022 走看看