From:
[email protected]
Package: apt-proxy
Version: 1.3.6
Severity: normal
apt-proxy fails to operate with the sarge debian-installer rc1 operating
as client, because it incorrectly parses the request URL against the
request host.
debian-installer issues an HTTP request that includes a port number (80)
in the request. apt-proxy will not accept this request. The response
is a 404, with "Host header does not match request hostname".
The request can be simulated with the command;
http_proxy=
http://localhost:9999/ wget
http://ftp.au.debian.org:80/debian/dists/sarge/Release
The fix is simple. Line 1211 of /usr/sbin/apt-proxy must be changed
from
if [ "`echo $REQUEST | cut -d/ -f3`" = "$REQHOST" ];then
to
if [ "`echo $REQUEST | cut -d/ -f3 | cut -d: -f1`" = "$REQHOST" ];then
This allows the debian-installer to proceed.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-bluetooth-mppe
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt-proxy depends on:
ii ash 0.5.1-1 Compatibility package for the Debi ii binutils 2.14.90.0.7-8 The GNU assembler, linker and bina ii grep-dctrl 2.1.6 Grep Debian package information
ii netbase 4.18 Basic TCP/IP networking system
ii rsync 2.6.2-2 fast remote file copy program (lik ii tcpd 7.6.dbs-4 Wietse Venema's TCP wrapper utilit ii wget 1.9.1-4 retrieves files from the web
-- no debconf information
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)