老大请你帮忙看下,我是按cbynd的以下方法操作的,不知是否成功更新没有?万分感谢! cbynd你好,我是CentOS 6.3 64位的,现用ssh登陆服务器,按你如下方法操作的, CentOS 和 RedHat 更新方法如下: 1)用户使用root用户, 在系统上执行: # yum clean all; yum update glibc 2) 用户使用root用户, 在系统上执行: # y 3)以上命令执行完成后, 查看Glibc版本:# rpm -qa|grep glibc-2.12 (跟右侧对应glibc版本对应的话,说明修复成功) 但是更新后查看Glibc版本情况好象与你描述的不一样,烦请帮忙看看谢谢!详见下: [root@AY140115162727456ea9Z ~]# rpm -qa|grep glibc-2.12 glibc-2.12-1.149.el6_6.5.x86_64 这个是还没有更新前查看显示的代码: [root@AY140115162727456ea9Z ~]# rpm -qa|grep glibc-2.12 glibc-2.12-1.107.el6_4.2.x86_64 从更新前和更新后的代码看,不知究竟更新成功没有?帮忙确认下好吗! 以下是在ssh上更新时的完整代码: [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://wdlinux.cn/bbs/) | Powered by Discuz! 7.2 |