///
/// 利用 yum 升级 python
///
[iyunv@wode005 ~]# yum update python
已加载插件:fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/4): base/7/x86_64/group_gz | 155 kB 00:00
(2/4): extras/7/x86_64/primary_db | 90 kB 00:00
(3/4): updates/7/x86_64/primary_db | 935 kB 00:03
(4/4): base/7/x86_64/primary_db | 5.3 MB 00:06
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 python.x86_64.0.2.7.5-18.el7_1.1 将被 升级
---> 软件包 python.x86_64.0.2.7.5-34.el7 将被 更新
--> 正在处理依赖关系 python-libs(x86-64) = 2.7.5-34.el7,它被软件包 python-2.7.5-34.el7.x86_64 需要
--> 正在检查事务
---> 软件包 python-libs.x86_64.0.2.7.5-18.el7_1.1 将被 升级
---> 软件包 python-libs.x86_64.0.2.7.5-34.el7 将被 更新
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在更新:
python x86_64 2.7.5-34.el7 base 88 k
为依赖而更新:
python-libs x86_64 2.7.5-34.el7 base 5.6 M