[SERVER-42625] Issue installing mongodb-10gen==2.4.10 Created: 05/Aug/19  Updated: 27/Oct/23  Resolved: 10/Oct/19

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

Type: Bug Priority: Major - P3
Reporter: Volodymyr Tsiupko Assignee: Dmitry Agranat
Resolution: Community Answered 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
Steps To Reproduce:

Just follow instructions described [here|https://docs.mongodb.com/v2.4/tutorial/install-mongodb-on-ubuntu/].

Participants:

 Description   

We have docker automated build that started to fail recently, reproducing commands locally returns the same error.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9ECBEC467F0CEB10

echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list

sudo apt-get update

 

Result: 

W: http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release.gpg: Signature by key 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 uses weak digest algorithm (SHA1)
E: Failed to fetch store:/var/lib/apt/lists/partial/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-amd64_Packages.gz Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

 



 Comments   
Comment by Volodymyr Tsiupko [ 03/Oct/19 ]

Please, mark this as resolved, thanks for your assistance.

Comment by Volodymyr Tsiupko [ 03/Oct/19 ]

Hi Dima,

 

This is exactly what I had to do to upgrade our mongo, I just wish that this information was stated in the docs, so that people on older versions had instructions to download legacy binaries and install from them.

Comment by Dmitry Agranat [ 02/Oct/19 ]

Hi Volodymyr,

Apologies for a delayed response. downloads-distro.mongodb.org was recently retired but you can find earlier binaries here https://www.mongodb.org/dl/linux/x86_64 and https://www.mongodb.org/dl/win32/x86_64.

Thank you,
Dima

Comment by Volodymyr Tsiupko [ 20/Aug/19 ]

Hi Dima,

To try the latest version we need to upgrade existing cluster to the latest version. According to docs we need to do it step-by-step, upgrading to from 2.4.10 to 2.6, then from 2.6 to 3.0, and so on.

As of now versions 2.4 and 2.6 are uninstallable due to connection timeout to the downloads-distro.mongodb.org

 

Err:19 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease
Could not connect to downloads-distro.mongodb.org:80 (23.23.96.15), connection timed out
Fetched 16.0 MB in 2min 0s (133 kB/s)
Reading package lists... Done
W: Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/InRelease Could not connect to downloads-distro.mongodb.org:80 (23.23.96.15), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

What should we do in this case, is there another way to install older versions of mongo?

 

 

Comment by Dmitry Agranat [ 05/Aug/19 ]

Hi vtsyupko@readycloud.com,

It looks like you are trying to use a tutorial to install MongoDB 2.4 on Ubuntu. As MongoDB 2.4 reached EOL 3.5 years ago, could you try the latest https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ and report back if you still have an issue?

Thank you,
Dima

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