【问题标题】:Failed in installing salt-stack minion(AWS Linux env)安装 salt-stack minion 失败(AWS Linux 环境)
【发布时间】:2016-02-24 15:40:57
【问题描述】:

我的步骤:

# cd /usr/local/src/ 
# wget http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

# yum install python-jinja2

#yum -y install salt-minion --enablerepo=epel-testing

那么:

--> Finished Dependency Resolution
Error: Package: salt-2015.5.9-4.el6.noarch (epel-testing)
           Requires: python-msgpack
Error: Package: salt-2015.5.9-4.el6.noarch (epel-testing)
           Requires: python-zmq
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我想我已经安装了缺少的两个:

[root@xxx src]# pip install pyzmq  --upgrade
Requirement already up-to-date: pyzmq in /usr/local/lib64/python2.7/site-packages
[root@xxx src]# pip install msgpack-python 
Requirement already up-to-date: msgpack-python in /usr/local/lib64/python2.7/site-packages

仍然无法工作。有什么建议吗?

【问题讨论】:

    标签: linux salt-stack


    【解决方案1】:

    我知道这是一个非常古老的问题,但无论如何。 rpm包和pip包不一样。即使你在 pip 中安装了它,也并不意味着实际安装了相应的 rpm。它仍然错过了这些 rpm 包。

    【讨论】:

      猜你喜欢
      • 2016-11-14
      • 1970-01-01
      • 2022-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-19
      • 1970-01-01
      • 2018-08-10
      相关资源
      最近更新 更多