I had the same issue in the past, something o do with the way my ISP worked...<div><br></div><div>If you are able to get to the repository web server, try: <b>sudo apt-get update -o Acquire::http::No-Cache=True</b><div><br>
</div><div>It worked for my, and is now a part of a script a run when I need to check for upgrades... I call it gta (stands for Get Them All), you can try as a script or simply writing every line</div><div><br></div><div>
<div><b>leitao@amz:~$ cat /usr/local/bin/gta </b></div><div><font class="Apple-style-span" face="'courier new', monospace">#!/bin/bash</font></div><div><font class="Apple-style-span" face="'courier new', monospace">sudo dpkg --configure -a</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get check</font></div><div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get update -o Acquire::http::No-Cache=True</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get -y autoremove</font></div><div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get -f -y install</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get -y upgrade && sudo apt-get -f -y install </font></div><div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get -y dist-upgrade && sudo apt-get -f -y install</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get -y autoremove && sudo apt-get autoclean </font></div><div><font class="Apple-style-span" face="'courier new', monospace">sudo apt-get clean</font></div>
</div><div><br></div><div><br><br><div class="gmail_quote">2010/3/10 Jorge Dardón <span dir="ltr"><<a href="mailto:jorge@xelalug.org">jorge@xelalug.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2010/3/10 Ryan Parrish <<a href="mailto:rparrish@freightlogistics.com">rparrish@freightlogistics.com</a>>:<br>
<div class="im">><br>
> On Mar 9, 2010, at 5:18 PM, Services wrote:<br>
><br>
>> Hello,<br>
>><br>
>> I did a re-install and was able to get 8.04.4 installed and all seemed<br>
>> okay. After the installation was complete I typed the following:<br>
>><br>
>> sudo apt-get update && sudo apt-get upgrade and recieved the following:<br>
>><br>
>> Err <a href="http://security.ubuntu.com" target="_blank">http://security.ubuntu.com</a> hardy-security Release.gpg<br>
>><br>
>> Could not connect to <a href="http://security.ubuntu.com:80" target="_blank">security.ubuntu.com:80</a> (91.189.88.31), connection<br>
>> timed out [IP: 91.189.88.31 80]<br>
>><br>
>> Err <a href="http://security.ubuntu.com" target="_blank">http://security.ubuntu.com</a> hardy-security/main Translation-en_US<br>
>><br>
>> Unable to connect to <a href="http://security.ubuntu.com" target="_blank">security.ubuntu.com</a> http: [IP: 91.189.88.31 80]<br>
>><br>
><br>
> <snip><br>
><br>
> Can you access <a href="http://us.archive.ubuntu.com/" target="_blank">http://us.archive.ubuntu.com/</a> just in your web browser? It should respond with a "Index of /" page.<br>
> You wouldn't happen to have any kind of standard (i.e. you have to setup the proxy settings on your computer) or transparent proxy on your network would you? This is acting like some kind of proxy server somewhere messing things up.<br>
><br>
><br>
<br>
</div>Are you behind a proxy server?<br>
<br>
try to export this env variables:<br>
<br>
# export HTTP_PROXY="http://ip_proxy:port"<br>
# export FTP_PROXY="http://ip_proxy:port"<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Jorge Dardón Galicia<br>
------------------------------<br>
<a href="http://www.elblogdeljorge.com" target="_blank">www.elblogdeljorge.com</a><br>
<a href="http://www.xelalug.org" target="_blank">www.xelalug.org</a><br>
</font><div><div></div><div class="h5"><br>
--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Fábio Leitão<br>..-. .- -... .. --- .-.. . .. - .- --- ...-.-<br><br>
</div></div>