0

Installed the ubuntu 16.04 server. Next, I try to install mongodb 4.2 according to the instructions from the official site.

After entering the command (step 2)

echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list

I get this error

enter image description here

sudo: unable to resolve host sarnormail-vps-10

deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse

Help me figure out what it means?

sudo: unable to resolve host sarnormail-vps-10

Air
  • 101
  • 2
  • 1
    Possible duplicate of [Error message "sudo: unable to resolve host (none)"](https://askubuntu.com/questions/59458/error-message-sudo-unable-to-resolve-host-none) - note that this is not an error message, and does not stop the command from doing what it's supposed to. It's merely a warning. – vidarlo Sep 22 '19 at 14:10
  • @vidarlo, Thank you, I already understood this and solved the problem. – Air Sep 23 '19 at 01:00

0 Answers0