when i run 'yum install ambari-server' command, there occur some error like this:
--> Finished Dependency Resolution Error: Package: ambari-server-126.96.36.199-0.x86_64 (Updates-ambari-188.8.131.52) Requires: python-xml You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
- Please try completely cleaning ambari as described in the thread: https://community.hortonworks.com/questions/1110/how-to-completely-remove-uninstall-ambari-and-hdp.h...
- The perform a clean
yum clean all
- If required remove the old "/etc/yum.repos.d/ambari*" if present.
- Get the correct repos from: https://docs.hortonworks.com/HDPDocuments/Ambari-184.108.40.206/bk_ambari-upgrade/content/upgrade_ambari.ht...
wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/220.127.116.11/ambari.repo -O /etc/yum.repos.d/ambari.repo
- Verify if you have python installed properly on your OS (please share the output of "python --version" as well)
- Now retry the installation.
I see that the following is mentioned as a dependency:
rpm.dependency.list.suse=postgresql-server >=8.1,\nRequires: openssl,\nRequires: python-xml,\nRequires: python >=2.6
- Which OS are you using and the exact python version?
- When you install the Ambari Server, the PostgreSQL packages and dependencies must be available for install. These packages are typically available as part of your Operating System repositories. Please confirm you have the appropriate repositories available for the postgresql-server packages.
Similarly the openssl + python-xml dependencies also should come from the OS repository.