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

2
  • 1
    Possible duplicate of 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, 2019 at 14:10
  • @vidarlo, Thank you, I already understood this and solved the problem.
    – Air
    Sep 23, 2019 at 1:00

0

You must log in to answer this question.

Browse other questions tagged .