Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Contributor

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?

1 ACCEPTED SOLUTION

avatar
Contributor
7 REPLIES 7

avatar
Contributor

avatar
New Contributor

I tried downloading from

http://download.opensuse.org/repositories/Cloud:/OpenStack:/Upstream:/Queens:/SLE_12_SP3/SLE_12_SP3/...

and installed by rpm, but still having problem....

avatar
Super Collaborator

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:dat...

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

 

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_...

avatar
New Contributor

Worked!!! perfect!!!!!

 

thank you so much!!!!

avatar
Super Collaborator

Great!!   Glad to hear it!!

avatar
New Contributor

is this still valid

avatar
Community Manager

@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.



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.
Learn more about the Cloudera Community: