HDP on Linux – Installation Forum

yum install ambari-server failing due to python26 conflict

  • #26214
    Roger Sibert

    I originally had the install work on SL 6 but since its not supported I swapped to CentOS 6 but when you go to install the ambari-server there’s a conflict that prevents it from working.

    [root@xyusfl333 ~]# yum install ambari-server
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.es.its.nyu.edu
    * epel: mirrors.ptd.net
    * extras: centos.mirror.lstn.net
    * updates: mirrors.cat.pdx.edu
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package ambari-server.noarch 0: will be installed
    –> Processing Dependency: python26 for package: ambari-server-
    –> Running transaction check
    —> Package python26.x86_64 0:2.6.8-2.el5 will be installed
    –> Finished Dependency Resolution

    Dependencies Resolved

    Package Arch Version Repository Size
    ambari-server noarch Updates-ambari-1.x 33 M
    Installing for dependencies:
    python26 x86_64 2.6.8-2.el5 epel 6.5 M

    Transaction Summary
    Install 2 Package(s)

    Total size: 40 M
    Installed size: 70 M
    Is this ok [y/N]:

    After hitting Y you get a large # of python conflict messages along the line of below.
    file /usr/lib64/python2.6/traceback.pyo from install of python26-2.6.8-2.el5.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64
    file /usr/lib64/python2.6/tty.py from install of python26-2.6.8-2.el5.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64

    System is a fresh install of CentOS 6.4 (iso used is/was listed as minimal)

    Currently installed:
    [root@xyusfl333 ~]# python -V
    Python 2.6.6

    [root@xyusfl333 ~]# uname -a
    Linux xyusfl333 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    Does the install really need 2.6.8 or is there a way to upgrade the python to to the python26 package?


to create new topics or reply. | New User Registration

  • Author
  • #26217
    Yi Zhang

    Hi Roger,

    Are you using the correct repo for cents 6? This looks like you are using the repo for centos5.


    Roger Sibert

    I spent some time purging the repo and finally did get it to remove any reference to non-default repos.

    Re-installing and making sure the 6 instructions where followed cleaned up the mess.

    Key thing to remember is never talk hadoop with lustre while you are trying to configure servers.

    Many Thanks,


    Hi Roger,

    Good to hear that you got it to work by making sure that it was using the correct repositories.


You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.