How to install a specific MongoDB release (3.4.2) on Ubuntu 20.0 focal?

I followed the official doc here:

did the following step:

wget -qO - | sudo apt-key add -

echo "deb [ arch=amd64,arm64 ] focal/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

sudo apt-get update

sudo apt-get install -y mongodb-org=3.4.2 mongodb-org-server=3.4.2 mongodb-org-shell=3.4.2 mongodb-org-mongos=3.4.2 mongodb-org-tools=3.4.2

I got the following error:

E: Version '3.4.2' for 'mongodb-org' was not found
E: Version '3.4.2' for 'mongodb-org-server' was not found
E: Version '3.4.2' for 'mongodb-org-shell' was not found
E: Version '3.4.2' for 'mongodb-org-mongos' was not found
E: Version '3.4' for 'mongodb-org-tools' was not found

Please help!

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like