[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140443: marked as done (apt: broken on FTP socket timeouts)



Your message dated Mon, 1 Apr 2002 23:32:12 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1020401232510.15230B-100000@wakko.debian.net>
and subject line Bug#140443: apt: broken on FTP socket timeouts
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Mar 2002 11:39:40 +0000
>From andi@rhlx01.fht-esslingen.de Fri Mar 29 05:39:40 2002
Return-path: <andi@rhlx01.fht-esslingen.de>
Received: from rhlx01.fht-esslingen.de [134.108.34.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16qujL-00083j-00; Fri, 29 Mar 2002 05:39:39 -0600
Received: by rhlx01.fht-esslingen.de (Postfix, from userid 102)
	id 8DB741863B; Fri, 29 Mar 2002 12:39:37 +0100 (CET)
Date: Fri, 29 Mar 2002 12:39:36 +0100
From: Andreas Mohr <andi@rhlx01.fht-esslingen.de>
To: submit@bugs.debian.org
Subject: apt: broken on FTP socket timeouts
Message-ID: <20020329123936.A14358@rhlx01.fht-esslingen.de>
Reply-To: andi@rhlx01.fht-esslingen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4

As it's Easter today, my DSL connection is slightly (?) unreliable.

Thus when I tried to do my usual "apt-get update", I got frequent
"data socket timed out".
Then on the next "apt-get update", at first it printed the last byte count of
the Package to be downloaded, but then it suddently resetted back to 0
and redownloaded to whole file.

Not so if you manage to Ctrl-C or kill apt-get update *before*
the "data socket timed out" happens.
Then it properly resumes file download at the byte count where it left off.

I assume that it has to do with time stamping of the package file.
My suspicion is that maybe a "data socket timed out" abort doesn't update
the downloaded file timestamp properly, whereas Ctrl-C or kill does.
Thus apt-get notices that there's a partial file and prints its byte count,
but an instant later it recognizes that the time stamp is incompatible
and proceeds with redownloading the whole file.

In short: the "data socket timed out" abort part should probably be fixed.

-- 
Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604                http://home.arcor.de/andi.mohr/

---------------------------------------
Received: (at 140443-done) by bugs.debian.org; 2 Apr 2002 06:32:15 +0000
>From jgg@debian.org Tue Apr 02 00:32:15 2002
Return-path: <jgg@debian.org>
Received: from crack-ext.ab.videon.ca [206.75.216.33] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16sHq2-00063V-00; Tue, 02 Apr 2002 00:32:14 -0600
Received: (qmail 21795 invoked from network); 2 Apr 2002 06:32:13 -0000
Received: from unknown (HELO wakko.debian.net) ([24.86.210.128]) (envelope-sender <jgg@debian.org>)
          by crack-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <andi@rhlx01.fht-esslingen.de>; 2 Apr 2002 06:32:13 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.16 #1 (Debian))
	id 16sHq0-000458-00; Mon, 01 Apr 2002 23:32:12 -0700
Date: Mon, 1 Apr 2002 23:32:12 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.debian.net
To: andi@rhlx01.fht-esslingen.de, 140443-done@bugs.debian.org
cc: debian-bugs-dist@lists.debian.org, 
    APT Development Team <deity@lists.debian.org>, apt@packages.qa.debian.org
Subject: Re: Bug#140443: apt: broken on FTP socket timeouts
In-Reply-To: <20020329123936.A14358@rhlx01.fht-esslingen.de>
Message-ID: <[🔎] Pine.LNX.3.96.1020401232510.15230B-100000@wakko.debian.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 140443-done@bugs.debian.org


On Fri, 29 Mar 2002, Andreas Mohr wrote:

> Thus when I tried to do my usual "apt-get update", I got frequent
> "data socket timed out".
> Then on the next "apt-get update", at first it printed the last byte count of
> the Package to be downloaded, but then it suddently resetted back to 0
> and redownloaded to whole file.

You know, it may have actually changed on the server, it happens..

wakko{jgg}~/work/apt/build/bin#./apt-get -o acquire::ftp::timeout=1 update
Get:1 ftp://gluck.debian.org stable/main Packages [789kB]
Err ftp://gluck.debian.org stable/main Packages
  Data socket timed out

wakko{jgg}#TZ=utc ls -l apt/lists/partial/
total 236
-rw-r--r--    1 jgg      jgg        236528 Jan 10 15:30 gluck.debian.org_debian_dists_stable_main_binary-alpha_Packages

lftp gluck.debian.org:/debian/dists/stable/main/binary-alpha> ls
-rw-r--r--    1 1176     1176      2818270 Jan 10 15:30 Packages

Plus the code looks entirely correct in this regard.

So, something more than speculation will be required to re-open this bug..

Jason


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: