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