Bug#386947: apt-get update sends broker HTTP/1.1 requests
Package: apt
Version: 0.6.45
Severity: important
in etch apt-get update sends incorrect HTTP request making impossible
to update in some circumstances...
in particular I discovered the problem tring to solve the
"HAVP invalid request from browser" issue arising on at update.
Dumping the network traffic it happens that apt-get update sends
an invalid HTTP request such as
"GET http://debian.fastweb.it/debian/..../ HTTP/1.1"
It is clear that the right request should *not* include protocol
and hostname in the request:
"GET /debian/..../ HTTP/1.1"
the above is infact the correct request as sniffed in a lynx connection
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p
$PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0;
fi";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "DIRECT";
Acquire::http::Pipeline-Depth "0";
-- (/etc/apt/preferences present, but not submitted) --
-- /etc/apt/sources.list --
deb http://debian.fastweb.it/debian/ etch main
#deb ftp://debian.fastweb.it/debian/ unstable main
#deb-src http://ftp.it.debian.org/debian/ etch main
# Line commented out by installer because it failed to verify:
#deb ftp://security.debian.org etch/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib non-free
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared
libraries
ii libgcc1 1:4.1.1-13 GCC support library
ii libstdc++6 4.1.1-13 The GNU Standard C++
Library v3
Versions of packages apt recommends:
ii debian-archive-keyring 2006.01.18 GnuPG archive keys of the
Debian a
-- no debconf information
Reply to: