Bug 1274856 - Ansible package in RHEL 6 EPEL has wrong dependancies
Ansible package in RHEL 6 EPEL has wrong dependancies
Status: CLOSED NOTABUG
Product: Fedora EPEL
Classification: Fedora
Component: ansible (Show other bugs)
el6
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-23 12:57 EDT by Ryan Hennessy
Modified: 2015-10-25 22:54 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-25 22:54:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch file for updated spec file (496 bytes, patch)
2015-10-23 12:57 EDT, Ryan Hennessy
no flags Details | Diff
RPM Source file built from new spec file (917.06 KB, application/x-rpm)
2015-10-23 12:59 EDT, Ryan Hennessy
no flags Details

  None (edit)
Description Ryan Hennessy 2015-10-23 12:57:54 EDT
Created attachment 1085868 [details]
Patch file for updated spec file

Description of problem:

When trying to install the ansible RHEL 6 EPEL package it was complaining about python & python library package dependencies.   Upon inspection of the SPEC file it looks like there were incorrect dependencies supplied.   Attached is the patch file for my updated spec file as well as the new src rpm.

Version-Release number of selected component (if applicable):
RHEL 6 

How reproducible:
Everytime on RHEL 6 with EPEL repo enabled

Steps to Reproduce:
1. Enable EPEL 6 repo on RHEL 6 box
2. run yum install ansible


Actual results:
Resolving Dependencies
--> Running transaction check
---> Package ansible.noarch 0:1.9.2-1.el6 will be installed
--> Processing Dependency: python-simplejson for package: ansible-1.9.2-1.el6.noarch
--> Processing Dependency: python-keyczar for package: ansible-1.9.2-1.el6.noarch
--> Processing Dependency: python-jinja2 for package: ansible-1.9.2-1.el6.noarch
--> Processing Dependency: python-httplib2 for package: ansible-1.9.2-1.el6.noarch
--> Processing Dependency: python-crypto2.6 for package: ansible-1.9.2-1.el6.noarch
--> Processing Dependency: PyYAML for package: ansible-1.9.2-1.el6.noarch
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-3.1.el6 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-3.1.el6.x86_64
---> Package ansible.noarch 0:1.9.2-1.el6 will be installed
--> Processing Dependency: python-jinja2 for package: ansible-1.9.2-1.el6.noarch
---> Package python-crypto2.6.x86_64 0:2.6.1-2.el6 will be installed
---> Package python-httplib2.noarch 0:0.7.7-1.el6 will be installed
---> Package python-keyczar.noarch 0:0.71c-1.el6 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-1.el6.noarch
---> Package python-simplejson.x86_64 0:2.0.9-3.1.el6 will be installed
--> Running transaction check
---> Package ansible.noarch 0:1.9.2-1.el6 will be installed
--> Processing Dependency: python-jinja2 for package: ansible-1.9.2-1.el6.noarch
---> Package libyaml.x86_64 0:0.1.3-4.el6_6 will be installed
---> Package python-pyasn1.noarch 0:0.0.12a-1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: ansible-1.9.2-1.el6.noarch (epel)
           Requires: python-jinja2
 You could try using --skip-broken to work around the problem


Expected results:
The package to install.

Additional info:
Comment 1 Ryan Hennessy 2015-10-23 12:59 EDT
Created attachment 1085869 [details]
RPM Source file built from new spec file
Comment 2 Anssi Johansson 2015-10-23 13:04:00 EDT
Please read https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F and the "NOTE for RHN users". python-jinja2 is available in the rhel-x86_64-server-optional-6 channel.
Comment 3 Ryan Hennessy 2015-10-23 14:06:00 EDT
Thanks!  Next time I will RTFM!
Comment 4 Ryan Hennessy 2015-10-23 14:06:35 EDT
Thanks!  Next time I will RTFM!
Comment 5 Kevin Fenzi 2015-10-25 22:54:17 EDT
Right. Everything should be available in rhel optional channel.

Note You need to log in before you can comment on or make changes to this bug.