本文说明

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

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

升级前的系统信息

[root@thatsit ~]# uname -a
Linux thatsit 2.6.-.el6.x86_64 # SMP Tue Dec :: GMT x86_64 x86_64 x86_64 GNU/Linux
[root@thatsit ~]# uname -r
2.6.-.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
lrwxrwxrwx. root root Nov : libqpidclient.so.5.0. -> /usr/lib64/libqpidclient.so.5.0.
[root@thatsit ~]#
[root@thatsit ~]# ln -s /usr/lib64/libqpidclient.so. /usr/local/lib64/
[root@thatsit ~]#
[root@thatsit lib64]# cp /usr/lib64/lib
Display all possibilities? (y or n)
[root@thatsit lib64]# cp /usr/lib64/libqpid
libqpidbroker.so. libqpidcommon.so. libqpidtypes.so.
libqpidbroker.so.5.0. libqpidcommon.so.5.0. libqpidtypes.so.1.2.
libqpidclient.so. libqpidmessaging.so.
libqpidclient.so.5.0. libqpidmessaging.so.3.1.
[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 :2.14.-3.1.el6 will be updated
....
....省略若干行....
....#检查要升级的软件包和需要安装的依赖
--> Finished Dependency Resolution
Error: Package: matahari-host-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidclient.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidclient.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-service-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidcommon.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidcommon.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-agent-lib-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidclient.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidclient.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-network-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidcommon.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidcommon.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-host-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidcommon.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidcommon.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-sysconfig-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidclient.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidclient.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-sysconfig-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidcommon.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidcommon.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-service-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidclient.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidclient.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-agent-lib-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidcommon.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidcommon.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.el6_3.x86_64 (base)
Not found
Error: Package: matahari-network-0.4.-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
Requires: libqpidclient.so.()(64bit)
Removing: qpid-cpp-client-0.12-.el6.x86_64 (@anaconda-CentOS-.x86_64/6.2)
libqpidclient.so.()(64bit)
Updated By: qpid-cpp-client-0.14-.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-.el6_3.x86_64 from base
qpid-cpp-client-ssl-0.14-.el6_3.x86_64 from base
qpid-cpp-server-0.14-.el6_3.x86_64 from base
qpid-cpp-server-ssl-0.14-.el6_3.x86_64 from base
qpid-qmf-0.14-.el6_3.x86_64 from base Dependencies Resolved ===================================================================================
Package Arch Version Repository
Size
===================================================================================
Installing:
kernel x86_64 2.6.-504.1..el6 updates M
libjpeg-turbo x86_64 1.2.-.el6_5 base k
replacing libjpeg.x86_64 6b-.el6
Updating:
ORBit2 x86_64 2.14.-.el6 base k
atk x86_64 1.30.-.el6 base k
....
....省略若干行....
....
Transaction Summary ##事务概要
===================================================================================
Install Package(s)
Upgrade Package(s) Total download size: M
Downloading Packages:
(/): ORBit2-2.14.-.el6.x86_64.rpm | kB :
....
....省略若干行....
....
(/): zlib-1.2.-.el6.x86_64.rpm | kB :
-----------------------------------------------------------------------------------
Total 4.6 MB/s | MB :
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc-4.4.-.el6.x86_64 /
Updating : cjkuni-fonts-common-0.2.20080216.1-.el6.noarch /
Updating : setup-2.8.-.el6_4..noarch /
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--.el6.centos.12.2.x86_64 /
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-.el6.noarch /
....
....省略若干行....
....
Updating : pam-1.1.-.el6.x86_64 /
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.-.el6.noarch /
***************************************
Updating : system-config-firewall-base-1.2.-7.1.el6.noarch /
Updating : lvm2-2.02.-.el6.x86_64 /
Updating : openssh-server-.3p1-.el6_6..x86_64 /
warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
Updating : openssh-clients-.3p1-.el6_6..x86_64 /
Updating : bfa-firmware-3.2.23.0-.el6.noarch /
Updating : vsftpd-2.2.-.el6_6..x86_64 /
warning: /etc/vsftpd/vsftpd.conf created as /etc/vsftpd/vsftpd.conf.rpmnew
Updating : avahi-0.6.-.el6.x86_64 /
Updating : boost-1.41.-.el6.x86_64 /
Updating : passwd-0.77-.el6_2..x86_64 /
Updating : gnupg2-2.0.-.el6.x86_64 /
Updating : sudo-1.8.6p3-.el6.x86_64 /
warning: /etc/sudoers created as /etc/sudoers.rpmnew
Updating : authconfig-6.1.-.el6.x86_64 /
Updating : :grub-0.97-.el6.x86_64 /
....
....省略若干行....
....
Cleanup : tzdata-2011l-.el6.noarch /
Cleanup : libgcc-4.4.-.el6.x86_64 /

#最终升级结果

Installed:
kernel.x86_64 :2.6.-504.1..el6 libjpeg-turbo.x86_64 :1.2.-.el6_5 Dependency Installed:
device-mapper-persistent-data.x86_64 :0.3.-.el6
gdk-pixbuf2.x86_64 :2.24.-.el6
libpciaccess.x86_64 :0.13.-0.1.el6
nss-tools.x86_64 :3.16.-.el6
p11-kit.x86_64 :0.18.-.el6_5.
p11-kit-trust.x86_64 :0.18.-.el6_5. Updated:
ORBit2.x86_64 :2.14.-.el6
....
....省略若干行....
....
zlib.x86_64 :1.2.-.el6 Skipped (dependency problems):
qpid-cpp-client.x86_64 :0.14-.el6_3
qpid-cpp-client-ssl.x86_64 :0.14-.el6_3
qpid-cpp-server.x86_64 :0.14-.el6_3
qpid-cpp-server-ssl.x86_64 :0.14-.el6_3
qpid-qmf.x86_64 :0.14-.el6_3 Replaced:
libjpeg.x86_64 :6b-.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-------. root root Nov : /etc/ssh/sshd_config
-rw-------. root root Nov : /etc/ssh/sshd_config.rpmnew
[root@thatsit lib64]# ll /etc/sudoers*
-r--r-----. root root Nov : /etc/sudoers
-r--r-----. root root Mar /etc/sudoers.rpmnew /etc/sudoers.d:
total
##从这里看,重启应该不会有问题,刚才测试克隆会话也没问题。尝试重启设备!
[root@thatsit lib64]# reboot Broadcast message from thatsit@thatsit
(/dev/pts/) at : ... The system is going down for reboot NOW!
[root@thatsit ~]#
 
# 重启过程中长ping设备,观察设备更新后的启动情况
 bytes from 123.123.123.123: icmp_seq= ttl= time=1.16 ms
bytes from 123.123.123.123: icmp_seq= ttl= time=1.20 ms
^C
--- 123.123.123.123 ping statistics ---
##160秒左右后设备启动成功##
packets transmitted, received, % 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  ::  from xxx.xxx.242.195
This is a product environment, Operate carefully!
[thatsit@thatsit ~]$ sudo su -
[root@thatsit ~]# uname -r
2.6.-504.1..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.12-.el6 will be erased
--> Processing Dependency: libqpidclient.so.()(64bit) for package: matahari-network-0.4.-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: matahari-host-0.4.-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: matahari-sysconfig-0.4.-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: matahari-agent-lib-0.4.-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: matahari-service-0.4.-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: qpid-qmf-0.12-.el6.x86_64
--> Processing Dependency: libqpidclient.so.()(64bit) for package: qpid-cpp-client-ssl-0.12-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: matahari-network-0.4.-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: matahari-host-0.4.-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: matahari-sysconfig-0.4.-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: matahari-agent-lib-0.4.-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: matahari-service-0.4.-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: qpid-qmf-0.12-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: qpid-cpp-server-ssl-0.12-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: qpid-cpp-client-ssl-0.12-.el6.x86_64
--> Processing Dependency: libqpidcommon.so.()(64bit) for package: qpid-cpp-server-0.12-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: matahari-network-0.4.-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: matahari-host-0.4.-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: matahari-sysconfig-0.4.-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: matahari-agent-lib-0.4.-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: matahari-service-0.4.-.el6.x86_64
--> Processing Dependency: libqpidmessaging.so.()(64bit) for package: qpid-qmf-0.12-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: matahari-network-0.4.-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: matahari-host-0.4.-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: matahari-sysconfig-0.4.-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: matahari-agent-lib-0.4.-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: matahari-service-0.4.-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: qpid-qmf-0.12-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: qpid-cpp-server-ssl-0.12-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: qpid-cpp-client-ssl-0.12-.el6.x86_64
--> Processing Dependency: libqpidtypes.so.()(64bit) for package: qpid-cpp-server-0.12-.el6.x86_64
--> Processing Dependency: qpid-cpp-client = 0.12-.el6 for package: qpid-cpp-server-0.12-.el6.x86_64
--> Processing Dependency: qpid-cpp-client = 0.12-.el6 for package: qpid-cpp-client-ssl-0.12-.el6.x86_64
--> Processing Dependency: qpid-cpp-client = 0.12 for package: qpid-qmf-0.12-.el6.x86_64
--> Running transaction check
---> Package matahari-agent-lib.x86_64 :0.4.-.el6 will be erased
--> Processing Dependency: matahari-agent-lib = 0.4.-.el6 for package: matahari-broker-0.4.-.el6.x86_64
---> Package matahari-host.x86_64 :0.4.-.el6 will be erased
--> Processing Dependency: matahari-host for package: matahari-0.4.-.el6.x86_64
---> Package matahari-network.x86_64 :0.4.-.el6 will be erased
---> Package matahari-service.x86_64 :0.4.-.el6 will be erased
---> Package matahari-sysconfig.x86_64 :0.4.-.el6 will be erased
---> Package qpid-cpp-client-ssl.x86_64 :0.12-.el6 will be erased
---> Package qpid-cpp-server.x86_64 :0.12-.el6 will be erased
---> Package qpid-cpp-server-ssl.x86_64 :0.12-.el6 will be erased
---> Package qpid-qmf.x86_64 :0.12-.el6 will be erased
--> Running transaction check
---> Package matahari.x86_64 :0.4.-.el6 will be erased
---> Package matahari-broker.x86_64 :0.4.-.el6 will be erased
--> Finished Dependency Resolution Dependencies Resolved ===================================================================================
Package Arch Version Repository Size
===================================================================================
Removing:
qpid-cpp-client
x86_64 0.12-.el6 @anaconda-CentOS-.x86_64/6.2 3.9 M
Removing for dependencies:
matahari x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-agent-lib
x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-broker
x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-host x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-network
x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-service
x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
matahari-sysconfig
x86_64 0.4.-.el6 @anaconda-CentOS-.x86_64/6.2 k
qpid-cpp-client-ssl
x86_64 0.12-.el6 @anaconda-CentOS-.x86_64/6.2 k
qpid-cpp-server
x86_64 0.12-.el6 @anaconda-CentOS-.x86_64/6.2 3.2 M
qpid-cpp-server-ssl
x86_64 0.12-.el6 @anaconda-CentOS-.x86_64/6.2 k
qpid-qmf x86_64 0.12-.el6 @anaconda-CentOS-.x86_64/6.2 1.4 M Transaction Summary
===================================================================================
Remove 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.-.el6.x86_64 /
Erasing : matahari-broker-0.4.-.el6.x86_64 /
Erasing : qpid-cpp-server-ssl-0.12-.el6.x86_64 /
Erasing : matahari-host-0.4.-.el6.x86_64 /
Erasing : matahari-network-0.4.-.el6.x86_64 /
Erasing : matahari-service-0.4.-.el6.x86_64 /
Erasing : matahari-sysconfig-0.4.-.el6.x86_64 /
Erasing : matahari-agent-lib-0.4.-.el6.x86_64 /
Erasing : qpid-qmf-0.12-.el6.x86_64 /
Erasing : qpid-cpp-client-ssl-0.12-.el6.x86_64 /
Erasing : qpid-cpp-server-0.12-.el6.x86_64 /
Erasing : qpid-cpp-client-0.12-.el6.x86_64 /
Verifying : matahari-sysconfig-0.4.-.el6.x86_64 /
Verifying : matahari-service-0.4.-.el6.x86_64 /
Verifying : matahari-broker-0.4.-.el6.x86_64 /
Verifying : matahari-host-0.4.-.el6.x86_64 /
Verifying : qpid-cpp-client-0.12-.el6.x86_64 /
Verifying : matahari-agent-lib-0.4.-.el6.x86_64 /
Verifying : matahari-network-0.4.-.el6.x86_64 /
Verifying : qpid-qmf-0.12-.el6.x86_64 /
Verifying : qpid-cpp-server-0.12-.el6.x86_64 /
Verifying : matahari-0.4.-.el6.x86_64 /
Verifying : qpid-cpp-client-ssl-0.12-.el6.x86_64 /
Verifying : qpid-cpp-server-ssl-0.12-.el6.x86_64 / Removed:
qpid-cpp-client.x86_64 :0.12-.el6 Dependency Removed:
matahari.x86_64 :0.4.-.el6
matahari-agent-lib.x86_64 :0.4.-.el6
matahari-broker.x86_64 :0.4.-.el6
matahari-host.x86_64 :0.4.-.el6
matahari-network.x86_64 :0.4.-.el6
matahari-service.x86_64 :0.4.-.el6
matahari-sysconfig.x86_64 :0.4.-.el6
qpid-cpp-client-ssl.x86_64 :0.12-.el6
qpid-cpp-server.x86_64 :0.12-.el6
qpid-cpp-server-ssl.x86_64 :0.12-.el6
qpid-qmf.x86_64 :0.12-.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]#

