1

sudo yum install -y curl policycoreutils-python openssh-server

详细输出

已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.bfsu.edu.cn
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.huaweicloud.com
base                                                                                                                                                                  | 3.6 kB  00:00:00     
extras                                                                                                                                                                | 2.9 kB  00:00:00     
mongodb-org-4.0                                                                                                                                                       | 2.5 kB  00:00:00     
updates                                                                                                                                                               | 2.9 kB  00:00:00     
(1/3): base/7/x86_64/group_gz                                                                                                                                         | 153 kB  00:00:01     
(2/3): extras/7/x86_64/primary_db                                                                                                                                     | 206 kB  00:00:02     
(3/3): base/7/x86_64/primary_db                                                                                                                                       | 6.1 MB  00:00:14     
正在解决依赖关系
--> 正在检查事务
---> 软件包 curl.x86_64.0.7.29.0-51.el7 将被 升级
---> 软件包 curl.x86_64.0.7.29.0-57.el7_8.1 将被 更新
--> 正在处理依赖关系 libcurl = 7.29.0-57.el7_8.1,它被软件包 curl-7.29.0-57.el7_8.1.x86_64 需要
---> 软件包 openssh-server.x86_64.0.7.4p1-16.el7 将被 升级
---> 软件包 openssh-server.x86_64.0.7.4p1-21.el7 将被 更新
--> 正在处理依赖关系 openssh = 7.4p1-21.el7,它被软件包 openssh-server-7.4p1-21.el7.x86_64 需要
---> 软件包 policycoreutils-python.x86_64.0.2.5-29.el7 将被 升级
---> 软件包 policycoreutils-python.x86_64.0.2.5-34.el7 将被 更新
--> 正在处理依赖关系 policycoreutils = 2.5-34.el7,它被软件包 policycoreutils-python-2.5-34.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libcurl.x86_64.0.7.29.0-51.el7 将被 升级
---> 软件包 libcurl.x86_64.0.7.29.0-57.el7_8.1 将被 更新
--> 正在处理依赖关系 libssh2(x86-64) >= 1.8.0,它被软件包 libcurl-7.29.0-57.el7_8.1.x86_64 需要
---> 软件包 openssh.x86_64.0.7.4p1-16.el7 将被 升级
--> 正在处理依赖关系 openssh = 7.4p1-16.el7,它被软件包 openssh-clients-7.4p1-16.el7.x86_64 需要
---> 软件包 openssh.x86_64.0.7.4p1-21.el7 将被 更新
---> 软件包 policycoreutils.x86_64.0.2.5-29.el7 将被 升级
---> 软件包 policycoreutils.x86_64.0.2.5-34.el7 将被 更新
--> 正在检查事务
---> 软件包 libssh2.x86_64.0.1.4.3-12.el7 将被 升级
---> 软件包 libssh2.x86_64.0.1.8.0-3.el7 将被 更新
---> 软件包 openssh-clients.x86_64.0.7.4p1-16.el7 将被 升级
---> 软件包 openssh-clients.x86_64.0.7.4p1-21.el7 将被 更新
--> 解决依赖关系完成

依赖关系解决

=============================================================================================================================================================================================
 Package                                               架构                                  版本                                               源                                      大小
=============================================================================================================================================================================================
正在更新:
 curl                                                  x86_64                                7.29.0-57.el7_8.1                                  updates                                271 k
 openssh-server                                        x86_64                                7.4p1-21.el7                                       base                                   459 k
 policycoreutils-python                                x86_64                                2.5-34.el7                                         base                                   457 k
为依赖而更新:
 libcurl                                               x86_64                                7.29.0-57.el7_8.1                                  updates                                223 k
 libssh2                                               x86_64                                1.8.0-3.el7                                        base                                    88 k
 openssh                                               x86_64                                7.4p1-21.el7                                       base                                   510 k
 openssh-clients                                       x86_64                                7.4p1-21.el7                                       base                                   655 k
 policycoreutils                                       x86_64                                2.5-34.el7                                         base                                   917 k

事务概要
=============================================================================================================================================================================================
升级  3 软件包 (+5 依赖软件包)

总下载量:3.5 M
Downloading packages:
No Presto metadata available for base
No Presto metadata available for updates
警告:/var/cache/yum/x86_64/7/base/packages/libssh2-1.8.0-3.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY                             ]  0.0 B/s |  79 kB  --:--:-- ETA 
libssh2-1.8.0-3.el7.x86_64.rpm 的公钥尚未安装
(1/8): libssh2-1.8.0-3.el7.x86_64.rpm                                                                                                                                 |  88 kB  00:00:00     
libcurl-7.29.0-57.el7_8.1.x86_64.rpm 的公钥尚未安装                             19% [=============-                                                        ] 274 kB/s | 700 kB  00:00:10 ETA 
(2/8): libcurl-7.29.0-57.el7_8.1.x86_64.rpm                                                                                                                           | 223 kB  00:00:02     
(3/8): openssh-server-7.4p1-21.el7.x86_64.rpm                                                                                                                         | 459 kB  00:00:03     
(4/8): openssh-7.4p1-21.el7.x86_64.rpm                                                                                                                                | 510 kB  00:00:04     
(5/8): policycoreutils-python-2.5-34.el7.x86_64.rpm                                                                                                                   | 457 kB  00:00:02     
(6/8): openssh-clients-7.4p1-21.el7.x86_64.rpm                                                                                                                        | 655 kB  00:00:06     
(7/8): curl-7.29.0-57.el7_8.1.x86_64.rpm                                                                                                                              | 271 kB  00:00:07     
(8/8): policycoreutils-2.5-34.el7.x86_64.rpm                                                                                                                          | 917 kB  00:00:05     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                                         433 kB/s | 3.5 MB  00:00:08     
从 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 检索密钥
导入 GPG key 0xF4A80EB5:
 用户ID     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 指纹       : 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 软件包     : centos-release-7-6.1810.2.el7.centos.x86_64 (@anaconda)
 来自       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
