Upgrading from 3.4 version to 3.6 version

Hi, I’m using the MongoDB 3.4.24 version and I’m trying to upgrade it to 3.6. However, when I am trying to install the server, shell, mongos, tools and mongodb-org packages it is saying that the packages under the version 3.6.23 are not found.
Up to this command I took the following steps:
1 - wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | sudo tee /etc/apt/trusted.gpg.d/mongodb-3.gpg
2 - echo “deb [ arch=amd64 ] MongoDB Repositories bionic/mongodb-org/3.6 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
3 - sudo apt-get update
4 - sudo apt-get install -y mongodb-org=3.6.23 mongodb-org-server=3.6.23 mongodb-org-shell=3.6.23 mongodb-org-mongos=3.6.23 mongodb-org-tools=3.6.23
I got the error after the 4th step.

The problem solved. It appears I had to import a specific gpg key from ubuntu keyserver.(key: 2930adae8caf5059ee73bb4b58712a2291fa4ad5)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930adae8caf5059ee73bb4b58712a2291fa4ad5

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.