- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Dependency Issue when running "yum install ambari-server"
- Labels:
-
Apache Ambari
Created ‎02-10-2016 10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whenever I try to install ambari-server on CenTOS 6.6, I get stuck at the dependency checking part.
It simply tells me that there is an error in dependencies :
ambari-server-1.7.0-169.noarch requires postgresql-server
I looked up the documentation and can't find a way to solve this, which is weird since ambari-server should install postgre. Shouldn't be a problem on the repo either.
Any way to solve this ?
Created ‎02-10-2016 10:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should use Ambari 2.2
Also, you do need postgres install...its failing on postgres - Dependcy check
Created ‎02-10-2016 10:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should use Ambari 2.2
Also, you do need postgres install...its failing on postgres - Dependcy check
Created ‎02-10-2016 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just tried something else, actually, whichever version of Ambari I use, it'll ask for a 8.1 postgre dependency. Problem is that postgre 8.1 is for CenTOS 5 and I'm on CentOS 6.
Any idea for this ?
Created ‎02-10-2016 01:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can install your own postgres. Ambari will be happy to see your version of postgres.
Created ‎02-10-2016 01:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It worked !
I downloaded the postgre's rpm for my version of CenTOS, and once installed, I could run yum install ambari-server with no problem on dependencies anymore.
Created ‎02-10-2016 12:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you install the package without dependencies, e.g. by using the yum-option --nodeps (http://yum.baseurl.org/wiki/NoDeps)
Created ‎02-10-2016 01:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please check your repos. I had this happen to me when I had some posters libraries already. Remove repos, yum clean all. Rpm -qa | grep Ambari and then grep postgres. Yum erase Ambari postgres and then try with latest Ambari. For Ambari 2.2 make sure your HDP version is at least 2.2
Created ‎02-10-2016 01:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I simply installed postgresql 8.4 and now there are no issues anymore, just like Neeraj said.
I haven't tried the other solutions yet since it was the simplest way but thank you all !
