batandwa
By:
batandwa

Unable to connect to 10.10.10.10:3142

July 14, 2014 2.5k views

Hi,

I'm getting connection errors when running apt-get update.

Here's a snippet of the output:

root@do:~# apt-get update
Err http://us.archive.ubuntu.com precise Release.gpg
  Could not connect to 10.10.10.10:3142 (10.10.10.10). - connect (101: Network is unreachable)
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 10.10.10.10:3142:
Ign http://us.archive.ubuntu.com precise Release
Ign http://us.archive.ubuntu.com precise-updates Release
Ign http://us.archive.ubuntu.com precise-backports Release
Ign http://us.archive.ubuntu.com precise/main TranslationIndex
Ign http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise/universe TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Err http://us.archive.ubuntu.com precise/main Sources
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/restricted Sources
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/universe Sources
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/multiverse Sources
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/main amd64 Packages
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/restricted amd64 Packages
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/universe amd64 Packages
  Unable to connect to 10.10.10.10:3142:
Err http://us.archive.ubuntu.com precise/multiverse amd64 Packages
  Unable to connect to 10.10.10.10:3142:
1 Answer

Have you recently modified any files in /etc/apt?

  • I forgot to come back and update. It was /etc/apt/apt.conf.d/01proxy it had this line in it: Acquire::http { Proxy "http://10.10.10.10:3142"; };. I commented it out.

Have another answer? Share your knowledge.