通过 yum update 将系统从CentOS 6.2 升级到 CentOS 6.6 及升级过程中的简单排错
本文说明
本文写于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 ~]#
故障处理过程
[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
[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 ~]#
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 ~]#
事后查询
[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 及升级过程中的简单排错的更多相关文章
- Linux/CentOS配置:使用yum update更新时不升级内核的方法
RedHat/CentOS/Fedora使用 yum update 更新时,默认会升级内核.但有些服务器硬件(特别是组装的机器)在升级内核后,新的内核可能会认不出某些硬件,要重新安装驱动,很麻烦.所以 ...
- centos6.5 yum update 报错Couldn't resolve host 'centos.ustc.edu.cn'
异常信息 [root@localhost ~]# yum -y update Loaded plugins: fastestmirror, refresh-packagekit, security S ...
- CentOS下的yum upgrade和yum update区别
说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作!! ! yum update:升级所有包同时也升级软件和系统内核 yum upgrade:只升级所有包,不 ...
- yum-cron更新 CentOS yum update 不升级内核版本方法
http://www.360doc.com/content/15/0608/17/15798950_476597844.shtml 相关yum-cron说明有一些 CentOS yum update ...
- CentOS下的yum upgrade和yum update区别,没事别乱用,和Ubuntu的update不一样!
说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作!!!!!!!!! yum update:升级所有包同时也升级软件和系统内核 yum upgrade:只升级 ...
- CentOS中的 yum upgrade 和 yum update 的区别
通过 man yum 的帮助信息了解 yum update 和 yum upgrade: update If run without any packages, update will update ...
- Centos下yum update与yum upgrade的区别
转载来源于:http://www.cnblogs.com/EasonJim/p/9026357.html 说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作! ...
- CentOS 7 yum update 升级提示:PackageKit 锁定解决方案
CentOS 7 系列新安装后都会进行yum update操作,但每次都会遇到PackageKit 锁定问题,提示如下: /var/run/yum.pid 已被锁定,PID 为 2694 的另一个程序 ...
- CentOS下的安装命令 安装Nginx 更新yum源 kali系统当中的软件管理命令(第五天)
Linux下软件的安装:方式:yum/rpm/源码安装YUM安装(帮助管理员解决依赖关系):yum search mysqld 在源中搜索软件包yum install mysql-connector- ...
随机推荐
- 你好,C++(14)如何描述“一个名叫陈良乔,年龄33岁,身高173厘米,体重61.5千克的男人”——3.8 用结构体类型描述复杂的事物
3.8 用结构体类型描述复杂的事物 利用C++本身所提供的基本数据类型所定义的变量,只能表达一些简单的事物.比如我们可以用int类型定义nAge变量表示人的年龄,用string类型定义strName ...
- CSS中zoom:1的作用
兼容IE6.IE7.IE8浏览器,经常会遇到一些问题,可以使用zoom:1来解决,有如下作用:触发IE浏览器的haslayout解决ie下的浮动,margin重叠等一些问题.比如,本站使用DIV做一行 ...
- 移动端(html5)微信公众号下用keyup实时监控input值的变化无效
搜索框依据用户输入的值实时检索,一开始自然而然想到keyup,在拼音状态时,啥问题也没有, 问题1:切换到中文输入法,问题出来了,keyup事件不灵便了,后来在网上搜了下,找到了思路, 问题2:微信公 ...
- asp.net 字符帮助类 类型转换类
/// <summary> /// 字符帮助类 /// </summary> public class StringHelper { private static readon ...
- Js判断密码强度并显示提示信息
用javascipt实现的Ajax判断密码强弱的功能,大多数有用户注册功能的网站,都会有这么一个功能,作为WEB程序员,应该会写这种小模块哦,不懂的就看下这个例子,觉得挺简单,当初帮助了不少人学会了密 ...
- PHPの页面跳转-常见方法
PHP页面跳转一.header()函数 header()函数是PHP中进行页面跳转的一种十分简单的方法.header()函数的主要功能是将HTTP协议标头(header)输出到浏览器. header( ...
- php 编译安装curl 时候出现问题
/usr/bin/ld: ext/curl/.libs/interface.o: undefined reference to symbol 'CRYPTO_set_id_callback@@OPEN ...
- Python自动化运维之11、面向对象基础
一.简介 面向对象编程是一种编程方式,使用 “类” 和 “对象” 来实现,所以,面向对象编程其实就是对 “类” 和 “对象” 的使用.类就是一个模板,模板里可以包含多个方法(函数),方法里实现各种各样 ...
- OpenStack镜像制作-CentOS
云平台中镜像还是很重要的,提供各种定制化的镜像使得用户体验更好. 最开始玩OpenStack的时候用的是安装文档中提到的cirros,其密码cubswin:) 刚开始感觉很怪,现在已经可以随手打出.p ...
- hdu 4544 湫湫系列故事——消灭兔子
http://acm.hdu.edu.cn/showproblem.php?pid=4544 优先队列+贪心. #include <cstdio> #include <queue&g ...