Solved

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

Posted on 2009-05-07
3
2,390 Views
Last Modified: 2013-12-06
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.
0
Comment
Question by:Marc_Johnson
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24326487
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
 

Author Comment

by:Marc_Johnson
ID: 24326702
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
 

Author Comment

by:Marc_Johnson
ID: 24326901
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now