因為手上只有6.2版本的CentOS,安裝好后覺著版本太低了,就通過命令行進(jìn)行升級
查看可用的更新
# yum list updates
更新升級到centos 6.5
# yum update
不幸的是,我在這次的更新過程中,出現(xiàn)了一些錯誤
Error: Package: matahari-host-0.4.4-11.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)
Requires: libqpidclient.so.5
Removing: qpid-cpp-client-0.12-6.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)
libqpidclient.so.5
Updated By: qpid-cpp-client-0.14-22.el6_3.i686 (base)
Not found
Error: Package: matahari-service-0.4.4-11.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)
Requires: libqpidclient.so.5
Removing: qpid-cpp-client-0.12-6.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)
libqpidclient.so.5
Updated By: qpid-cpp-client-0.14-22.el6_3.i686 (base)
Not found
根據(jù)它的提示,執(zhí)行命令
# yum update --skip-broken
和
# rpm -Va --nofiles --nodigest
都不行,經(jīng)過網(wǎng)絡(luò)搜索找到解決辦法:
1、先卸載qpid-cpp-client
# yum -y remove qpid-cpp-client
2、清除重建緩存
# yum clean all
# yum makecache
3、重新執(zhí)行更新動作
# yum update