zoukankan      html  css  js  c++  java
  • centos升级glibc过程

    [root@localhost ~]# rpm -qa |grep glibc
    glibc-common-2.12-1.132.el6.x86_64
    glibc-devel-2.12-1.132.el6.x86_64
    glibc-2.12-1.132.el6.x86_64
    glibc-headers-2.12-1.132.el6.x86_64
    [root@localhost ~]# ls
    anaconda-ks.cfg  install.log  install.log.syslog
    [root@localhost ~]# yum -y install yum-downloadonly
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * base: mirrors.skyshe.cn
     * extras: mirrors.opencas.cn
     * updates: mirrors.yun-idc.com
    base                                                                                                                                            | 3.7 kB     00:00     
    extras                                                                                                                                          | 3.4 kB     00:00     
    updates                                                                                                                                         | 3.4 kB     00:00     
    Setting up Install Process
    Package yum-plugin-downloadonly is obsoleted by yum, trying to install yum-3.2.29-69.el6.centos.noarch instead
    Resolving Dependencies
    --> Running transaction check
    ---> Package yum.noarch 0:3.2.29-40.el6.centos will be updated
    ---> Package yum.noarch 0:3.2.29-69.el6.centos will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    =======================================================================================================================================================================
     Package                           Arch                                 Version                                               Repository                          Size
    =======================================================================================================================================================================
    Updating:
     yum                               noarch                               3.2.29-69.el6.centos                                  base                               1.0 M

    Transaction Summary
    =======================================================================================================================================================================
    Upgrade       1 Package(s)

    Total download size: 1.0 M
    Downloading Packages:
    yum-3.2.29-69.el6.centos.noarch.rpm                                                                                                             | 1.0 MB     00:01     
    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    Importing GPG key 0xC105B9DE:
     Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
     Package: centos-release-6-5.el6.centos.11.1.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
     From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : yum-3.2.29-69.el6.centos.noarch                                                                                                                     1/2 
      Cleanup    : yum-3.2.29-40.el6.centos.noarch                                                                                                                     2/2 
      Verifying  : yum-3.2.29-69.el6.centos.noarch                                                                                                                     1/2 
      Verifying  : yum-3.2.29-40.el6.centos.noarch                                                                                                                     2/2 

    Updated:
      yum.noarch 0:3.2.29-69.el6.centos                                                                                                                                    

    Complete!

    [root@localhost ~]# mkdir /tmp/glibc


    [root@localhost ~]# yum -y install --downloadonly --downloaddir=/tmp/glibc *glibc*
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * base: mirrors.skyshe.cn
     * extras: mirrors.opencas.cn
     * updates: mirrors.yun-idc.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package compat-glibc.x86_64 1:2.5-46.2 will be installed
    ---> Package compat-glibc-headers.x86_64 1:2.5-46.2 will be installed
    ---> Package glibc.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc.x86_64 0:2.12-1.166.el6_7.7 will be an update
    ---> Package glibc-common.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-common.x86_64 0:2.12-1.166.el6_7.7 will be an update
    ---> Package glibc-devel.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-devel.x86_64 0:2.12-1.166.el6_7.7 will be an update
    ---> Package glibc-headers.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-headers.x86_64 0:2.12-1.166.el6_7.7 will be an update
    ---> Package glibc-static.x86_64 0:2.12-1.166.el6_7.7 will be installed
    ---> Package glibc-utils.x86_64 0:2.12-1.166.el6_7.7 will be installed
    --> Processing Dependency: libgd.so.2()(64bit) for package: glibc-utils-2.12-1.166.el6_7.7.x86_64
    --> Running transaction check
    ---> Package gd.x86_64 0:2.0.35-11.el6 will be installed
    --> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-11.el6.x86_64
    --> Running transaction check
    ---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =======================================================================================================================================================================
     Package                                        Arch                             Version                                       Repository                         Size
    =======================================================================================================================================================================
    Installing:
     compat-glibc                                   x86_64                           1:2.5-46.2                                    base                              1.2 M
     compat-glibc-headers                           x86_64                           1:2.5-46.2                                    base                              448 k
     glibc-static                                   x86_64                           2.12-1.166.el6_7.7                            updates                           1.4 M
     glibc-utils                                    x86_64                           2.12-1.166.el6_7.7                            updates                           170 k
    Updating:
     glibc                                          x86_64                           2.12-1.166.el6_7.7                            updates                           3.8 M
     glibc-common                                   x86_64                           2.12-1.166.el6_7.7                            updates                            14 M
     glibc-devel                                    x86_64                           2.12-1.166.el6_7.7                            updates                           986 k
     glibc-headers                                  x86_64                           2.12-1.166.el6_7.7                            updates                           615 k
    Installing for dependencies:
     gd                                             x86_64                           2.0.35-11.el6                                 base                              142 k
     libXpm                                         x86_64                           3.5.10-2.el6                                  base                               51 k

    Transaction Summary
    =======================================================================================================================================================================
    Install       6 Package(s)
    Upgrade       4 Package(s)

    Total download size: 23 M
    Downloading Packages:
    (1/10): compat-glibc-2.5-46.2.x86_64.rpm                                                                                                        | 1.2 MB     00:02     
    (2/10): compat-glibc-headers-2.5-46.2.x86_64.rpm                                                                                                | 448 kB     00:01     
    (3/10): gd-2.0.35-11.el6.x86_64.rpm                                                                                                             | 142 kB     00:00     
    (4/10): glibc-2.12-1.166.el6_7.7.x86_64.rpm                                                                                                     | 3.8 MB     00:19     
    (5/10): glibc-common-2.12-1.166.el6_7.7.x86_64.rpm                                                                                              |  14 MB     00:34     
    (6/10): glibc-devel-2.12-1.166.el6_7.7.x86_64.rpm                                                                                               | 986 kB     00:04     
    (7/10): glibc-headers-2.12-1.166.el6_7.7.x86_64.rpm                                                                                             | 615 kB     00:03     
    (8/10): glibc-static-2.12-1.166.el6_7.7.x86_64.rpm                                                                                              | 1.4 MB     00:07     
    (9/10): glibc-utils-2.12-1.166.el6_7.7.x86_64.rpm                                                                                               | 170 kB     00:00     
    (10/10): libXpm-3.5.10-2.el6.x86_64.rpm                                                                                                         |  51 kB     00:00     
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                  280 kB/s |  23 MB     01:24     
    exiting because --downloadonly specified
    [root@localhost ~]# cd /tmp/glibc/
    [root@localhost glibc]# ls
    compat-glibc-2.5-46.2.x86_64.rpm          glibc-2.12-1.166.el6_7.7.x86_64.rpm         glibc-headers-2.12-1.166.el6_7.7.x86_64.rpm  libXpm-3.5.10-2.el6.x86_64.rpm
    compat-glibc-headers-2.5-46.2.x86_64.rpm  glibc-common-2.12-1.166.el6_7.7.x86_64.rpm  glibc-static-2.12-1.166.el6_7.7.x86_64.rpm
    gd-2.0.35-11.el6.x86_64.rpm               glibc-devel-2.12-1.166.el6_7.7.x86_64.rpm   glibc-utils-2.12-1.166.el6_7.7.x86_64.rpm
    [root@localhost glibc]# rpm -qa |grep glibc
    glibc-common-2.12-1.132.el6.x86_64
    glibc-devel-2.12-1.132.el6.x86_64
    glibc-2.12-1.132.el6.x86_64
    glibc-headers-2.12-1.132.el6.x86_64
    [root@localhost glibc]# rpm -Uvh glibc*.rpm
    error: Failed dependencies:
          libgd.so.2()(64bit) is needed by glibc-utils-2.12-1.166.el6_7.7.x86_64
    [root@localhost glibc]# rpm -Uvh glibc*.rpm gd-2.0.35-11.el6.x86_64.rpm 
    error: Failed dependencies:
          libXpm.so.4()(64bit) is needed by gd-2.0.35-11.el6.x86_64
    [root@localhost glibc]# rpm -Uvh glibc*.rpm gd-2.0.35-11.el6.x86_64.rpm libXpm-3.5.10-2.el6.x86_64.rpm 
    Preparing...                ########################################### [100%]
       1:glibc-common           ########################################### [ 13%]
       2:glibc                  ########################################### [ 25%]
       3:glibc-headers          ########################################### [ 38%]
       4:glibc-devel            ########################################### [ 50%]
       5:libXpm                 ########################################### [ 63%]
       6:gd                     ########################################### [ 75%]
       7:glibc-utils            ########################################### [ 88%]
       8:glibc-static           ########################################### [100%]
    [root@localhost glibc]# 



    Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as Ants have big impact on environment as “ecosystem engineersecosystem engineers ecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineersecosystem engineers”





  • 相关阅读:
    边工作边刷题:70天一遍leetcode: day 95
    边工作边刷题:70天一遍leetcode: day 96-2
    边工作边刷题:70天一遍leetcode: day 96-1
    边工作边刷题:70天一遍leetcode: day 96
    边工作边刷题:70天一遍leetcode: day 97-3
    边工作边刷题:70天一遍leetcode: day 97-2
    边工作边刷题:70天一遍leetcode: day 97-1
    边工作边刷题:70天一遍leetcode: day 97
    边工作边刷题:70天一遍leetcode: day 40
    边工作边刷题:70天一遍leetcode: day 41-3
  • 原文地址:https://www.cnblogs.com/dennymami/p/5529806.html
Copyright © 2011-2022 走看看