I am trying to install mongodb on my laptop with Ubuntu 16.04 LTS. When I executed this command
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
this error showed up:
sudo: unable to resolve host architect
Note: I have tried with [ arch=i686,i686 ] which is my pc architecture. What's the problem?
sudodoesn't handle architecture management, so it should be impossible forsudoto error out on architecture, either. Further, one doesn't really resolve architectures. :P – Kaz Wolfe Jan 29 '17 at 23:39