1:查看centos版本
# cat /etc/redhat-release
CentOS release 5.7 (Final)
2:更新软件
#yum update //更新全部
#yum update 包名//更新指定包,可以通过*来匹配
如果报错停止,可以加--skip-broken参数来跳过出错的更新,强制更新其他的软件。
1:查看centos版本
# cat /etc/redhat-release
CentOS release 5.7 (Final)
2:更新软件
#yum update //更新全部
#yum update 包名//更新指定包,可以通过*来匹配
如果报错停止,可以加--skip-broken参数来跳过出错的更新,强制更新其他的软件。
转载于:https://my.oschina.net/seajones/blog/42719