Following these instructions http://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/ of how to install mongodb, I got an error:
$ sudo apt-get install mongodb-org
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjpeg62 python-colorama python-distlib python-html5lib
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
The following NEW packages will be installed:
mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
mongodb-org-tools
0 upgraded, 5 newly installed, 0 to remove and 15 not upgraded.
Need to get 50.7 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
mongodb-org
Install these packages without verification? [y/N] y
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org-shell amd64 3.0.5
407 Proxy Authentication Required
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org-server amd64 3.0.5
407 Proxy Authentication Required
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org-mongos amd64 3.0.5
407 Proxy Authentication Required
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org-tools amd64 3.0.5
407 Proxy Authentication Required
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org amd64 3.0.5
407 Proxy Authentication Required
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/mongodb-org-shell_3.0.5_amd64.deb 407 Proxy Authentication Required
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/mongodb-org-server_3.0.5_amd64.deb 407 Proxy Authentication Required
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/mongodb-org-mongos_3.0.5_amd64.deb 407 Proxy Authentication Required
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/mongodb-org-tools_3.0.5_amd64.deb 407 Proxy Authentication Required
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/mongodb-org_3.0.5_amd64.deb 407 Proxy Authentication Required
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
There's no proxy I go to the Internet through.
From your command line, see if can you do the following:
note pay attention to the quotes, there are two returns in the string pipped to netcat (may be called nc on your system). You should get a response like below. If netcat is not installed, then you can use telnet as well if it happens to be installed.
If you do not get that, then your HTTP connection is being intercepted by a proxy of some sort, possibly a TCP proxy or transparent proxy - and you would need to talk with your network provider for more information.