实战:为了方便使用网络配置我们安装插件tui 操作如下:
[root@localhost ~]# yum install NetworkManager-tui
已加载插件:fastestmirror, priorities
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 NetworkManager-tui.x86_64.1.1.0.6-27.el7 将被 升级
---> 软件包 NetworkManager-tui.x86_64.1.1.0.6-30.el7_2 将被 更新
--> 正在处理依赖关系 NetworkManager-libnm(x86-64) = 1:1.0.6-30.el7_2,它被软件包 1
:NetworkManager-tui-1.0.6-30.el7_2.x86_64 需要--> 正在处理依赖关系 NetworkManager = 1:1.0.6-30.el7_2,它被软件包 1:NetworkManage
r-tui-1.0.6-30.el7_2.x86_64 需要--> 正在检查事务
---> 软件包 NetworkManager.x86_64.1.1.0.6-27.el7 将被 升级
--> 正在处理依赖关系 NetworkManager(x86-64) = 1:1.0.6-27.el7,它被软件包 1:Network
Manager-wifi-1.0.6-27.el7.x86_64 需要---> 软件包 NetworkManager.x86_64.1.1.0.6-30.el7_2 将被 更新
---> 软件包 NetworkManager-libnm.x86_64.1.1.0.6-27.el7 将被 升级
---> 软件包 NetworkManager-libnm.x86_64.1.1.0.6-30.el7_2 将被 更新
--> 正在检查事务
---> 软件包 NetworkManager-wifi.x86_64.1.1.0.6-27.el7 将被 升级
---> 软件包 NetworkManager-wifi.x86_64.1.1.0.6-30.el7_2 将被 更新
--> 解决依赖关系完成
依赖关系解决
==================================================================================
Package 架构 版本 源 大小
==================================================================================
正在更新:
NetworkManager-tui x86_64 1:1.0.6-30.el7_2 updates 212 k
为依赖而更新:
NetworkManager x86_64 1:1.0.6-30.el7_2 updates 2.0 M
NetworkManager-libnm x86_64 1:1.0.6-30.el7_2 updates 498 k
NetworkManager-wifi x86_64 1:1.0.6-30.el7_2 updates 160 k
事务概要
==================================================================================
升级 1 软件包 (+3 依赖软件包)
总下载量:2.9 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/4): NetworkManager-libnm-1.0.6-30.el7_2.x86_64.rpm | 498 kB 00:00:02
(2/4): NetworkManager-tui-1.0.6-30.el7_2.x86_64.rpm | 212 kB 00:00:01
(3/4): NetworkManager-wifi-1.0.6-30.el7_2.x86_64.rpm | 160 kB 00:00:01
(4/4): NetworkManager-1.0.6-30.el7_2.x86_64.rpm | 2.0 MB 00:00:16
----------------------------------------------------------------------------------
总计 183 kB/s | 2.9 MB 00:16
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在更新 : 1:NetworkManager-libnm-1.0.6-30.el7_2.x86_64 1/8
正在更新 : 1:NetworkManager-1.0.6-30.el7_2.x86_64 2/8
正在更新 : 1:NetworkManager-tui-1.0.6-30.el7_2.x86_64 3/8
正在更新 : 1:NetworkManager-wifi-1.0.6-30.el7_2.x86_64 4/8
清理 : 1:NetworkManager-tui-1.0.6-27.el7.x86_64 5/8
清理 : 1:NetworkManager-wifi-1.0.6-27.el7.x86_64 6/8
清理 : 1:NetworkManager-1.0.6-27.el7.x86_64 7/8
清理 : 1:NetworkManager-libnm-1.0.6-27.el7.x86_64 8/8
验证中 : 1:NetworkManager-tui-1.0.6-30.el7_2.x86_64 1/8
验证中 : 1:NetworkManager-libnm-1.0.6-30.el7_2.x86_64 2/8
验证中 : 1:NetworkManager-1.0.6-30.el7_2.x86_64 3/8
验证中 : 1:NetworkManager-wifi-1.0.6-30.el7_2.x86_64 4/8
验证中 : 1:NetworkManager-wifi-1.0.6-27.el7.x86_64 5/8
验证中 : 1:NetworkManager-1.0.6-27.el7.x86_64 6/8
验证中 : 1:NetworkManager-tui-1.0.6-27.el7.x86_64 7/8
验证中 : 1:NetworkManager-libnm-1.0.6-27.el7.x86_64 8/8
更新完毕:
NetworkManager-tui.x86_64 1:1.0.6-30.el7_2
作为依赖被升级:
NetworkManager.x86_64 1:1.0.6-30.el7_2
NetworkManager-libnm.x86_64 1:1.0.6-30.el7_2
NetworkManager-wifi.x86_64 1:1.0.6-30.el7_2
完毕!