[SERVER-36795] Yum install for mongo tools 3.6 errors on Centos 7 Created: 21/Aug/18  Updated: 15/Sep/18  Resolved: 22/Aug/18

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

Type: Bug Priority: Minor - P4
Reporter: Nicholas Schleicher [X] Assignee: Zakhar Kleyman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:
  1. Start server running centos-release-7-5.1804.el7.centos.2.x86_64
  2. Create the file /etc/yum.repos.d/mongodb-org-3.6.repo

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

      3. sudo yum install mongodb-org -v

      

--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 0.496
 
 
Dependencies Resolved
 
 
=============================================================================================================================================================================================
 Package                                            Arch                                   Version                                     Repository                                       Size
=============================================================================================================================================================================================
Installing:
 mongodb-org                                        x86_64                                 3.6.7-1.el7                                 mongodb-org-3.6                                 5.8 k
Installing for dependencies:
 mongodb-org-mongos                                 x86_64                                 3.6.7-1.el7                                 mongodb-org-3.6                                  12 M
 mongodb-org-server                                 x86_64                                 3.6.7-1.el7                                 mongodb-org-3.6                                  20 M
 mongodb-org-shell                                  x86_64                                 3.6.7-1.el7                                 mongodb-org-3.6                                  12 M
 mongodb-org-tools                                  x86_64                                 3.6.7-1.el7                                 mongodb-org-3.6                                  64 k
 
 
Transaction Summary
=============================================================================================================================================================================================
Install  1 Package (+4 Dependent packages)
 
 
Total size: 44 M
Total download size: 64 k
Installed size: 265 M
Is this ok [y/d/N]: y
Downloading packages:
using local copy of mongodb-org-shell-3.6.7-1.el7.x86_64
using local copy of mongodb-org-mongos-3.6.7-1.el7.x86_64
using local copy of mongodb-org-server-3.6.7-1.el7.x86_64
using local copy of mongodb-org-3.6.7-1.el7.x86_64
mongodb-org-tools-3.6.7-1.el7. FAILED                                          
https://repo.mongodb.org/yum/redhat/7/mongodb-org/3.6/x86_64/RPMS/mongodb-org-tools-3.6.7-1.el7.x86_64.rpm: [Errno 14] curl#63 - "Callback aborted"        ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
 
 
 
 
Error downloading packages:
  mongodb-org-tools-3.6.7-1.el7.x86_64: [Errno 256] No more mirrors to try.

Participants:

 Description   

Yum installing the mongodb-org repo for 3.6 fails when it downloads mongodb-org-tools

This only happens when the .repo is left with $releasever which results to "7". After I manually changed the .repo to be "7Server" the download worked

Seems related to SERVER-26564

 



 Comments   
Comment by Nicholas Schleicher [X] [ 22/Aug/18 ]

Retried the yum install and it works now, thanks!

Comment by Zakhar Kleyman [ 21/Aug/18 ]

I've rebuilt the repo metadata, it should work now.

Can you please do sudo yum clean all and try to install the packages again?

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