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.4    Advanced front-end for dpkg
ii  libc6                        2.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-2    type-safe Signal Framework for C++
ii  libstdc++6                   4.1.1-19    The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (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/ ./

Reply via email to