Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 02-10-2016 10:50 AM
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
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
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
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
You can install your own postgres. Ambari will be happy to see your version of postgres.
Created 02-10-2016 01:30 PM
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
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
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
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 !