On Sun, Mar 15, 2009 at 09:09:17PM +0000, Mark Hindley wrote:
> Could you try this patch  against /usr/share/apt-cacher/apt-cacher and
> see if it helps.
> 
> Thanks
> 
> Mark
> 
> diff --git a/apt-cacher b/apt-cacher
> index 48741b6..13e19f0 100755
> --- a/apt-cacher2
> +++ b/apt-cacher2
> @@ -861,7 +861,7 @@ sub return_file {
>               debug_message("Header sent: $headstring");
>  
>               # Stop after sending the header with errors
> -             return if HTTP::Status::is_server_error($code);
> +             return if HTTP::Status::is_error($code);
>  
>           }
>           else {
> 

No, just tried, with the patch I get sth like:

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/unstable/contrib/i18n/Translation-en_US.bz2
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/experimental/Release.gpg  
Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/experimental/contrib/i18n/Translation-en_US.bz2
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/testing/Release.gpg  Error 
reading from server - read (104 Connection reset by peer) [IP: 192.168.1.18 
3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/testing/contrib/i18n/Translation-en_US.bz2
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/stable/Release.gpg  Error 
reading from server - read (104 Connection reset by peer) [IP: 192.168.1.18 
3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/stable/contrib/i18n/Translation-en_US.bz2
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/../project/experimental/Release.gpg
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

W: Failed to fetch 
http://ochenta:3142/ftp.de.debian.org/debian/dists/../project/experimental/contrib/i18n/Translation-en_US.bz2
  Error reading from server - read (104 Connection reset by peer) [IP: 
192.168.1.18 3142]

E: Some index files failed to download, they have been ignored, or old ones 
used instead.

with
LANG=C apt-get update

the update runs without problems.
Why am I the only one having this problem?

Regards Thomas



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

Reply via email to