Package: apt
Version: 0.6.43.3
Severity: critical

apt-get update produces "Bad header line" messages on some files. Note that
this error is not reproduceable always (and happens for different files
although Release.gpg is often among them), sometimes the update runs
successfully, I've also tried 
apt-get -o Acquire::http::Pipeline-Depth=0 update
suggested in an earlier bug-report for apt but this did not work.
I'm running apache 1.3.33-6sarge1 on a debian server for my local debian
mirror.

Output of apt-get:
gnu:~# apt-get -o Acquire::http::Pipeline-Depth=0 update
Errhttp://bee etch Release.gpg
  Bad header line [IP: 10.0.0.5 80]
Ign http://bee etch Release
Errhttp://bee etch/main Packages
  Bad header line [IP: 10.0.0.5 80]
Hit http://bee etch/non-free Packages
Hit http://bee etch/contrib Packages
Hit http://bee etch/main Sources
Hit http://bee etch/non-free Sources
Hit http://bee etch/contrib Sources
Get: 1 http://security.debian.org etch/updates Release.gpg [189B]
Get: 2 http://debian.inode.at etch Release.gpg [189B]
Hit http://debian.inode.at etch Release
Hit http://security.debian.org etch/updates Release
Hit http://security.debian.org etch/updates/main Packages
Hit http://debian.inode.at etch/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://debian.inode.at etch/non-free Packages
Hit http://security.debian.org etch/updates/non-free Packages
Hit http://debian.inode.at etch/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Hit http://security.debian.org etch/updates/non-free Sources
Fetched 190B in 0s (394B/s)
Failed to fetch http://bee/debian/dists/etch/Release.gpg  Bad header line [IP: 
10.0.0.5 80]
Failed to fetch http://bee/debian/dists/etch/main/binary-i386/Packages.gz  Bad 
header line [IP: 10.0.0.5 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones 
used instead.

Corresponding Apache access.log on the server:
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET /debian/dists/etch/Release.gpg 
HTTP/1.1" 200 189 "-" "Debian APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET /debian/dists/etch/Release 
HTTP/1.1" 304 - "-" "Debian APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET 
/debian/dists/etch/main/binary-i386/Packages.gz HTTP/1.1" 304 - "-" "Debian 
APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET 
/debian/dists/etch/non-free/binary-i386/Packages.gz HTTP/1.1" 304 - "-" "Debian 
APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET 
/debian/dists/etch/contrib/binary-i386/Packages.gz HTTP/1.1" 304 - "-" "Debian 
APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET 
/debian/dists/etch/main/source/Sources.gz HTTP/1.1" 304 - "-" "Debian 
APT-HTTP/1.3" "-"
10.0.0.12 - - [03/May/2006:09:07:09 +0200] "GET 
/debian/dists/etch/non-free/source/Sources.gz HTTP/1.1" 304 - "-" "Debian 
APT-HTTP/1.3" "-"


-- 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";
Acquire "";
Acquire::::Proxy "false";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

# deb http://bee/debian/ etch main
deb http://bee/debian/ etch main non-free contrib
deb-src http://bee/debian/ etch main non-free contrib
#deb http://bee/debian-dist/security/ etch/updates main non-free contrib
deb http://debian.inode.at/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages apt depends on:
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.0-1+b1 GCC support library
ii  libstdc++6                  4.1.0-1+b1   The GNU Standard C++ Library v3

Versions of packages apt recommends:
pn  debian-archive-keyring        <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to