# Tower: setup.sh fails trying to find yum on Ubuntu

**URL:** <https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 22, 2016, 11:57am UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086 "2016-07-22T11:57:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasily\_Kirichenko](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@Vasily\_Kirichenko](https://forum.ansible.com/u/Vasily_Kirichenko)\
**Post date:** [July 22, 2016, 11:57am UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086/1 "2016-07-22T11:57:27Z")

</div>

Ubuntu 14.04.2

`

TASK: [preflight | Preflight check - Verify yum is recent enough on OL6] \*\*\*\*\*\*  
fatal: [localhost] =\> error while evaluating conditional: ansible\_distribution == ‘OracleLinux’ and ansible\_distribution\_major\_version == ‘6’ and (yum\_version.stdout is not defined or yum\_version.stdout | version\_compare(‘3.2.29.73.0.2’, ‘\<’))

FATAL: all hosts have already failed – aborting

`

As I understand, it should not be supposed Ubuntu have yum installed at all.

---

<div class="post-metadata">

**Author:** ![samir\_patry](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@samir\_patry](https://forum.ansible.com/u/samir_patry)\
**Post date:** [September 18, 2016, 3:31pm UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086/2 "2016-09-18T15:31:47Z")

</div>

Hi Vasily,  
did you find the solution for the below error ? Please let me know beacuse i am also facing the same issue.

---

<div class="post-metadata">

**Author:** ![Ivan\_Kirkpatrick](https://avatars.discourse-cdn.com/v4/letter/i/4bbf92/32.png) [@Ivan\_Kirkpatrick](https://forum.ansible.com/u/Ivan_Kirkpatrick)\
**Post date:** [October 27, 2016, 11:38pm UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086/3 "2016-10-27T23:38:10Z")

</div>

Same problem here for me. Even installed yum on a fresh install of Ubuntu 14.04.5 and verified yum version was 3.4.3.

---

<div class="post-metadata">

**Author:** ![Alexander\_H\_Laughlin](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Alexander\_H\_Laughlin](https://forum.ansible.com/u/Alexander_H_Laughlin)\
**Post date:** [October 28, 2016, 8:20pm UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086/4 "2016-10-28T20:20:50Z")

</div>

Ubuntu requires some [special attention](http://docs.ansible.com/ansible-tower/3.0.2/html/installandreference/install_notes_reqs.html#configuration-and-installation-of-ansible-with-ubuntu). The answer isn’t to install yum on your poor Ubuntu machine, but instead to make sure the install script is aware that you’re installing on Ubuntu instead of RedHat.

Remember Tower was mainly intended to run on RedHat systems, so the Ubuntu support isn’t the highest priority. If you keep at it, though, you should be able to get it to install cleanly with no need for yum.
