Bug#402890: aptitude: Improve progress estimation.

2016-05-04 Thread Manuel A. Fernandez Montecelo

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 



Bug#402890: aptitude: Improve progress estimation.

2006-12-13 Thread 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.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18p4s
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3. 0.6.46.4Advanced front-end for dpkg
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgcc1  1:4.1.1-19  GCC support library
ii  libncursesw5 5.5-5   Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a   2.0.17-2type-safe Signal Framework for C++
ii  libstdc++6   4.1.1-19The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do  (no description available)

-- no debconf information
deb file:/var/cache/apt-build/repository apt-build main
deb http://ftp.rediris.es/debian/ testing main non-free contrib
deb http://ftp.rediris.es/debian/ unstable main non-free contrib

#mplayer
deb http://www.debian-multimedia.org etch main

#Compilador cruzado
deb http://www.emdebian.org/debian testing main
deb http://scratchbox.org/debian/ ./