could not able to download

Asked by somit

whenever i try to download the package or upgrade through update manager,it give following error,as my Internet connection is working fine:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.5.9-5_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.14.24ubuntu1_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/h/html2text/html2text_1.3.2a-5_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gettext/gettext_0.17-6ubuntu2_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/intltool-debian/intltool-debian_0.35.0+20060710.1_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/po-debconf/po-debconf_1.0.15ubuntu1_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/debhelper/debhelper_7.0.17ubuntu4_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/beecrypt/libbeecrypt6_4.1.2-7_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/r/rpm/librpm4.4_4.4.2.3-2ubuntu1_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/r/rpm/rpm_4.4.2.3-2ubuntu1_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/alien/alien_8.73_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/build-essential/build-essential_11.4_i386.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libs/libsys-hostname-long-perl/libsys-hostname-long-perl_1.4-2_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libm/libmail-sendmail-perl/libmail-sendmail-perl_0.79.16-1_all.deb
  Could not connect to 127.0.0.1:9666 (127.0.0.1). - connect (111 Connection refused)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
somit
Solved:
Last query:
Last reply:
Revision history for this message
Dmitry Tantsur (divius) said :
#1

Please check contents of your /etc/hosts file. It seems like your system considers http://archive.ubuntu.com to be on 127.0.0.1 (i.e. your local computer). If you find something like
127.0.0.1 http://archive.ubuntu.com
or so drop it.

Revision history for this message
somit (sovitkumar) said :
#2

thanks...