python - Salt installation in rhel 5.4 -


i trying install salt-2016.11.3-2.el5.noarch.rpm in rhel5. compiled python 2.6

[root@localhost bin]# ls -lrt python* -rwxr-xr-x 1 root root    8304 jun 11  2009 python2.4 -rwxr-xr-x 2 root root 5733122 sep 11 11:52 python2.6 -rwxr-xr-x 2 root root 5733122 sep 11 11:52 python lrwxrwxrwx 1 root root      16 sep 11 11:53 python-config -> python2.6-config -rwxr-xr-x 1 root root    1418 sep 11 11:53 python2.6-config 

after tried install salt-minion showing deps.

[root@localhost minion]# rpm -ivh salt-2016.11.3-2.el5.noarch.rpm warning: salt-2016.11.3-2.el5.noarch.rpm: header v3 rsa/sha1 signature: nokey, key id 42e589e9 error: failed dependencies:         **/usr/bin/python2.6 needed salt-2016.11.3-2.el5.noarch**         python26-pyyaml needed salt-2016.11.3-2.el5.noarch         python26-crypto >= 2.6.1 needed salt-2016.11.3-2.el5.noarch         python26-jinja2 needed salt-2016.11.3-2.el5.noarch         python26-msgpack > 0.3 needed salt-2016.11.3-2.el5.noarch         python26-requests >= 1.0.0 needed salt-2016.11.3-2.el5.noarch         python26-six needed salt-2016.11.3-2.el5.noarch         python26-tornado >= 4.2.1 needed salt-2016.11.3-2.el5.noarch         yum-utils needed salt-2016.11.3-2.el5.noarch 

i installed python , available in path. still why showing deps. faced same issue??? suggestions welcome.

note:

the main issue is

/usr/bin/python2.6 needed salt-2016.11.3-2.el5.noarch

why python showing in dependency list installed???

i guess installed python 2.6 manually without creating rpm package. dependencies see specified in saltstack rpm. checked against installed rpms, not actual filesystem. if didn't install python 2.6 rpm, it's normal have these dependencies errors.

install rpm without dependencies

as solution, may try install rpm without dependencies checking. should like: rpm -ivh --nodeps you'll miss other dependencies (python modules).

install manually

or can choose install saltstack manually, sources , installation script. , you'll miss other dependencies you'll have find them yourselves. or rely on documentation: https://docs.saltstack.com/en/latest/topics/installation/index.html#dependencies

all rpm installation

or can install needed rpms. available in saltstack repository: https://repo.saltstack.com/yum/redhat/5server/x86_64/latest/. you'll need @ least:

  • python26
  • python26-ordereddict
  • python26-msgpackx
  • python26-six

and few others python26-zmq, python26-tornado, libyaml, python26-jinja2 , on. once have dependencies packages, should install them @ once. not required saltstack package , run errors until dependencies.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -