[SERVER-58870] Can't install on Fedora Created: 27/Jul/21  Updated: 27/Oct/23  Resolved: 29/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mohamed Akram Assignee: Jonathan Streets (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Fedora 34


Operating System: ALL
Steps To Reproduce:

 

  1. Create /etc/yum.repos.d/mongodb-org-5.0.repo:

[mongodb-org-5.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc

  1. Run: sudo dnf install mongodb-org

 

Participants:

 Description   

 

When trying to install mongodb-org on Fedora 34, this is what I get:

Error:  
 Problem: package mongodb-org-5.0.0-1.el8.x86_64 requires mongodb-org-database, but none of the providers can be installed
  - package mongodb-org-database-5.0.0-1.el8.x86_64 requires mongodb-org-database-tools-extra, but none of the providers can be installed
  - conflicting requests
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-5.0.0-1.el8.x86_64

 



 Comments   
Comment by Jonathan Streets (Inactive) [ 29/Sep/21 ]

Hi am@razrlab.com ,

We haven’t heard back from you for some time, so I’m going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,

Jon

Comment by Jonathan Streets (Inactive) [ 09/Aug/21 ]

hi am@razrlab.com,
I was able to install the RPMs for mongodb-database-tools-rhel80-x86_64-100.4.1.rpm and mongodb-mongosh-1.0.4.el7.x86_64.rpm on Fedora 33 after installing 

dnf install compat-openssl10 cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain

As we don't currently have package support for Fedora then these have to be installed from the command line.
Jon

Comment by Mohamed Akram [ 09/Aug/21 ]

Hi Jon. It seems one can install the server, shell and tools separately via:

sudo dnf install mongodb-org-server mongodb-org-shell mongodb-database-tools mongodb-org-mongos

However, installing the new mongosh shell (sudo dnf install mongodb-mongosh) has errors:

 

Error:  
 Problem: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-0.15.3-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-0.15.4-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-0.15.5-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-0.15.6-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-1.0.0-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-1.0.1-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-1.0.2-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-1.0.3-1.el7.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1)(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mongodb-mongosh-1.0.4-1.el7.x86_64

So the problem is with the two packages mongodb-org-database-tools-extra and mongodb-mongosh which are automatically installed when one tries to install the metapackage mongodb-org. Previously this worked on Fedora up to version 4.4.4.

 

Comment by Jonathan Streets (Inactive) [ 02/Aug/21 ]

hi am@razrlab.com,
we don't have package support for Fedora, and we don't run tests against the OS. It looks like platform-python was dropped in Fedora 30, but I was able to install mongodb from the rpm:

curl -LO https://repo.mongodb.org/yum/redhat/8/mongodb-org/testing/x86_64/RPMS/mongodb-org-server-5.0.2-0.1.rc0.el8.x86_64.rpm 
rpm -i mongodb-org-server-5.0.2-0.1.rc0.el8.x86_64.rpm

Note the links for the RPMs are available from the downloads page,  with copy link.

uname -a 
Linux fedora33-01 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 

mongod --version
 db version v5.0.2-rc0
 Build Info: {
 "version": "5.0.2-rc0",
 "gitVersion": "6d9ec525e78465dcecadcff99cce953d380fedc8",
 "openSSLVersion": "OpenSSL 1.1.1k FIPS 25 Mar 2021",
 "modules": [],
 "allocator": "tcmalloc",
 "environment":
{ "distmod": "rhel80", "distarch": "x86_64", "target_arch": "x86_64" }
}

Would this be a suitable workaround?

Cheers,

Jon

Generated at Thu Feb 08 05:45:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.