Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
338 views
in Technique[技术] by (71.8m points)

linux - Is python2 (as dependency of mongodb) no more available at public repositories?

I am trying to install mongodb community edition 4.4 at RHEL8 but it is getting failed saying No Match found for python2.

  1. then i tried

dnf install python2

No match for argument: python2 Error: Unable to find a match: python2

Repos configured are: EPEL, EPEL-modular and mongodb

  1. I installed python2.7-18 from source and provided symlinks for python2.7->python2 and python2.7->python.

dnf install mongodb-org -y

Error: 
 Problem: package mongodb-org-4.4.3-1.el8.x86_64 requires mongodb-org-server = 4.4.3, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides python2 needed by mongodb-org-server-4.4.3-1.el8.x86_64
  1. Is python2 no more available at these public repositories[epel/mongodb] or is there some mistake.
  2. All internet sources tell me mongodb repo itself resolves all python2 dependencies but not in this case. May be because of python2 EOL?
  3. Any alternative to get it working.
question from:https://stackoverflow.com/questions/65942008/is-python2-as-dependency-of-mongodb-no-more-available-at-public-repositories

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...