TurnKey Linux Virtual Appliance Library

apt-get update fails

When I attempt to update turnkey I receive the following.

 

W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/hardy-security/Release.gpg  Could not connect to archive.turnkeylinux.org:80 (97.107.134.22). - connect (111 Connection refused)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg  Could not connect to archive.ubuntu.com:80 (91.189.92.172). - connect (111 Connection refused) [IP: 91.189.92.172 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/Release.gpg  Could not connect to security.debian.org:80 (149.20.20.6). - connect (111 Connection refused) [IP: 149.20.20.6 80]
 
Please note; this box can securely access the web, can ping www.google.com, can return IP Address, can be reached via the LAN etc... I do not believe this is a networking issue but would be more than happy if I was proven to be wrong on that question, as I am still somewhat new to linux and turnkey.  
What steps should i take to troubleshoot and hopefully resolve this issue.
 

Do you use a proxy server to access internet?

If you are behind a proxy, try running

export http_proxy=http://your-proxy-ip/ 

and then run apt-get update. If that work, you'll need to set up the proxy settings for apt-get.

It work'd

In my opinion, is a better answer:

 

export http_proxy=http://[your-proxy-ip]:[your-proxy-port-number]/ 

without the Square brackets [ ]

 

Thanx for the info!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)