[Aptitude-devel] Bug#402890: aptitude: Improve progress estimation.

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Wed May 4 16:08:19 UTC 2016


Control: tags -1 + wontfix
Control: close -1


Hi Raúl,

2006-12-13 12:10 Raúl Sánchez Siles:
>Package: aptitude
>Version: 0.4.3-1
>Severity: wishlist
>
>Once you issue aptitude update you get a precentage which intends to
>gives you an already done work estimation.
>
>This percentage reaches very soon to 98-99%, while there's a lot of files
>to download and most of work hasn't been done yet.
>
>For example in my case(see attached sources.list):
>sudo aptitude update
>Ign file: apt-build Release.gpg
>Des:1 file: apt-build Release [89B]
>Ign file: apt-build/main Packages
>Des:2 http://ftp.rediris.es testing Release.gpg [378B]
>98% [Conectando a ftp.rediris.es (130.206.1.5)]
>[Conectando a www.debian-multimedia.org (213.186.33.16)] [Esperando las cabeceras]
>[Conectando a scratchbox.o
>
>
>Please improve this progress estimation based on (i.e.) the file size of
>the already downloaded or the downloaded size in last execution for the files
>yet to download or whatever other method you think is better.
>
>For example: if you still have to download the main binary packages list
>for unstable take the size of:
>/var/lib/apt/lists/ftp.rediris.es_debian_dists_unstable_main_binary-i386_Packages
>as a reference.
>
>I hope I have explained properly, but if not feel free to ask.

This estimation comes directly from APT, so we cannot do much about it.

I think that during the initial phases of the download, Apt doesn't even
know which files are present and can be downloaded, how big they are or
how long it will take, so I don't think that it's trivial or possible to
make very accurate estimations in any case.

So I am going to close this as +wontfix, because since this cannot be
addressed by aptitude there's not much point in keeping it open
indefinitely, sorry.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list