Bug#273447: "Bad header line" when doing "apt-get update"
Package: apt
Version: 0.5.27
Severity: important
Hit http://non-us.debian.org testing/non-US/main Packages
Hit http://security.debian.org stable/updates/main Packages
Err http://mirror.hamakor.org.il testing/main Packages
Bad header line [IP: 132.77.5.129 8080]
Hit http://non-us.debian.org testing/non-US/main Release
Hit http://security.debian.org stable/updates/main Release
Err http://mirror.hamakor.org.il testing/main Release
Bad header line [IP: 132.77.5.129 8080]
etc.
The IP & port in the header is the proxy's. From the command line I can
download the files with no problem, e.g.
# wget
http://mirror.hamakor.org.il/pub/mirrors/debian/dists/testing/contrib/binary-i386/Packages.gz
--08:49:15--
http://mirror.hamakor.org.il/pub/mirrors/debian/dists/testing/contrib/binary-i386/Packages.gz
=> `Packages.gz'
Resolving wwwproxy.weizmann.ac.il... 132.77.5.43, 132.77.5.129
Connecting to wwwproxy.weizmann.ac.il[132.77.5.43]:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 56,062 [text/plain]
100%[================================================================================>]
56,062 93.90K/s
08:49:16 (93.74 KB/s) - `Packages.gz' saved [56062/56062]
So it's not a problem in either the proxy or the mirror themselves.
apt-get from the stable makes no difference (and 0.5.27 worked fine
earlier anyway).
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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::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:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
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 "http://wwwproxy.weizmann.ac.il:8080";
DSelect "";
DSelect::Clean "always";
-- /etc/apt/preferences --
-- /etc/apt/sources.list --
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main non-free contrib
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main non-free contrib
deb-src http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main non-free contrib
deb-src http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2 GCC support library
ii libstdc++5 1:3.3.4-11 The GNU Standard C++ Library v3
-- no debconf information
Reply to: