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

Bug#59194: marked as done (apt-get update overall % not correct)



Your message dated Mon, 28 Feb 2000 12:06:34 -0700 (MST)
with message-id <Pine.LNX.3.96.1000228120538.19090B-100000@wakko.deltatee.com>
and subject line Bug#59194: apt-get update overall % not correct
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Feb 2000 12:31:33 +0000
Received: (qmail 26193 invoked from network); 28 Feb 2000 12:31:31 -0000
Received: from wireless-067-123.tele2.co.uk (HELO gate.tao-group.com) (root@212.19.67.123)
  by master.debian.org with SMTP; 28 Feb 2000 12:31:31 -0000
Received: from zircon.tao.co.uk (zircon.tao.co.uk [172.16.100.118])
	by gate.tao-group.com (8.9.3/8.9.3) with ESMTP id MAA30767
	for <submit@bugs.debian.org>; Mon, 28 Feb 2000 12:31:27 GMT
Received: from localhost (zircon.tao.co.uk) [127.0.0.1] (maydell)
	by zircon.tao.co.uk with esmtp (Exim 3.12 #1 (Debian))
	id 12PPKh-0002xc-00; Mon, 28 Feb 2000 12:31:27 +0000
To: submit@bugs.debian.org
Subject: apt-get update overall % not correct
Date: Mon, 28 Feb 2000 12:31:25 +0000
From: Peter Maydell <maydell@tao-group.com>
Message-Id: <E12PPKh-0002xc-00@zircon.tao.co.uk>

Package: apt
Version: 0.3.18

If I do an apt-get update, the progress indicator line includes
two percentage counts. I presume that the one on the left is intended
to show total progress, and the other one shows progress with this
package. However, the total progress meter is broken, in that
it appears to be incremented such that it reaches 100% as each Packages
file is downloaded. At this point it drops back down to something like
80% and starts counting upwards again.

It looks to me as if the start point of the count is correct for
each package (hence dropping down to ~80% or whatever) but the
end point is miscalculated so it's 100% rather than what it ought
to be at the end of the package.

This is particularly obvious if you're getting Packages files from
a slow remote archive.

The percentage meters for the actual apt-get dist-upgrade seem to
be counting correctly.

This might be the same bug as #44379 ("apt-get counting again") 
and perhaps #55820 ("apt grossly misestimates download") but neither
of those bug reports provide sufficient detail that I can be sure
of this, so I'm submitting this bug.

Peter Maydell
---------------------------------------
Received: (at 59194-done) by bugs.debian.org; 28 Feb 2000 19:05:42 +0000
Received: (qmail 10919 invoked from network); 28 Feb 2000 19:05:42 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 28 Feb 2000 19:05:42 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12PVV4-0004yF-00 (Debian); Mon, 28 Feb 2000 12:06:34 -0700
Date: Mon, 28 Feb 2000 12:06:34 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: Peter Maydell <maydell@tao-group.com>, 59194-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#59194: apt-get update overall % not correct
In-Reply-To: <E12PPKh-0002xc-00@zircon.tao.co.uk>
Message-ID: <Pine.LNX.3.96.1000228120538.19090B-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Mon, 28 Feb 2000, Peter Maydell wrote:

> It looks to me as if the start point of the count is correct for
> each package (hence dropping down to ~80% or whatever) but the
> end point is miscalculated so it's 100% rather than what it ought
> to be at the end of the package.

APT does not pre-estimate the sizes of the package files, so until they
begin to download their size is effectively '0' giving the rather odd
estimate of progress.

Jason


Reply to: