Bug#343985: apt: Bad header line and 404 Not Found

2008-05-25 Thread Vincent Lefevre
On 2007-01-20 23:36:40 +0200, Lars Wirzenius wrote:
 Notice the garbage header. The server was running a really old version
 of etch, with apache 1. I replaced it with apache 2, and the problem
 went away. I suspect, therefore, that the problem is not in apt, but in
 the web server. Or else something I did merely hid the problem, of
 course.

But why does this occur on powerpc only?

And couldn't apt try another web server (and blacklist bad ones
for the future connections)?

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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



Bug#343985: apt: Bad header line and 404 Not Found

2008-05-25 Thread Vincent Lefevre
On 2006-09-02 15:17:35 -0700, [EMAIL PROTECTED] wrote:
 I experience almost the same problem when I do apt-get upgrade. When 
 downloading packages to be upgraded I get all of a sudden 404 Not Found 
 error message. To complete upgrade I have to run 'apt-get upgrade' several 
 times and eventually all packages are downloaded. 
 
 This happens on a powerpc with up to date sid (apt version 0.6.45). It is 
 interesting that apt running on x86 machine with almost the same 
 configuration does not experience this problem. 

I have exactly the same problem with apt 0.7.11 on powerpc.

Ditto, I've never had any such problem with x86 and x86_64.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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



Bug#343985: apt: Bad header line and 404 Not Found

2008-05-25 Thread Lars Wirzenius
su, 2008-05-25 kello 23:50 +0200, Vincent Lefevre kirjoitti:
 On 2007-01-20 23:36:40 +0200, Lars Wirzenius wrote:
  Notice the garbage header. The server was running a really old version
  of etch, with apache 1. I replaced it with apache 2, and the problem
  went away. I suspect, therefore, that the problem is not in apt, but in
  the web server. Or else something I did merely hid the problem, of
  course.
 
 But why does this occur on powerpc only?

Does it occur on powerpc only? I've never really used a powerpc machine,
and it happened to me.

Hasn't happened in years, though. I have no futher information to add to
this bug.





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



Bug#343985: apt: Bad header line and 404 Not Found

2008-05-25 Thread Vincent Lefevre
On 2008-05-26 01:33:39 +0300, Lars Wirzenius wrote:
 Does it occur on powerpc only?

Well, it happens with both fr.powerpc.mirror.debian.net and
de.powerpc.mirror.debian.net (which correspond to a set of
mirrors).

 I've never really used a powerpc machine, and it happened to me.
 
 Hasn't happened in years, though. I have no futher information to
 add to this bug.

Well, currently it occurs with some mirrors for powerpc.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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



Bug#343985: apt: Bad header line and 404 Not Found

2008-05-25 Thread Lars Wirzenius
ma, 2008-05-26 kello 00:58 +0200, Vincent Lefevre kirjoitti:
  Hasn't happened in years, though. I have no futher information to
  add to this bug.
 
 Well, currently it occurs with some mirrors for powerpc.

I'm sure it does, but since I have no further information about this,
there is no need to Cc me anymore, thanks. :)





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



Bug#343985: apt: Bad header line and 404 Not Found

2007-01-20 Thread Lars Wirzenius
I ran into this problem of apt-get (or synaptic) barfing on bad headers.
I tried to get the same file with wget:

