[SERVER-36409] Install v3.2 from yum repository errors out on RHEL 7Server Created: 02/Aug/18  Updated: 14/Oct/18  Resolved: 10/Sep/18

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

Type: Bug Priority: Major - P3
Reporter: Wan Bachtiar Assignee: Zakhar Kleyman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Steps To Reproduce:

https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-red-hat/ on Centos7

Participants:
Story Points: 1

 Description   

The yum repositories for version 3.2 has an issue that prevents install on RHEL 7Server:

 
================================================================================
 Package               Arch      Version               Repository          Size
================================================================================
Installing:
 mongodb-org           x86_64    3.2.20-1.el7          mongodb-org-3.2    5.8 k
Installing for dependencies:
 make                  x86_64    1:3.82-23.el7         base               420 k
 mongodb-org-mongos    x86_64    3.2.20-1.el7          mongodb-org-3.2    5.7 M
 mongodb-org-server    x86_64    3.2.20-1.el7          mongodb-org-3.2     13 M
 mongodb-org-shell     x86_64    3.2.20-1.el7          mongodb-org-3.2    6.8 M
 mongodb-org-tools     x86_64    3.2.20-1.el7          mongodb-org-3.2    4.1 M
 openssl               x86_64    1:1.0.2k-12.el7       base               492 k
 
Transaction Summary
================================================================================
Install  1 Package (+6 Dependent packages)
 
Total download size: 30 M
Installed size: 204 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/make-3.82-23.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for make-3.82-23.el7.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/mongodb-org-3.2/packages/mongodb-org-3.2.20-1.el7.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID ea312927: NOKEY
Public key for mongodb-org-3.2.20-1.el7.x86_64.rpm is not installed
https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/3.2/x86_64/RPMS/mongodb-org-tools-3.2.20-1.el7.x86_64.rpm: [Errno 14] curl#63 - "Callback aborted"
Trying other mirror.
 
Error downloading packages:
  mongodb-org-tools-3.2.20-1.el7.x86_64: [Errno 256] No more mirrors to try.

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



 Comments   
Comment by Wan Bachtiar [ 10/Sep/18 ]

Yes, although it still outputs warning for NOKEY this time installs successfully.

warning: /var/cache/yum/x86_64/7/base/packages/make-3.82-23.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for make-3.82-23.el7.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/mongodb-org-3.2/packages/mongodb-org-3.2.21-1.el7.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID ea312927: NOKEY
Public key for mongodb-org-3.2.21-1.el7.x86_64.rpm is not installed

Ticket can be closed.

Comment by Ian Whalen (Inactive) [ 07/Sep/18 ]

wan.bachtiar are you good to go?

Comment by Zakhar Kleyman [ 06/Aug/18 ]

I've updated the repo metadata, I'm able to install the packages now.

Please run sudo yum clean all and try the installation steps again.

Generated at Thu Feb 08 04:43:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.