安装saltstack遇到缺包问题!自己遇到的错!若有雷同请海涵_安装saltstack遇到的问题具体内容见附件


内容如下:

yum install salt-minion -y

已加载插件:fastestmirror, security

设置安装进程

Determining fastest mirrors

 * epel:mirrors.aliyun.com

epel                                                                              | 4.3 kB     00:00    

epel/primary_db                                                                   | 5.9 MB     00:28    

解决依赖关系

--> 执行事务检查

---> Package salt-minion.noarch 0:2015.5.8-1.el6will be 安装

--> 处理依赖关系 salt =2015.5.8-1.el6,它被软件包 salt-minion-2015.5.8-1.el6.noarch 需要

--> 执行事务检查

---> Package salt.noarch 0:2015.5.8-1.el6 willbe 安装

--> 处理依赖关系 python-zmq,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系python-requests,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系python-msgpack,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 python-jinja2,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 m2crypto,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 PyYAML,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 执行事务检查

---> Package python-msgpack.x86_64 0:0.4.6-1.el6will be 安装

---> Package python-zmq.x86_64 0:14.3.1-1.el6will be 安装

--> 处理依赖关系libzmq.so.3()(64bit),它被软件包python-zmq-14.3.1-1.el6.x86_64 需要

---> Package salt.noarch 0:2015.5.8-1.el6 willbe 安装

--> 处理依赖关系python-requests,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 python-jinja2,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 m2crypto,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 PyYAML,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 执行事务检查

---> Package salt.noarch 0:2015.5.8-1.el6 willbe 安装

--> 处理依赖关系python-requests,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 python-jinja2,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 m2crypto,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 PyYAML,它被软件包 salt-2015.5.8-1.el6.noarch 需要

---> Package zeromq3.x86_64 0:3.2.5-1.el6 willbe 安装

--> 处理依赖关系libpgm-5.1.so.0()(64bit),它被软件包zeromq3-3.2.5-1.el6.x86_64 需要

--> 执行事务检查

---> Package openpgm.x86_64 0:5.1.118-3.el6 willbe 安装

---> Package salt.noarch 0:2015.5.8-1.el6 willbe 安装

--> 处理依赖关系python-requests,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 python-jinja2,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 m2crypto,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 PyYAML,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 完成依赖关系计算

错误:Package: salt-2015.5.8-1.el6.noarch (epel)

         Requires: PyYAML

错误:Package: salt-2015.5.8-1.el6.noarch (epel)

         Requires: m2crypto

错误:Package: salt-2015.5.8-1.el6.noarch (epel)

         Requires: python-requests

错误:Package: salt-2015.5.8-1.el6.noarch (epel)

         Requires: python-jinja2

 You couldtry using --skip-broken to work around the problem

 You couldtry running: rpm -Va --nofiles –nodigest

安装包需要的安装包不在epel源里在base源的包里

[root@boygirl ~]# yum list|greppython-crypto

python-crypto.x86_64                        2.0.1-22.el6                @anaconda-CentOS-201508042137.x86_64/6.7

python-crypto2.1.x86_64                     2.1.0-4.el6                  epel  

python-crypto2.6.x86_64                     2.6.1-2.el6                  epel

更新bash

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

更新epel

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo

安装

[root@boygirl ~]# yum install salt-minion-y

已加载插件:fastestmirror, security

设置安装进程

Loading mirror speeds from cached hostfile

 * base:mirrors.aliyun.com

 * epel:mirrors.aliyun.com

 * extras:mirrors.aliyun.com

 * updates:mirrors.aliyun.com

base                                                                              | 3.7 kB     00:00    

extras                                                                            | 3.4 kB     00:00    

updates                                                                           | 3.4 kB     00:00    

updates/primary_db                                                                | 5.2 MB     00:22    

解决依赖关系

--> 执行事务检查

---> Package salt-minion.noarch 0:2015.5.8-1.el6will be 安装

--> 处理依赖关系 salt =2015.5.8-1.el6,它被软件包 salt-minion-2015.5.8-1.el6.noarch 需要

--> 执行事务检查

---> Package salt.noarch 0:2015.5.8-1.el6 willbe 安装

--> 处理依赖关系 python-zmq,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系python-requests,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系python-msgpack,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 python-jinja2,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 m2crypto,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 处理依赖关系 PyYAML,它被软件包 salt-2015.5.8-1.el6.noarch 需要

--> 执行事务检查

---> Package PyYAML.x86_64 0:3.10-3.1.el6 willbe 安装

--> 处理依赖关系libyaml-0.so.2()(64bit),它被软件包PyYAML-3.10-3.1.el6.x86_64 需要

---> Package m2crypto.x86_64 0:0.20.2-9.el6 willbe 安装

---> Package python-jinja2.x86_640:2.2.1-2.el6_5 will be 安装

--> 处理依赖关系 python-babel>= 0.8,它被软件包 python-jinja2-2.2.1-2.el6_5.x86_64 需要

