Skip to main content
webtransactor
Gold ⭐️
January 11, 2019
Solved

Cannot install CM agent 5.16 on SLES12 SP3 because of missing package python-psycopg2

When I try to install the CM agent 5.16 on SLES12 SP3 I get following error:

 

m4dn136:~ # zypper install cloudera-manager-daemons cloudera-manager-agent
Loading repository data...
Reading installed packages...
'cloudera-manager-daemons' is already installed.
No update candidate for 'cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.sles12.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Problem: nothing provides python-psycopg2 needed by cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64
Solution 1: do not install cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64
Solution 2: break cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64 by ignoring some of its dependencies

This package is not part of the SLES12 SP3 distribution. Where can I get it?

webtransactor
Gold ⭐️
January 11, 2019

7 replies

webtransactor
webtransactorAuthorAnswer
Gold ⭐️
January 11, 2019
EvertonCesario
Silver ⭐️⭐️
January 11, 2019
truonala
Gold ⭐️
Gold ⭐️
January 11, 2019

Try downloading  these repos to all the hosts you will install CM on.  One of them has psycopg2, off hand I don't remember which one.  

{code}

zypper addrepo https://download.opensuse.org/repositories/server:database:postgresql/openSUSE_Tumbleweed/server:database:postgresql.repo

zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Tumbleweed/devel:languages:python.repo

 

zypper refresh
        MUST ANSWER ' a ' TO ALWAYS TRUST KEY QUESTION
zypper clean --all

{code}

 

If an older repo exists, remove it first.

 

Then try your install again.

 

https://www.cloudera.com/documentation/enterprise/release-notes/topics/cm_rn_known_issues.html#sles_dependency

Translate
VidyaSargur
Community Manager
Community Manager
April 24, 2025

@Swarnadeep, Welcome to the Cloudera Community. As this is an older post, starting a new thread would give you a better chance of receiving a resolution. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.