老大請(qǐng)你幫忙看下,我是按cbynd的以下方法操作的,不知是否成功更新沒(méi)有?萬(wàn)分感謝! cbynd你好,我是CentOS 6.3 64位的,現(xiàn)用ssh登陸服務(wù)器,按你如下方法操作的, CentOS 和 RedHat 更新方法如下: 1)用戶使用root用戶, 在系統(tǒng)上執(zhí)行: # yum clean all; yum update glibc 2) 用戶使用root用戶, 在系統(tǒng)上執(zhí)行: # y 3)以上命令執(zhí)行完成后, 查看Glibc版本:# rpm -qa|grep glibc-2.12 (跟右側(cè)對(duì)應(yīng)glibc版本對(duì)應(yīng)的話,說(shuō)明修復(fù)成功) 但是更新后查看Glibc版本情況好象與你描述的不一樣,煩請(qǐng)幫忙看看謝謝!詳見(jiàn)下: [root@AY140115162727456ea9Z ~]# rpm -qa|grep glibc-2.12 glibc-2.12-1.149.el6_6.5.x86_64 這個(gè)是還沒(méi)有更新前查看顯示的代碼: [root@AY140115162727456ea9Z ~]# rpm -qa|grep glibc-2.12 glibc-2.12-1.107.el6_4.2.x86_64 從更新前和更新后的代碼看,不知究竟更新成功沒(méi)有?幫忙確認(rèn)下好嗎! 以下是在ssh上更新時(shí)的完整代碼: [root@AY140115162727456ea9Z ~]# yum clean all; yum update glibc Loaded plugins: fastestmirror Cleaning repos: base extras rpmforge updates Cleaning up Everything Cleaning up list of fastest mirrors Loaded plugins: fastestmirror Determining fastest mirrors * base: mirrors.hustunique.com * extras: mirrors.hustunique.com * rpmforge: ftp.riken.jp * updates: mirrors.hustunique.com base | 3.7 kB 00:00 base/primary_db | 4.6 MB 00:08 extras | 3.4 kB 00:00 extras/primary_db | 30 kB 00:00 rpmforge | 1.9 kB 00:00 http://ftp.riken.jp/pub/Linux/dag/redhat/el5/en/x86_64/rpmforge/repodata/primary.sqlite.bz2: [Errno 12] Timeout on http://ftp.riken.jp/pub/Linux/dag/redhat/el5/en/x86_64/rpmforge/repodata/primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') Trying other mirror. rpmforge/primary_db | 7.0 MB 00:30 updates | 3.4 kB 00:00 updates/primary_db | 2.1 MB 00:03 Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package glibc.x86_64 0:2.12-1.107.el6_4.2 will be updated --> Processing Dependency: glibc = 2.12-1.107.el6_4.2 for package: glibc-devel-2.12-1.107.el6_4.2.x86_64 --> Processing Dependency: glibc = 2.12-1.107.el6_4.2 for package: nscd-2.12-1.107.el6_4.2.x86_64 --> Processing Dependency: glibc = 2.12-1.107.el6_4.2 for package: glibc-common-2.12-1.107.el6_4.2.x86_64 --> Processing Dependency: glibc = 2.12-1.107.el6_4.2 for package: glibc-headers-2.12-1.107.el6_4.2.x86_64 ---> Package glibc.x86_64 0:2.12-1.149.el6_6.5 will be an update --> Running transaction check ---> Package glibc-common.x86_64 0:2.12-1.107.el6_4.2 will be updated ---> Package glibc-common.x86_64 0:2.12-1.149.el6_6.5 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.107.el6_4.2 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.107.el6_4.2 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be an update ---> Package nscd.x86_64 0:2.12-1.107.el6_4.2 will be updated ---> Package nscd.x86_64 0:2.12-1.149.el6_6.5 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: glibc x86_64 2.12-1.149.el6_6.5 updates 3.8 M Updating for dependencies: glibc-common x86_64 2.12-1.149.el6_6.5 updates 14 M glibc-devel x86_64 2.12-1.149.el6_6.5 updates 983 k glibc-headers x86_64 2.12-1.149.el6_6.5 updates 612 k nscd x86_64 2.12-1.149.el6_6.5 updates 223 k Transaction Summary ================================================================================ Upgrade 5 Package(s) Total download size: 20 M Is this ok [y/N]: y Downloading Packages: (1/5): glibc-2.12-1.149.el6_6.5.x86_64.rpm | 3.8 MB 00:05 (2/5): glibc-common-2.12-1.149.el6_6.5.x86_64.rpm | 14 MB 00:25 (3/5): glibc-devel-2.12-1.149.el6_6.5.x86_64.rpm | 983 kB 00:01 (4/5): glibc-headers-2.12-1.149.el6_6.5.x86_64.rpm | 612 kB 00:01 (5/5): nscd-2.12-1.149.el6_6.5.x86_64.rpm | 223 kB 00:00 -------------------------------------------------------------------------------- Total 589 kB/s | 20 MB 00:34 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : glibc-2.12-1.149.el6_6.5.x86_64 1/10 Updating : glibc-common-2.12-1.149.el6_6.5.x86_64 2/10 Updating : glibc-headers-2.12-1.149.el6_6.5.x86_64 3/10 Updating : glibc-devel-2.12-1.149.el6_6.5.x86_64 4/10 Updating : nscd-2.12-1.149.el6_6.5.x86_64 5/10 warning: /etc/nscd.conf created as /etc/nscd.conf.rpmnew Cleanup : glibc-devel-2.12-1.107.el6_4.2.x86_64 6/10 Cleanup : glibc-headers-2.12-1.107.el6_4.2.x86_64 7/10 Cleanup : nscd-2.12-1.107.el6_4.2.x86_64 8/10 Cleanup : glibc-common-2.12-1.107.el6_4.2.x86_64 9/10 Cleanup : glibc-2.12-1.107.el6_4.2.x86_64 10/10 Verifying : nscd-2.12-1.149.el6_6.5.x86_64 1/10 Verifying : glibc-common-2.12-1.149.el6_6.5.x86_64 2/10 Verifying : glibc-devel-2.12-1.149.el6_6.5.x86_64 3/10 Verifying : glibc-headers-2.12-1.149.el6_6.5.x86_64 4/10 Verifying : glibc-2.12-1.149.el6_6.5.x86_64 5/10 Verifying : glibc-2.12-1.107.el6_4.2.x86_64 6/10 Verifying : nscd-2.12-1.107.el6_4.2.x86_64 7/10 Verifying : glibc-devel-2.12-1.107.el6_4.2.x86_64 8/10 Verifying : glibc-headers-2.12-1.107.el6_4.2.x86_64 9/10 Verifying : glibc-common-2.12-1.107.el6_4.2.x86_64 10/10 Updated: glibc.x86_64 0:2.12-1.149.el6_6.5 Dependency Updated: glibc-common.x86_64 0:2.12-1.149.el6_6.5 glibc-devel.x86_64 0:2.12-1.149.el6_6.5 glibc-headers.x86_64 0:2.12-1.149.el6_6.5 nscd.x86_64 0:2.12-1.149.el6_6.5 Complete! [root@AY140115162727456ea9Z ~]# rpm -qa|grep glibc-2.12 glibc-2.12-1.149.el6_6.5.x86_64 [root@AY140115162727456ea9Z ~]# |
歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) | Powered by Discuz! 7.2 |