1. 程式人生 > >CentOS 6.x系統升級glibc庫至2.15版本的快速解決辦法

CentOS 6.x系統升級glibc庫至2.15版本的快速解決辦法

created str sha -m nokey alt 軟件 2.6 new

1、先確保相關軟件包已經安裝
yum install -y glibc glibc-common glibc-devel glibc-headers glibc-static glibc-utils

2、下載升級所需軟件包
下載地址:http://ftp.redsleeve.org/pub/steam/

wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-utils-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-common-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-headers-2.15-60.el6.x86_64.rpm 

3、升級
[root@VM_110_15_centos glibc]# rpm -Uvh *.rpm warning: glibc-2.15-60.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID ea675ea0: NOKEY Preparing... ########################################### [100%] 1:glibc-common ########################################### [ 11%] /usr/sbin/build-locale-archive: /lib64/libc.so.6: version `GLIBC_2.14‘ not found (required by /usr/sbin/build-locale-archive) /usr/sbin/build-locale-archive: /lib64/libc.so.6: version `GLIBC_2.14‘ not found (required by /usr/sbin/build-locale-archive) 2:glibc ########################################### [ 22%] 3:glibc-headers ########################################### [ 33%] 4:glibc-devel ########################################### [ 44%] 5:glibc-utils ########################################### [ 56%] 6:glibc warning: /etc/localtime created as /etc/localtime.rpmnew warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew warning: /etc/rpc created as /etc/rpc.rpmnew warning: /usr/lib/gconv/gconv-modules created as /usr/lib/gconv/gconv-modules.rpmnew ########################################### [ 67%] 7:glibc-devel ########################################### [ 78%] 8:glibc-static ########################################### [ 89%] 9:glibc-static ########################################### [100%]

4、驗證升級結果

[root@VM_110_15_centos lib64]# strings libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_PRIVATE

等幾分鐘之後即可

CentOS 6.x系統升級glibc庫至2.15版本的快速解決辦法