通过 yum update 将系统从CentOS 6.2 升级到 CentOS 6.6 及升级过程中的简单排错的更多相关文章

  1. Linux/CentOS配置:使用yum update更新时不升级内核的方法

    RedHat/CentOS/Fedora使用 yum update 更新时,默认会升级内核.但有些服务器硬件(特别是组装的机器)在升级内核后,新的内核可能会认不出某些硬件,要重新安装驱动,很麻烦.所以 ...

  2. centos6.5 yum update 报错Couldn't resolve host 'centos.ustc.edu.cn'

    异常信息 [root@localhost ~]# yum -y update Loaded plugins: fastestmirror, refresh-packagekit, security S ...

  3. CentOS下的yum upgrade和yum update区别

    说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作!! ! yum update:升级所有包同时也升级软件和系统内核 yum upgrade:只升级所有包,不 ...

  4. yum-cron更新 CentOS yum update 不升级内核版本方法

    http://www.360doc.com/content/15/0608/17/15798950_476597844.shtml 相关yum-cron说明有一些 CentOS yum update ...

  5. CentOS下的yum upgrade和yum update区别,没事别乱用,和Ubuntu的update不一样!

    说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作!!!!!!!!! yum update:升级所有包同时也升级软件和系统内核 yum upgrade:只升级 ...

  6. CentOS中的 yum upgrade 和 yum update 的区别

    通过 man yum 的帮助信息了解 yum update 和 yum upgrade: update If run without any packages, update will update ...

  7. Centos下yum update与yum upgrade的区别

    转载来源于:http://www.cnblogs.com/EasonJim/p/9026357.html 说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作! ...

  8. CentOS 7 yum update 升级提示:PackageKit 锁定解决方案

    CentOS 7 系列新安装后都会进行yum update操作,但每次都会遇到PackageKit 锁定问题,提示如下: /var/run/yum.pid 已被锁定,PID 为 2694 的另一个程序 ...

  9. CentOS下的安装命令 安装Nginx 更新yum源 kali系统当中的软件管理命令(第五天)

    Linux下软件的安装:方式:yum/rpm/源码安装YUM安装(帮助管理员解决依赖关系):yum search mysqld 在源中搜索软件包yum install mysql-connector- ...

