Solved

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

Posted on 2009-05-07
3
2,459 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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