---> Package python-msgpack.x86_64 0:0.4.6-1.el6will be 安装

---> Package python-requests.noarch0:2.6.0-3.el6 will be 安装

--> 处理依赖关系python-urllib3 >= 1.10.2-1,它被软件包python-requests-2.6.0-3.el6.noarch 需要

--> 处理依赖关系python-chardet >= 2.2.1-1,它被软件包python-requests-2.6.0-3.el6.noarch 需要

---> Package python-zmq.x86_64 0:14.3.1-1.el6will be 安装

--> 处理依赖关系libzmq.so.3()(64bit),它被软件包python-zmq-14.3.1-1.el6.x86_64 需要

--> 执行事务检查

---> Package libyaml.x86_64 0:0.1.3-4.el6_6 willbe 安装

---> Package python-babel.noarch 0:0.9.4-5.1.el6will be 安装

---> Package python-chardet.noarch 0:2.2.1-1.el6will be 安装

---> Package python-urllib3.noarch0:1.10.2-1.el6 will be 安装

--> 处理依赖关系 python-six,它被软件包 python-urllib3-1.10.2-1.el6.noarch 需要

--> 处理依赖关系 python-backports-ssl_match_hostname,它被软件包 python-urllib3-1.10.2-1.el6.noarch 需要

---> Package zeromq3.x86_64 0:3.2.5-1.el6 willbe 安装

--> 处理依赖关系libpgm-5.1.so.0()(64bit),它被软件包zeromq3-3.2.5-1.el6.x86_64 需要

--> 执行事务检查

---> Package openpgm.x86_64 0:5.1.118-3.el6 willbe 安装

---> Packagepython-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el6.centos will be 安装

--> 处理依赖关系python-backports,它被软件包python-backports-ssl_match_hostname-3.4.0.2-4.el6.centos.noarch 需要

---> Package python-six.noarch 0:1.9.0-2.el6will be 安装

--> 执行事务检查

---> Package python-backports.x86_64 0:1.0-5.el6will be 安装

--> 完成依赖关系计算

 

依赖关系解决

 

==========================================================================================================

 软件包                                    架构          版本                        仓库           大小

==========================================================================================================

正在安装:

 salt-minion                                noarch        2015.5.8-1.el6              epel           26 k

为依赖而安装:

 PyYAML                                    x86_64        3.10-3.1.el6                base          157 k

 libyaml                                    x86_64        0.1.3-4.el6_6               base           52 k

 m2crypto                                   x86_64        0.20.2-9.el6                base          471 k

 openpgm                                    x86_64        5.1.118-3.el6               epel          165 k

 python-babel                               noarch        0.9.4-5.1.el6               base          1.4 M

 python-backports                           x86_64        1.0-5.el6                   base          5.5 k

 python-backports-ssl_match_hostname        noarch        3.4.0.2-4.el6.centos        extras         13 k

 python-chardet                             noarch        2.2.1-1.el6                 base          230 k

 python-jinja2                              x86_64        2.2.1-2.el6_5               base          466 k

 python-msgpack                             x86_64        0.4.6-1.el6                 epel           69 k

 python-requests                            noarch        2.6.0-3.el6                 base           95 k

 python-six                                 noarch        1.9.0-2.el6                 base           28 k

 python-urllib3                             noarch        1.10.2-1.el6                base          101 k

 python-zmq                                 x86_64        14.3.1-1.el6                epel          467 k

 salt                                      noarch        2015.5.8-1.el6              epel          4.2 M

 zeromq3                                    x86_64        3.2.5-1.el6                 epel          338 k

 

事务概要

==========================================================================================================

Install     17 Package(s)

 

总下载量:8.2 M

Installed size: 33 M

下载软件包:

(1/17): PyYAML-3.10-3.1.el6.x86_64.rpm                                             |157 kB     00:00    

(2/17): libyaml-0.1.3-4.el6_6.x86_64.rpm                                          |  52 kB     00:00    

(3/17): m2crypto-0.20.2-9.el6.x86_64.rpm                                           |471 kB     00:01    

(4/17): openpgm-5.1.118-3.el6.x86_64.rpm                                           | 165 kB     00:00    

(5/17): python-babel-0.9.4-5.1.el6.noarch.rpm                                      | 1.4MB     00:06    

(6/17): python-backports-1.0-5.el6.x86_64.rpm                                      | 5.5kB     00:00    

(7/17):python-backports-ssl_match_hostname-3.4.0.2-4.el6.centos.noarch.rpm        | 13 kB     00:00    

(8/17): python-chardet-2.2.1-1.el6.noarch.rpm                                      | 230kB     00:00    

(9/17): python-jinja2-2.2.1-2.el6_5.x86_64.rpm                                     | 466kB     00:01    

(10/17): python-msgpack-0.4.6-1.el6.x86_64.rpm                                     |  69 kB    00:00    

(11/17):python-requests-2.6.0-3.el6.noarch.rpm                                    | 95 kB     00:00    

(12/17): python-six-1.9.0-2.el6.noarch.rpm                                         |  28 kB    00:00    

