yum install salt-master fails

1,451 views
Skip to first unread message

Don

unread,
Mar 6, 2012, 5:07:14 PM3/6/12
to salt-...@googlegroups.com
I've attempted to install salt to a test VM.
I register my VM to RHN and able to load patches and install packages with dependancies, such as Apache using the command "yum install httpd"
I installed epel-release-6-5.noarch.rpm succesfully.
I run "yum install salt-master" and it fails. Not sure why it's not installing the dependancies, any suggestions?
 
ERROR OUTPUT:
[root@luke ~]# yum install salt-master
Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package salt-master.noarch 0:0.9.6-2.el6 set to be updated
--> Processing Dependency: salt = 0.9.6-2.el6 for package: salt-master-0.9.6-2.el6.noarch
--> Running transaction check
---> Package salt.noarch 0:0.9.6-2.el6 set to be updated
--> Processing Dependency: python-zmq for package: salt-0.9.6-2.el6.noarch
--> Processing Dependency: python-msgpack for package: salt-0.9.6-2.el6.noarch
--> Processing Dependency: python-jinja2 for package: salt-0.9.6-2.el6.noarch
--> Processing Dependency: python-crypto for package: salt-0.9.6-2.el6.noarch
--> Processing Dependency: PyYAML for package: salt-0.9.6-2.el6.noarch
--> Processing Dependency: PyXML for package: salt-0.9.6-2.el6.noarch
--> Running transaction check
---> Package PyXML.x86_64 0:0.8.4-19.el6 set to be updated
---> Package PyYAML.x86_64 0:3.09-5.el6 set to be updated
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.09-5.el6.x86_64
---> Package python-crypto.x86_64 0:2.0.1-22.el6 set to be updated
---> Package python-msgpack.x86_64 0:0.1.9-2.el6 set to be updated
---> Package python-zmq.x86_64 0:2.1.9-3.el6 set to be updated
--> Processing Dependency: libzmq.so.1()(64bit) for package: python-zmq-2.1.9-3.el6.x86_64
---> Package salt.noarch 0:0.9.6-2.el6 set to be updated
--> Processing Dependency: python-jinja2 for package: salt-0.9.6-2.el6.noarch
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.3-1.el6 set to be updated
---> Package salt.noarch 0:0.9.6-2.el6 set to be updated
--> Processing Dependency: python-jinja2 for package: salt-0.9.6-2.el6.noarch
---> Package zeromq.x86_64 0:2.1.9-1.el6 set to be updated
--> Finished Dependency Resolution
Error: Package: salt-0.9.6-2.el6.noarch (epel)
           Requires: python-jinja2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 
NOTE: I CAN INSTALL HTTPD
[root@luke ~]# yum install httpd
Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-15.el6_2.1 set to be updated
--> Processing Dependency: httpd-tools = 2.2.15-15.el6_2.1 for package: httpd-2.2.15-15.el6_2.1.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-15.el6_2.1.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-15.el6_2.1.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-15.el6_2.1.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-15.el6_2.1.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 set to be updated
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 set to be updated
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 set to be updated
---> Package httpd-tools.x86_64 0:2.2.15-15.el6_2.1 set to be updated
---> Package mailcap.noarch 0:2.1.31-2.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================
 Package                     Arch                 Version                           Repository                          Size
=============================================================================================================================
Installing:
 httpd                       x86_64               2.2.15-15.el6_2.1                 rhel-x86_64-server-6               812 k
Installing for dependencies:
 apr                         x86_64               1.3.9-3.el6_1.2                   rhel-x86_64-server-6               123 k
 apr-util                    x86_64               1.3.9-3.el6_0.1                   rhel-x86_64-server-6                87 k
 apr-util-ldap               x86_64               1.3.9-3.el6_0.1                   rhel-x86_64-server-6                15 k
 httpd-tools                 x86_64               2.2.15-15.el6_2.1                 rhel-x86_64-server-6                70 k
 mailcap                     noarch               2.1.31-2.el6                      rhel-x86_64-server-6                27 k
Transaction Summary
=============================================================================================================================
Install       6 Package(s)
Upgrade       0 Package(s)
Total download size: 1.1 M
Installed size: 0 
Is this ok [y/N]:
 
 
 

Mitch Anderson

unread,
Mar 6, 2012, 5:11:20 PM3/6/12
to salt-...@googlegroups.com
what is the output of:

yum repolist

Corey Quinn

unread,
Mar 6, 2012, 5:12:17 PM3/6/12
to salt-...@googlegroups.com
Does "yum install python-jinja2" work?

Thomas S Hatch

unread,
Mar 6, 2012, 5:14:13 PM3/6/12
to salt-...@googlegroups.com
Looks like this is the problem, an EPEL bug!

python-jinja2 is named python-jinja2-26

Thomas S Hatch

unread,
Mar 6, 2012, 5:26:12 PM3/6/12
to salt-...@googlegroups.com
Try to manually install the el6 package for python-jinja2 from koji:

then yum install salt again, this might get you past this until the EPEL guys can take a look

Don

unread,
Mar 7, 2012, 9:36:22 AM3/7/12
to salt-...@googlegroups.com
First ran the command "yum install python-jinja2" and received: No package python-jinja2 available.
Second, I ran "yum install python-jinja2-26"  It installed 3 packages succesfully: python-babel, python-markupsafe and python-jinja2-26
3rd, I attempted to install salt; "yum install salt-master". But I receive the same error as before, see output.
 
OUTPUT:
--> Finished Dependency Resolution
Error: Package: salt-0.9.6-2.el6.noarch (epel)
           Requires: python-jinja2
 
"yum repolist" OUTPUT:
[root@luke ~]# yum repolist
Loaded plugins: refresh-packagekit, rhnplugin
repo id                                                           repo name                                                                                       status
epel                                                              Extra Packages for Enterprise Linux 6 - x86_64                                  7,068
rhel-x86_64-server-6                                       Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)                        6,953
repolist: 14,021
[root@luke ~]#

Don

unread,
Mar 7, 2012, 9:39:24 AM3/7/12
to salt-...@googlegroups.com
No, the yum said there is no package by that name:  output: No package python-jinja2 available.

Les Mikesell

unread,
Mar 7, 2012, 10:56:55 AM3/7/12
to salt-...@googlegroups.com
On Wed, Mar 7, 2012 at 8:39 AM, Don <mon...@yahoo.com> wrote:
> No, the yum said there is no package by that name:  output: No package
> python-jinja2 available.
>

That's odd - it is in Centos which should be a strict clone of packages.

# yum info python-jinja2
* base: mirrors.einstein.yu.edu
* epel: fedora-epel.mirror.lstn.net
* extras: centos.mbni.med.umich.edu
* updates: mirror.wiredtree.com
[...]
Available Packages
Name : python-jinja2
Arch : x86_64
Version : 2.2.1
Release : 1.el6
Size : 465 k
Repo : base

etc...

--
Les Mikesell
lesmi...@gmail.com

Don Babb

unread,
Mar 29, 2012, 10:46:00 AM3/29/12
to salt-...@googlegroups.com
We found that I needed to have  in RHN, RHEL Server Optional channel enabled for Redhat 6 minions (wasn't enabled by default). Redhat moved the file python-jinja2 from epel to the RHN Optional channel.  This option isn't needed for Redhat 5. The python-jinja2 file is still located in the epel5 repository.
 
Thank you Clint for figuring it out.

Hiren Parikh

unread,
Jul 28, 2014, 7:12:34 PM7/28/14
to salt-...@googlegroups.com
This worked for me as well
Reply all
Reply to author
Forward
0 new messages