linux 降级
作者:互联网
降级为 260
-rw-r--r--. 1 root root 3804652 9月 26 10:36 glibc-2.17-260.el7.i686.rpm
-rw-r--r--. 1 root root 12048264 9月 26 10:36 glibc-common-2.17-260.el7.x86_64.rpm
-rw-r--r--. 1 root root 1120792 9月 26 10:36 glibc-devel-2.17-260.el7.x86_64.rpm
-rw-r--r--. 1 root root 699380 9月 26 10:36 glibc-headers-2.17-260.el7.x86_64.rpm
----------------------------------------------------
自带版本 317
glibc-common-2.17-317.el7.x86_64
glibc-devel-2.17-317.el7.x86_64
compat-glibc-headers-2.12-4.el7.centos.x86_64
glibc-2.17-317.el7.x86_64
glibc-headers-2.17-317.el7.x86_64
compat-glibc-2.12-4.el7.centos.x86_6
=============================
方法:
rpm -Uvh --oldpackage glibc-2.17-260.el7.i686.rpm glibc-common-2.17-260.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64.rpm glibc-headers-2.17-260.el7.x86_64.rpm
[root@localhost ~]# rpm -ivh -oldpackage glibc-2.17-260.el7.i686.rpm glibc-common-2.17-260.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64.rpm glibc-headers-2.17-260.el7.x86_64.rpm rpm: -oldpackage: 未知的选项 [root@localhost ~]# rpm -Uvh -oldpackage glibc-2.17-260.el7.i686.rpm glibc-common-2.17-260.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64.rpm glibc-headers-2.17-260.el7.x86_64.rpm rpm: -oldpackage: 未知的选项 [root@localhost ~]# rpm -Uvh glibc-2.17-260.el7.i686.rpm glibc-common-2.17-260.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64.rpm glibc-headers-2.17-260.el7.x86_64.rpm 准备中... ################################# [100%] 软件包 glibc-common-2.17-317.el7.x86_64 (比 glibc-common-2.17-260.el7.x86_64 还要新) 已经安装 软件包 glibc-2.17-317.el7.x86_64 (比 glibc-2.17-260.el7.x86_64 还要新) 已经安装 软件包 glibc-headers-2.17-317.el7.x86_64 (比 glibc-headers-2.17-260.el7.x86_64 还要新) 已经安装 软件包 glibc-devel-2.17-317.el7.x86_64 (比 glibc-devel-2.17-260.el7.x86_64 还要新) 已经安装 [root@localhost ~]# rpm -qa | grep glibc glibc-common-2.17-317.el7.x86_64 glibc-devel-2.17-317.el7.x86_64 compat-glibc-headers-2.12-4.el7.centos.x86_64 glibc-2.17-317.el7.x86_64 glibc-headers-2.17-317.el7.x86_64 compat-glibc-2.12-4.el7.centos.x86_64 [root@localhost ~]# rpm -Uvh --oldpackage glibc-2.17-260.el7.i686.rpm glibc-common-2.17-260.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64.rpm glibc-headers-2.17-260.el7.x86_64.rpm 准备中... ################################# [100%] 正在升级/安装... 1:glibc-common-2.17-260.el7 ################################# [ 13%] 2:glibc-2.17-260.el7 警告:/etc/nsswitch.conf 已建立为 /etc/nsswitch.conf.rpmnew ################################# [ 25%] 3:glibc-headers-2.17-260.el7 ################################# [ 38%] 4:glibc-devel-2.17-260.el7 ################################# [ 50%] 正在清理/删除... 5:glibc-devel-2.17-317.el7 ################################# [ 63%] 6:glibc-headers-2.17-317.el7 ################################# [ 75%] 7:glibc-common-2.17-317.el7 ################################# [ 88%] 8:glibc-2.17-317.el7 ################################# [100%] [root@localhost ~]# rpm -qa | grep glibc compat-glibc-headers-2.12-4.el7.centos.x86_64 glibc-2.17-260.el7.x86_64 glibc-common-2.17-260.el7.x86_64 glibc-devel-2.17-260.el7.x86_64 glibc-headers-2.17-260.el7.x86_64 compat-glibc-2.12-4.el7.centos.x86_64
标签:降级,x86,glibc,260,64,linux,2.17,el7 来源: https://blog.csdn.net/wsyzxss/article/details/120484958