[EMAIL PROTECTED] wget -S http://agnes/debian/dists/etch/Release.gpg
--23:30:26--  http://agnes/debian/dists/etch/Release.gpg
   = `Release.gpg'
Selvitetään osoitetta agnes... 192.168.1.102
Yhdistetään palvelimeen agnes|192.168.1.102|:80... yhdistetty.
HTTP-pyyntö lähetetty, odotetaan vastausta...
  HTTP/1.1 200 OK
  Date: Sat, 20 Jan 2007 21:30:11 GMT
  Server: Apache/1.3.34 (Debian)
  Last-Modified: Sat, 20 Jan 2007 08:08:24 GMT
  ETag: 37345ff-17a-45b1cdf8
  Accept-Ranges: bytes
  Content-Length: 378
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: text/pgp
@Pontent-Encoding: armored p'
Pituus: 378 [text/pgp]

Notice the garbage header. The server was running a really old version
of etch, with apache 1. I replaced it with apache 2, and the problem
went away. I suspect, therefore, that the problem is not in apt, but in
the web server. Or else something I did merely hid the problem, of
course.

-- 
The road is wide and the sky is tall, before I die I will see it
all.--H.A.




Bug#343985: apt: Bad header line and 404 Not Found

2006-09-02 Thread peles
I experience almost the same problem when I do apt-get upgrade. When 
downloading packages to be upgraded I get all of a sudden 404 Not Found 
error message. To complete upgrade I have to run 'apt-get upgrade' several 
times and eventually all packages are downloaded. 

This happens on a powerpc with up to date sid (apt version 0.6.45). It is 
interesting that apt running on x86 machine with almost the same 
configuration does not experience this problem. 

Let me know if I can help fix this bug. Best,
Slaven


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



Bug#343985: apt: Bad header line and 404 Not Found

2005-12-19 Thread Manuel Bilderbeek
Package: apt
Version: 0.6.42.1
Severity: normal


Since the new APT (which does the gnupg stuff), I have problems doing an
apt-get update here. Here is relevant, because we use a proxy server
here.
I do an apt-get update every morning, and the first time always fails:

$ sudo apt-get update
Password:
Ign http://ftp.nl.debian.org testing Release.gpg
Ign http://ftp.nl.debian.org testing Release
Ign http://security.debian.org stable/updates Release.gpg
Ign http://security.debian.org stable/updates Release
Ign http://ftp.nl.debian.org testing/main Packages
Ign http://ftp.nl.debian.org testing/contrib Packages
Ign http://ftp.nl.debian.org testing/non-free Packages
Err http://ftp.nl.debian.org testing/main Packages
Bad header line
Ign http://http.us.debian.org testing Release.gpg
Err http://ftp.nl.debian.org testing/contrib Packages
Bad header line
Err http://ftp.nl.debian.org testing/non-free Packages
Bad header line
Ign http://security.debian.org stable/updates/main Packages
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Ign http://http.us.debian.org testing Release
Err http://security.debian.org stable/updates/main Packages
404 Not Found
Err http://security.debian.org stable/updates/contrib Packages
404 Not Found
Get:1 http://security.debian.org stable/updates/non-free
Packages [164kB]
Ign http://http.us.debian.org testing/main Packages
Ign http://http.us.debian.org testing/contrib Packages
Ign http://http.us.debian.org testing/non-free Packages
Err http://http.us.debian.org testing/main Packages
Bad header line
Err http://http.us.debian.org testing/contrib Packages
Bad header line
Err http://http.us.debian.org testing/non-free Packages
Bad header line
Fetched 164kB in 2s (63.1kB/s)
Failed to fetch 
http://ftp.nl.debian.org/debian/dists/testing/main/binary-i386/Packages.gz Bad 
header line
Failed to fetch 
http://ftp.nl.debian.org/debian/dists/testing/contrib/binary-i386/Packages.gz 
Bad header line
Failed to fetch 
http://ftp.nl.debian.org/debian/dists/testing/non-free/binary-i386/Packages.gz 
Bad header line
Failed to fetch 
http://security.debian.org/dists/stable/updates/main/binary-i386/Packages.gz 
404 Not Found
Failed to fetch 
http://security.debian.org/dists/stable/updates/contrib/binary-i386/Packages.gz 
404 Not Found
Failed to fetch 
http://http.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz Bad 
header line
Failed to fetch 
http://http.us.debian.org/debian/dists/testing/contrib/binary-i386/Packages.gz 
Bad header line
Failed to fetch 
http://http.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.gz 
Bad header line
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones 
used instead.


However, when I do it again, right after this, it does work:


$ sudo apt-get update
Get:1 http://security.debian.org stable/updates Release.gpg [189B]
Get:2 http://security.debian.org stable/updates Release [20.0kB]
Get:3 http://ftp.nl.debian.org testing Release.gpg [189B]
Get:4 http://ftp.nl.debian.org testing Release [35.9kB]
Get:5 http://http.us.debian.org testing Release.gpg [189B]
Get:6 http://http.us.debian.org testing Release [35.9kB]
Ign http://security.debian.org stable/updates/main Packages
Get:7 http://ftp.nl.debian.org testing/main Packages [2715kB]
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Get:8 http://security.debian.org stable/updates/main Packages [164kB]
Hit http://security.debian.org stable/updates/contrib Packages
Get:9 http://http.us.debian.org testing/main Packages [2715kB]
Hit http://security.debian.org stable/updates/non-free Packages
Get:10 http://ftp.nl.debian.org testing/contrib Packages [43.7kB]
Get:11 http://ftp.nl.debian.org testing/non-free Packages [51.4kB]
Get:12 http://http.us.debian.org testing/contrib Packages [43.7kB]
Get:13 http://http.us.debian.org testing/non-free Packages [51.4kB]
Fetched 5876kB in 36s (161kB/s)
Reading package lists... Done

At home, where I don't use a proxy, I have no problems.
Hinted by bug #273447 I tried the

Acquire::http::Pipeline-Depth 0

but that didn't help a bit.

-- 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 ;