Unable to upgrade to edgy behind transparent squid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I just ran:
gksu "update-manager -c -d"
and received the error:
Could not find the release notes
The server may be overloaded.
I traced the conversation with ethereal and it seems like it's trying to talk to a host named "ubuntu", which obviously doesn't exist and so squid fails, even though it seems to be talking to the correct address (if I send the same request to the same IP without a transparent squid in the way, it replies with the correct RelaseAnnouncement.
Here is the conversation from ethereal. Of particular note I believe is the Host header.
GET //ubuntu/
Accept-Encoding: identity
Host: ubuntu
Connection: close
User-agent: Python-urllib/2.4
HTTP/1.0 503 Service Unavailable
Server: squid/2.5.STABLE12
Mime-Version: 1.0
Date: Thu, 28 Sep 2006 14:05:05 GMT
Content-Type: text/html
Content-Length: 1297
Expires: Thu, 28 Sep 2006 14:05:05 GMT
X-Squid-Error: ERR_DNS_FAIL 0
X-Cache: MISS from localhost.
X-Cache-Lookup: MISS from localhost.
Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
<HTML><HEAD><META HTTP-EQUIV=
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/
</HEAD><BODY>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://
<P>
The following error was encountered:
<BLOCKQUOTE>
Unable to determine IP address from host name for
<I>ubuntu</I>
</BLOCKQUOTE>
<P>
The dnsserver returned:
<BLOCKQUOTE>
Name Error: The domain name does not exist.
</BLOCKQUOTE>
<P>
This means that:
<PRE>
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
</PRE>
<P>Your cache administrator is <A HREF="mailto:
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Thu, 28 Sep 2006 14:05:05 GMT by localhost.
</ADDRESS>
</BODY></HTML>
Thanks for your bugreport and this capture.
Could you please run the following:
#!/usr/bin/env python archive. ubuntu. com/ubuntu/ dists/edgy/ main/dist- upgrader- all/current/ ReleaseAnnounce ment")
import urllib2
n = urllib2.urlopen("http://
print n.read()
n.close()
and if that does not work, could you please provide me the full tcp-stream capture (etherreal/ wireshark if possible)? Including the DNS trafioc? I suspect something with the DNS. I assume there is no http_proxy set on the local machine?
Thanks,
Michael