[SERVER-68538] Typo in dependencies list in RPM config forces to fail installing mongodb enterprise in amazon linux 1 Created: 03/Aug/22  Updated: 29/Oct/23  Resolved: 11/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Tural Farhadov Assignee: Mitch Wagner (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

To reproduce the issue you can build the container image below. 

FROM amazonlinux:1
RUN echo $'\n\
[mongodb]\n\
name=MongoDB Repository\n\
baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/5.0/x86_64/\n\
gpgcheck=1\n\
enabled=1\n\
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc' > /etc/yum.repos.d/mongodb.repo
RUN yum install -y mongodb-enterprise 

You can also list the dependencies for this file   with

rpm -qlR ./mongodb-enterprise-database-5.0.10-1.amzn1.x86_64.rpm 

The list of dependencies is as follows:

mongodb-enterprise-cryptd
mongodb-enterprise-mongos
mongodb-enterprise-server
mongodb-enterprise-database-tools-extra
mongodb-enteprise-shell
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1 

In the above list the dependency mongodb-enteprise-shell  has a typo which fails for mongodb-enterprise package to get installed

 


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