随机推荐

  1. 武汉科技大学ACM:1001: 谁不爱打牌

    Problem Description BobLee最近在复习考研,但是他也喜欢打牌(有谁不爱玩牌呢?).但是作为一名ACMER,斗地主显然满足不了他的兴趣,于是他和YYD一起YY出来了一个游戏规则, ...

  2. A Linear Time Majority Vote Algorithm

    介绍一种算法,它可以在线性时间和常数空间内,在一个数组内找出出现次数超过一半的某个数字. 要解决这个问题并不难,可以使用排序或哈希,但是这两种算法都不能同时满足时间或空间的要求. 然而,该算法(A L ...

  3. PHPCMS 标签与解析小记_Jason

    Content模块下的标签解析:phpcms\modules\content\classes\content_tag.class.php 推荐位:public function position

  4. 获取元素位置信息:getBoundingClientRect

    一个神奇的方法. 一.历史 偷个懒,上个传送门:http://www.cnblogs.com/2050/archive/2012/02/01/2335211.html 二.介绍 DOM元素方法,返回一 ...

  5. You don't have permission to access /phpmyadmin/main.php on this server.

    wamp  安装后,打开首页.出现问题,信息如下: “You don't have permission to access /phpmyadmin/main.php on this server.” ...

  6. UNIX网络进程间通信漫谈(1)

    进程间通信 IPC是进程间通信的简称,指的是运行在某个操作系统上的不同进程间各种消息传递方式,在Unix操作系统过去30年的演变史中,消息传递经历了如下几个阶段: 管道,管道是第一个广泛使用的IPC形 ...

  7. 转:pthread_create()

    http://blog.csdn.net/youbang321/article/details/7815707 原型:int  pthread_create((pthread_t  *thread,  ...

  8. ulimit小结

    1. limits是一个进程的资源,会被子进程继承   2. soft limit -S, hard limits -H hard limits只能被root用户修改,启动的时候会加载配置/etc/s ...

  9. keep out layer PK board shape

    在进行设计pcb时,注意:板边线只能用PLACE LINE画线条,不能画具有电气性能的导线关于边界设置有三种,一.在 keepout layer 定义电气边界.二.design->board s ...

  10. Set的并集

    public static void main(String[] args) { Set<Long> old = new HashSet<>(); for (int i = 0 ...