On Wed, May 18, 2005 at 02:55:32PM +0100, Tim Wootton wrote:
> I may have a clue on reproducing the problem:
> 
> Try aborting apt-get or aptitude midway through a download and then
> re-try.
> This is seems to trigger the problem here. 

Thanks, this has led me down a productive path.
One of the problems, at least, happens because APT pipelines its requests.
It assumes the server implements HTTP/1.1 with persistent
(keep-alive) connections, but the OCaml HTTP server library doesn't
handle this yet.

So can you please try adding this line to your clients'
/etc/apt/apt.conf files and see if it helps?

    Acquire::http::Pipeline-Depth "0";

It should at least prevent the
  Error reading from server - read (104 Connection reset by peer)
messages, which is an improvement.

I am working on fixes to the approx code to make this workaround
unnecessary.  Thanks.

-- 
Eric Cooper             e c c @ c m u . e d u


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

Reply via email to