(13/17):python-urllib3-1.10.2-1.el6.noarch.rpm                                    | 101kB     00:00    

(14/17): python-zmq-14.3.1-1.el6.x86_64.rpm                                        | 467kB     00:01    

(15/17): salt-2015.5.8-1.el6.noarch.rpm                                            |4.2 MB     00:18    

(16/17): salt-minion-2015.5.8-1.el6.noarch.rpm                                     |  26 kB    00:00    

(17/17): zeromq3-3.2.5-1.el6.x86_64.rpm                                            |338 kB     00:01    

----------------------------------------------------------------------------------------------------------

总计                                                                     236 kB/s | 8.2 MB     00:35    

运行 rpm_check_debug

执行事务测试

事务测试成功

执行事务

  正在安装   :python-backports-1.0-5.el6.x86_64                                                     1/17

  正在安装   :python-backports-ssl_match_hostname-3.4.0.2-4.el6.centos.noarch                       2/17

  正在安装   :m2crypto-0.20.2-9.el6.x86_64                                                         3/17

  正在安装   :libyaml-0.1.3-4.el6_6.x86_64                                                         4/17

  正在安装   :PyYAML-3.10-3.1.el6.x86_64                                                           5/17

  正在安装   :python-chardet-2.2.1-1.el6.noarch                                                    6/17

  正在安装   :python-msgpack-0.4.6-1.el6.x86_64                                                    7/17

  正在安装   :python-six-1.9.0-2.el6.noarch                                                        8/17

  正在安装   :python-urllib3-1.10.2-1.el6.noarch                                                   9/17

  正在安装   :python-requests-2.6.0-3.el6.noarch                                                  10/17

  正在安装   :python-babel-0.9.4-5.1.el6.noarch                                                   11/17

  正在安装   :python-jinja2-2.2.1-2.el6_5.x86_64                                                  12/17

  正在安装   :openpgm-5.1.118-3.el6.x86_64                                                        13/17

  正在安装   :zeromq3-3.2.5-1.el6.x86_64                                                          14/17

  正在安装   :python-zmq-14.3.1-1.el6.x86_64                                                      15/17

  正在安装   :salt-2015.5.8-1.el6.noarch                                                          16/17

  正在安装   :salt-minion-2015.5.8-1.el6.noarch                                                   17/17

 Verifying  :openpgm-5.1.118-3.el6.x86_64                                                          1/17

 Verifying  :PyYAML-3.10-3.1.el6.x86_64                                                           2/17

 Verifying  :python-babel-0.9.4-5.1.el6.noarch                                                    3/17

 Verifying  :python-six-1.9.0-2.el6.noarch                                                        4/17

 Verifying  :python-msgpack-0.4.6-1.el6.x86_64                                                    5/17

 Verifying  :python-backports-ssl_match_hostname-3.4.0.2-4.el6.centos.noarch                       6/17

 Verifying  :python-chardet-2.2.1-1.el6.noarch                                                    7/17

 Verifying  :python-requests-2.6.0-3.el6.noarch                                                   8/17

 Verifying  :libyaml-0.1.3-4.el6_6.x86_64                                                         9/17

 Verifying  :m2crypto-0.20.2-9.el6.x86_64                                                        10/17

 Verifying  : python-urllib3-1.10.2-1.el6.noarch                                                  11/17

 Verifying  :python-zmq-14.3.1-1.el6.x86_64                                                      12/17

 Verifying  :python-jinja2-2.2.1-2.el6_5.x86_64                                                   13/17

 Verifying  :zeromq3-3.2.5-1.el6.x86_64                                                          14/17

 Verifying  :salt-minion-2015.5.8-1.el6.noarch                                                   15/17

  Verifying  : python-backports-1.0-5.el6.x86_64                                                   16/17

 Verifying  :salt-2015.5.8-1.el6.noarch                                                          17/17

 

已安装:

 salt-minion.noarch 0:2015.5.8-1.el6                                                                     

 

作为依赖被安装:

 PyYAML.x86_64 0:3.10-3.1.el6                                      libyaml.x86_64 0:0.1.3-4.el6_6     

 m2crypto.x86_64 0:0.20.2-9.el6                                     openpgm.x86_640:5.1.118-3.el6     

 python-babel.noarch 0:0.9.4-5.1.el6                               python-backports.x86_64 0:1.0-5.el6

 python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el6.centos  python-chardet.noarch 0:2.2.1-1.el6

 python-jinja2.x86_64 0:2.2.1-2.el6_5                              python-msgpack.x86_64 0:0.4.6-1.el6

 python-requests.noarch 0:2.6.0-3.el6                              python-six.noarch 0:1.9.0-2.el6    

 python-urllib3.noarch 0:1.10.2-1.el6                               python-zmq.x86_64 0:14.3.1-1.el6   

  salt.noarch0:2015.5.8-1.el6                                      zeromq3.x86_64 0:3.2.5-1.el6       

 

完毕!