警告:RPM 数据库已被非 yum 程序修改。
** 发现 2 个已存在的 RPM 数据库问题, 'yum check' 输出如下:
2:postfix-2.10.1-7.el7.x86_64 有缺少的需求 libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-7.el7.x86_64 有缺少的需求 libmysqlclient.so.18(libmysqlclient_18)(64bit)
  正在更新    : openssh-7.4p1-21.el7.x86_64                                                                                                                                             1/16 
  正在更新    : libssh2-1.8.0-3.el7.x86_64                                                                                                                                              2/16 
  正在更新    : libcurl-7.29.0-57.el7_8.1.x86_64                                                                                                                                        3/16 
  正在更新    : policycoreutils-2.5-34.el7.x86_64                                                                                                                                       4/16 
  正在更新    : policycoreutils-python-2.5-34.el7.x86_64                                                                                                                                5/16 
  正在更新    : curl-7.29.0-57.el7_8.1.x86_64                                                                                                                                           6/16 
  正在更新    : openssh-clients-7.4p1-21.el7.x86_64                                                                                                                                     7/16 
  正在更新    : openssh-server-7.4p1-21.el7.x86_64                                                                                                                                      8/16 
  清理        : openssh-server-7.4p1-16.el7.x86_64                                                                                                                                      9/16 
  清理        : policycoreutils-python-2.5-29.el7.x86_64                                                                                                                               10/16 
  清理        : openssh-clients-7.4p1-16.el7.x86_64                                                                                                                                    11/16 
  清理        : curl-7.29.0-51.el7.x86_64                                                                                                                                              12/16 
  清理        : libcurl-7.29.0-51.el7.x86_64                                                                                                                                           13/16 
  清理        : libssh2-1.4.3-12.el7.x86_64                                                                                                                                            14/16 
  清理        : openssh-7.4p1-16.el7.x86_64                                                                                                                                            15/16 
  清理        : policycoreutils-2.5-29.el7.x86_64                                                                                                                                      16/16 
  验证中      : policycoreutils-2.5-34.el7.x86_64                                                                                                                                       1/16 
  验证中      : curl-7.29.0-57.el7_8.1.x86_64                                                                                                                                           2/16 
  验证中      : openssh-clients-7.4p1-21.el7.x86_64                                                                                                                                     3/16 
  验证中      : policycoreutils-python-2.5-34.el7.x86_64                                                                                                                                4/16 
  验证中      : libcurl-7.29.0-57.el7_8.1.x86_64                                                                                                                                        5/16 
  验证中      : openssh-7.4p1-21.el7.x86_64                                                                                                                                             6/16 
  验证中      : openssh-server-7.4p1-21.el7.x86_64                                                                                                                                      7/16 
  验证中      : libssh2-1.8.0-3.el7.x86_64                                                                                                                                              8/16 
  验证中      : policycoreutils-2.5-29.el7.x86_64                                                                                                                                       9/16 
  验证中      : openssh-7.4p1-16.el7.x86_64                                                                                                                                            10/16 
  验证中      : openssh-server-7.4p1-16.el7.x86_64                                                                                                                                     11/16 
  验证中      : policycoreutils-python-2.5-29.el7.x86_64                                                                                                                               12/16 
  验证中      : openssh-clients-7.4p1-16.el7.x86_64                                                                                                                                    13/16 
  验证中      : libssh2-1.4.3-12.el7.x86_64                                                                                                                                            14/16 
  验证中      : libcurl-7.29.0-51.el7.x86_64                                                                                                                                           15/16 
  验证中      : curl-7.29.0-51.el7.x86_64                                                                                                                                              16/16 

更新完毕:
  curl.x86_64 0:7.29.0-57.el7_8.1                          openssh-server.x86_64 0:7.4p1-21.el7                          policycoreutils-python.x86_64 0:2.5-34.el7                         

作为依赖被升级:
  libcurl.x86_64 0:7.29.0-57.el7_8.1     libssh2.x86_64 0:1.8.0-3.el7     openssh.x86_64 0:7.4p1-21.el7     openssh-clients.x86_64 0:7.4p1-21.el7     policycoreutils.x86_64 0:2.5-34.el7    

完毕!
View Code

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2021-09-07
  • 2021-07-06
  • 2022-12-23
  • 2021-11-23
  • 2022-02-06
猜你喜欢
  • 2021-11-30
  • 2021-11-10
  • 2021-09-25
  • 2021-09-22
  • 2018-03-22
  • 2021-12-04
相关资源
相似解决方案