"113 No route to host" error when using apt-get on Ubuntu Server 8.04

When I try using apt-get to download and install an application from the Internet, I get the following error:

Could not connect to 192.168.100.1:8080 (192.168.100.1). - connect (113 No route to host)

I recognize 192.168.100.1 as our old proxy server which is no longer being used. How do I change the config to point to our new proxy address? Please note that this is Ubuntu server without a GUI installed, so I will need to do whatever config update from the command line. Thanks for your help.
Marc_JohnsonAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
fosiul01Connect With a Mentor Commented:
i did not use ubuntu for long , but with bellow 2 solution


have a look this one  by editing apt.conf file

http://blogs.sun.com/venky/entry/using_apt_get_with_a

also another solution :


If youre using command-line apt-get

Edit your /etc/bash.bashrc file as root.

Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/
0
 
Marc_JohnsonAuthor Commented:
I am still confused. When I go to edit apt.conf, the file is empty. Also, there is no entry in bash.bashrc listing our old proxy server (192.168.100.1). If this is the case, where is Ubuntu getting 192.168.100.1 to try from in the first place?
0
 
Marc_JohnsonAuthor Commented:
Ignore my previous post. I did find that the apt.conf was pointing to the old proxy server. I was able to change it here to the new one. Thanks for your help!
0
All Courses

From novice to tech pro — start learning today.