• 通过 yum update 将系统从CentOS 6.2 升级到 CentOS 6.6 及升级过程中的简单排错


    本文说明

    本文写于2014年的WP中,后WP停止维护,今天翻到此记录整理下,记录于此,方便日后查看.

    话说那时候写博客真是认真啊~哈哈~

    升级前的系统信息

    [root@thatsit ~]# uname -a
    Linux thatsit 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
    [root@thatsit ~]# uname -r
    2.6.32-220.el6.x86_64
    [root@thatsit ~]# uname -m
    x86_64
    [root@thatsit ~]# cat /etc/redhat-release
    CentOS release 6.2 (Final)
    [root@thatsit ~]#

    故障处理过程

    直接运行 yum -y update报错:
    提示#1, 有依赖关系存在问题,需要libqpidclient.so.5
    提示#2, 可以通过加 --skip-broken 进行尝试。
     
    #1,首先根据 报错的提示信息 Requires: libqpidclient.so.5()(64bit) 猜测系统环境变量的路径中缺少库文件,在系统中查找并创建软链接或拷贝到对饮的目录下。
    找到在/usr/lib64下存在libqpidclient.so.5 和 libqpidclient.so.5.0.0 两个文件,尝试创建软链接到/usr/loacl/lib64/,重试,问题未能解决。
    #2,将/usr.lib64下libqpid*拷贝到/usr/loacl/lib64/,重试,问题未能解决。
    [root@thatsit lib64]# ll
    total 0
    lrwxrwxrwx. 1 root root 33 Nov 14 19:30 libqpidclient.so.5.0.0 -> /usr/lib64/libqpidclient.so.5.0.0
    [root@thatsit ~]#
    [root@thatsit ~]# ln -s  /usr/lib64/libqpidclient.so.5 /usr/local/lib64/
    [root@thatsit ~]#
    [root@thatsit lib64]# cp  /usr/lib64/lib
    Display all 505 possibilities? (y or n)
    [root@thatsit lib64]# cp  /usr/lib64/libqpid
    libqpidbroker.so.5         libqpidcommon.so.5         libqpidtypes.so.1
    libqpidbroker.so.5.0.0     libqpidcommon.so.5.0.0     libqpidtypes.so.1.2.0
    libqpidclient.so.5         libqpidmessaging.so.3     
    libqpidclient.so.5.0.0     libqpidmessaging.so.3.1.0 
    [root@thatsit lib64]# cp  /usr/lib64/libqpid* ./

    #3,前面的方法无果,遂尝试 yum -y update --skip-broken 

    #4,升级过程跳过忽略的坏的依赖,顺利完成,重启设备查看,升级成功。
    #5,网络查询,寻求更多的方法进行操作。
      
    #更新详细过程:
    [root@thatsit lib64]# yum  -y update      
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * c6-media:
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    ....
    ....省略若干行....
    ....
    --> Running transaction check
    ---> Package ORBit2.x86_64 0:2.14.17-3.1.el6 will be updated
    ....
    ....省略若干行....
    ....#检查要升级的软件包和需要安装的依赖
    --> Finished Dependency Resolution
    Error: Package: matahari-host-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidclient.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidclient.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-service-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidcommon.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidcommon.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-agent-lib-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidclient.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidclient.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-network-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidcommon.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidcommon.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-host-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidcommon.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidcommon.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-sysconfig-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidclient.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidclient.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-sysconfig-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidcommon.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidcommon.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-service-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidclient.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidclient.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-agent-lib-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidcommon.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidcommon.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    Error: Package: matahari-network-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               Requires: libqpidclient.so.5()(64bit)
               Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
                   libqpidclient.so.5()(64bit)
               Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)
                   Not found
    You could try using --skip-broken to work around the problem    ####提示运行 --skip-broken    
    You could try running: rpm -Va --nofiles --nodigest

    #忽略依赖进行升级

    [root@thatsit lib64]# yum  -y update --skip-broken  
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * c6-media:
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    ....
    ....省略若干行....
    ....
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package xxxx will be updated
    ---> Package xxxx will be an update
    ....
    ....省略若干行....
    ....
    --> Finished Dependency Resolution
    
    #由于依赖问题,忽略的包。
    Packages skipped because of dependency problems:
        qpid-cpp-client-0.14-22.el6_3.x86_64 from base
        qpid-cpp-client-ssl-0.14-22.el6_3.x86_64 from base
        qpid-cpp-server-0.14-22.el6_3.x86_64 from base
        qpid-cpp-server-ssl-0.14-22.el6_3.x86_64 from base
        qpid-qmf-0.14-14.el6_3.x86_64 from base
    
    Dependencies Resolved
    
    ===================================================================================
    Package                     Arch   Version                          Repository
                                                                                  Size
    ===================================================================================
    Installing:
    kernel                      x86_64 2.6.32-504.1.3.el6               updates  29 M
    libjpeg-turbo               x86_64 1.2.1-3.el6_5                    base    174 k
         replacing  libjpeg.x86_64 6b-46.el6
    Updating:
    ORBit2                      x86_64 2.14.17-5.el6                    base    168 k
    atk                         x86_64 1.30.0-1.el6                     base    195 k
    ....
    ....省略若干行....
    ....
    Transaction Summary    ##事务概要
    ===================================================================================
    Install       8 Package(s)
    Upgrade     207 Package(s)
    
    Total download size: 177 M
    Downloading Packages:
    (1/215): ORBit2-2.14.17-5.el6.x86_64.rpm                    | 168 kB     00:00    
    ....
    ....省略若干行....
    ....
    (215/215): zlib-1.2.3-29.el6.x86_64.rpm                     |  73 kB     00:00    
    -----------------------------------------------------------------------------------
    Total                                              4.6 MB/s | 177 MB     00:38    
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : libgcc-4.4.7-11.el6.x86_64                                    1/423
      Updating   : cjkuni-fonts-common-0.2.20080216.1-36.el6.noarch              2/423
      Updating   : setup-2.8.14-20.el6_4.1.noarch                                3/423
    warning: /etc/group created as /etc/group.rpmnew
    warning: /etc/gshadow created as /etc/gshadow.rpmnew
    warning: /etc/shadow created as /etc/shadow.rpmnew
      Updating   : centos-release-6-6.el6.centos.12.2.x86_64                     4/423
    warning: /etc/issue created as /etc/issue.rpmnew
    warning: /etc/yum.repos.d/CentOS-Base.repo created as /etc/yum.repos.d/CentOS-Base.repo.rpmnew
    warning: /etc/yum.repos.d/CentOS-Media.repo created as /etc/yum.repos.d/CentOS-Media.repo.rpmnew
      Updating   : tzdata-2014i-1.el6.noarch                                     5/423
    ....
    ....省略若干行....
    ....  
      Updating   : pam-1.1.1-20.el6.x86_64                                      78/423
    warning: /etc/security/limits.conf created as /etc/security/limits.conf.rpmnew
       ....
    ....省略若干行....
    ....
    warning: /etc/sysctl.conf created as /etc/sysctl.conf.rpmnew
       ....
    ....省略若干行....
    ....
      Updating   : selinux-policy-targeted-3.7.19-260.el6.noarch               181/423
    ***************************************
      Updating   : system-config-firewall-base-1.2.27-7.1.el6.noarch           182/423
      Updating   : lvm2-2.02.111-2.el6.x86_64                                  183/423
      Updating   : openssh-server-5.3p1-104.el6_6.1.x86_64                     184/423
    warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
      Updating   : openssh-clients-5.3p1-104.el6_6.1.x86_64                    185/423
      Updating   : bfa-firmware-3.2.23.0-2.el6.noarch                          186/423
      Updating   : vsftpd-2.2.2-13.el6_6.1.x86_64                              187/423
    warning: /etc/vsftpd/vsftpd.conf created as /etc/vsftpd/vsftpd.conf.rpmnew
      Updating   : avahi-0.6.25-15.el6.x86_64                                  188/423
      Updating   : boost-1.41.0-25.el6.x86_64                                  189/423
      Updating   : passwd-0.77-4.el6_2.2.x86_64                                190/423
      Updating   : gnupg2-2.0.14-8.el6.x86_64                                  191/423
      Updating   : sudo-1.8.6p3-15.el6.x86_64                                  192/423
    warning: /etc/sudoers created as /etc/sudoers.rpmnew
      Updating   : authconfig-6.1.12-19.el6.x86_64                             193/423
      Updating   : 1:grub-0.97-93.el6.x86_64                                   194/423
    ....
    ....省略若干行....
    ....
      Cleanup    : tzdata-2011l-4.el6.noarch                                   422/423
      Cleanup    : libgcc-4.4.6-3.el6.x86_64                                   423/423

    #最终升级结果

    Installed:
      kernel.x86_64 0:2.6.32-504.1.3.el6      libjpeg-turbo.x86_64 0:1.2.1-3.el6_5    
    
    Dependency Installed:
      device-mapper-persistent-data.x86_64 0:0.3.2-1.el6                              
      gdk-pixbuf2.x86_64 0:2.24.1-5.el6                                               
      libpciaccess.x86_64 0:0.13.3-0.1.el6                                            
      nss-tools.x86_64 0:3.16.1-14.el6                                                
      p11-kit.x86_64 0:0.18.5-2.el6_5.2                                               
      p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2                                         
    
    Updated:
      ORBit2.x86_64 0:2.14.17-5.el6                                                   
       ....
    ....省略若干行....
    ....             
      zlib.x86_64 0:1.2.3-29.el6                                                      
    
    Skipped (dependency problems):
      qpid-cpp-client.x86_64 0:0.14-22.el6_3                                          
      qpid-cpp-client-ssl.x86_64 0:0.14-22.el6_3                                      
      qpid-cpp-server.x86_64 0:0.14-22.el6_3                                          
      qpid-cpp-server-ssl.x86_64 0:0.14-22.el6_3                                      
      qpid-qmf.x86_64 0:0.14-14.el6_3                                                 
    
    Replaced:
      libjpeg.x86_64 0:6b-46.el6                                                      
    
    Complete!
    [root@thatsit lib64]# uname -r
    2.6.32-220.el6.x86_64  ##此时查看系统内核仍然为老版本,应该需要升级才能生效,需要检查远程连接的相关内容,防患于未然,不要重启设备连不上机器了。

    #需要查看那几个warning的地方:/etc/ssh/sshd_config;/etc/sudoers

    [root@thatsit lib64]#
    root@thatsit lib64]# ll /etc/ssh/sshd_config*
    -rw-------. 1 root root 4050 Nov 13 19:51 /etc/ssh/sshd_config
    -rw-------. 1 root root 3879 Nov 13 16:54 /etc/ssh/sshd_config.rpmnew
    [root@thatsit lib64]# ll /etc/sudoers*
    -r--r-----. 1 root root 3843 Nov 13 19:44 /etc/sudoers
    -r--r-----. 1 root root 4002 Mar  2  2012 /etc/sudoers.rpmnew
    
    /etc/sudoers.d:
    total 0
    ##从这里看,重启应该不会有问题,刚才测试克隆会话也没问题。尝试重启设备!
    [root@thatsit lib64]# reboot
     
    Broadcast message from thatsit@thatsit
            (/dev/pts/2) at 20:12 ...
    
    The system is going down for reboot NOW!
    [root@thatsit ~]# 
     
    # 重启过程中长ping设备,观察设备更新后的启动情况
    64 bytes from 123.123.123.123: icmp_seq=279 ttl=52 time=1.16 ms
    64 bytes from 123.123.123.123: icmp_seq=280 ttl=52 time=1.20 ms
    ^C
    --- 123.123.123.123 ping statistics ---
    ##160秒左右后设备启动成功##
    280 packets transmitted, 125 received, 55% packet loss, time 279953ms
    rtt min/avg/max/mdev = 1.132/1.304/2.598/0.216 ms
    [root@xx1 test]# 

    #登陆查看 

    Last login: Fri Nov 14 20:08:52 2014 from xxx.xxx.242.195
    This is a product environment, Operate carefully!
    [thatsit@thatsit ~]$ sudo su  -
    [root@thatsit ~]# uname -r
    2.6.32-504.1.3.el6.x86_64
    [root@thatsit ~]# cat /etc/redhat-release
    CentOS release 6.6 (Final)
    [root@thatsit ~]# 

     事后查询

    至此,虽然系统升级完毕,但是我对上面的报错还是感觉很不理解。
    于是google查询此报错,果然查到些答案:
     
    这两篇文章中的做法都是卸载掉qpid-cpp-client及其依赖 
    这名网易网友的解决方法卸载matahari*
    yum -y remove matahari*
    这种方法的效果跟上面的方法应该是一样的,我没有测试。
      
    既然大家通过卸载这个软件可以解决问题,我就需要了解这个软件到底是干嘛的?是否可以卸载?
    经查询:
    QPID是个消息队列,用他有什么好处呢 ,可以跨平台使用,比如业务部分用C实现,把需要共享的信息通过QPID来传递,然后JAVA侧再从QPID接受消息。
    本例中的qpid-cpp-client就是qpid基于C++语言的实现的客户端。 
    ※在确定完该软件包的用途之后,结合我的自身情况,我也尝试使用第一种方法:yum -y remove qpid-cpp-client进行卸载。 
    [root@thatsit lib64]# yum -y remove qpid-cpp-client
    Loaded plugins: fastestmirror
    Setting up Remove Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package qpid-cpp-client.x86_64 0:0.12-6.el6 will be erased
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: matahari-network-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: matahari-host-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: matahari-sysconfig-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: matahari-agent-lib-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: matahari-service-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: qpid-qmf-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidclient.so.5()(64bit) for package: qpid-cpp-client-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: matahari-network-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: matahari-host-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: matahari-sysconfig-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: matahari-agent-lib-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: matahari-service-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: qpid-qmf-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: qpid-cpp-server-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: qpid-cpp-client-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidcommon.so.5()(64bit) for package: qpid-cpp-server-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: matahari-network-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: matahari-host-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: matahari-sysconfig-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: matahari-agent-lib-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: matahari-service-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidmessaging.so.3()(64bit) for package: qpid-qmf-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: matahari-network-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: matahari-host-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: matahari-sysconfig-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: matahari-agent-lib-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: matahari-service-0.4.4-11.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: qpid-qmf-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: qpid-cpp-server-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: qpid-cpp-client-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: libqpidtypes.so.1()(64bit) for package: qpid-cpp-server-0.12-6.el6.x86_64
    --> Processing Dependency: qpid-cpp-client = 0.12-6.el6 for package: qpid-cpp-server-0.12-6.el6.x86_64
    --> Processing Dependency: qpid-cpp-client = 0.12-6.el6 for package: qpid-cpp-client-ssl-0.12-6.el6.x86_64
    --> Processing Dependency: qpid-cpp-client = 0.12 for package: qpid-qmf-0.12-6.el6.x86_64
    --> Running transaction check
    ---> Package matahari-agent-lib.x86_64 0:0.4.4-11.el6 will be erased
    --> Processing Dependency: matahari-agent-lib = 0.4.4-11.el6 for package: matahari-broker-0.4.4-11.el6.x86_64
    ---> Package matahari-host.x86_64 0:0.4.4-11.el6 will be erased
    --> Processing Dependency: matahari-host for package: matahari-0.4.4-11.el6.x86_64
    ---> Package matahari-network.x86_64 0:0.4.4-11.el6 will be erased
    ---> Package matahari-service.x86_64 0:0.4.4-11.el6 will be erased
    ---> Package matahari-sysconfig.x86_64 0:0.4.4-11.el6 will be erased
    ---> Package qpid-cpp-client-ssl.x86_64 0:0.12-6.el6 will be erased
    ---> Package qpid-cpp-server.x86_64 0:0.12-6.el6 will be erased
    ---> Package qpid-cpp-server-ssl.x86_64 0:0.12-6.el6 will be erased
    ---> Package qpid-qmf.x86_64 0:0.12-6.el6 will be erased
    --> Running transaction check
    ---> Package matahari.x86_64 0:0.4.4-11.el6 will be erased
    ---> Package matahari-broker.x86_64 0:0.4.4-11.el6 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===================================================================================
    Package        Arch   Version      Repository                                Size
    ===================================================================================
    Removing:
    qpid-cpp-client
                    x86_64 0.12-6.el6   @anaconda-CentOS-201112091719.x86_64/6.2 3.9 M
    Removing for dependencies:
    matahari       x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2  18 k
    matahari-agent-lib
                    x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2  81 k
    matahari-broker
                    x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2  32 k
    matahari-host  x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2 103 k
    matahari-network
                    x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2  72 k
    matahari-service
                    x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2 126 k
    matahari-sysconfig
                    x86_64 0.4.4-11.el6 @anaconda-CentOS-201112091719.x86_64/6.2  54 k
    qpid-cpp-client-ssl
                    x86_64 0.12-6.el6   @anaconda-CentOS-201112091719.x86_64/6.2 332 k
    qpid-cpp-server
                    x86_64 0.12-6.el6   @anaconda-CentOS-201112091719.x86_64/6.2 3.2 M
    qpid-cpp-server-ssl
                    x86_64 0.12-6.el6   @anaconda-CentOS-201112091719.x86_64/6.2 121 k
    qpid-qmf       x86_64 0.12-6.el6   @anaconda-CentOS-201112091719.x86_64/6.2 1.4 M
    
    Transaction Summary
    ===================================================================================
    Remove       12 Package(s)
    
    Installed size: 9.5 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Erasing    : matahari-0.4.4-11.el6.x86_64                                   1/12
      Erasing    : matahari-broker-0.4.4-11.el6.x86_64                            2/12
      Erasing    : qpid-cpp-server-ssl-0.12-6.el6.x86_64                          3/12
      Erasing    : matahari-host-0.4.4-11.el6.x86_64                              4/12
      Erasing    : matahari-network-0.4.4-11.el6.x86_64                           5/12
      Erasing    : matahari-service-0.4.4-11.el6.x86_64                           6/12
      Erasing    : matahari-sysconfig-0.4.4-11.el6.x86_64                         7/12
      Erasing    : matahari-agent-lib-0.4.4-11.el6.x86_64                         8/12
      Erasing    : qpid-qmf-0.12-6.el6.x86_64                                     9/12
      Erasing    : qpid-cpp-client-ssl-0.12-6.el6.x86_64                         10/12
      Erasing    : qpid-cpp-server-0.12-6.el6.x86_64                             11/12
      Erasing    : qpid-cpp-client-0.12-6.el6.x86_64                             12/12
      Verifying  : matahari-sysconfig-0.4.4-11.el6.x86_64                         1/12
      Verifying  : matahari-service-0.4.4-11.el6.x86_64                           2/12
      Verifying  : matahari-broker-0.4.4-11.el6.x86_64                            3/12
      Verifying  : matahari-host-0.4.4-11.el6.x86_64                              4/12
      Verifying  : qpid-cpp-client-0.12-6.el6.x86_64                              5/12
      Verifying  : matahari-agent-lib-0.4.4-11.el6.x86_64                         6/12
      Verifying  : matahari-network-0.4.4-11.el6.x86_64                           7/12
      Verifying  : qpid-qmf-0.12-6.el6.x86_64                                     8/12
      Verifying  : qpid-cpp-server-0.12-6.el6.x86_64                              9/12
      Verifying  : matahari-0.4.4-11.el6.x86_64                                  10/12
      Verifying  : qpid-cpp-client-ssl-0.12-6.el6.x86_64                         11/12
      Verifying  : qpid-cpp-server-ssl-0.12-6.el6.x86_64                         12/12
    
    Removed:
      qpid-cpp-client.x86_64 0:0.12-6.el6                                             
    
    Dependency Removed:
      matahari.x86_64 0:0.4.4-11.el6                                                  
      matahari-agent-lib.x86_64 0:0.4.4-11.el6                                        
      matahari-broker.x86_64 0:0.4.4-11.el6                                           
      matahari-host.x86_64 0:0.4.4-11.el6                                             
      matahari-network.x86_64 0:0.4.4-11.el6                                          
      matahari-service.x86_64 0:0.4.4-11.el6                                          
      matahari-sysconfig.x86_64 0:0.4.4-11.el6                                        
      qpid-cpp-client-ssl.x86_64 0:0.12-6.el6                                         
      qpid-cpp-server.x86_64 0:0.12-6.el6                                             
      qpid-cpp-server-ssl.x86_64 0:0.12-6.el6                                         
      qpid-qmf.x86_64 0:0.12-6.el6                                                    
    
    Complete!
    #再次尝试更新系统,没有报错,提示已经没有可用的更新了。
    [root@thatsit lib64]# yum -y update
    Loaded plugins: fastestmirror
    Setting up Update Process
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * c6-media:
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
    Trying other mirror.
    file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
    Trying other mirror.
    file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
    Trying other mirror.
    No Packages marked for Update
    [root@thatsit lib64]# 
  • 相关阅读:
    windows系统中ubuntu虚拟机安装及web项目到服务上(二)
    windows系统中ubuntu虚拟机安装及web项目到服务上(一)
    每个配置xml的含义作用
    第三天气接口使用总结
    js模式学习
    mac下php环境配置
    struts2
    MySQL常用命令
    JavaMail邮件开发
    文件上传与下载
  • 原文地址:https://www.cnblogs.com/thatsit/p/5233349.html
Copyright © 2020-2023  润新知