[pacman-dev] Hi all

Xavier shiningxc at gmail.com
Sun Jun 15 04:48:34 EDT 2008


Lanziani Luca wrote:
> Hi all,
>
> I'm new in pacman-dev, i would like to put a counter in pacman that say
> how many Kbyte/time left from the end of packages download, something
> like...
>
> gstreamer0.10-base- 227,0K 435,7K/s 00:00:01 [####################] 100%
> 47110 Kbyte left
> libgtop-2.22.2-1-i686 109,5K 332,3K/s 00:00:00 [#################] 100%
> 47000 Kbyte left
>
> Very useful when i'm at university and i have only 10 minute, if i don't
> know how many time pacman need for download all packages, i can't decide
> if stop it or attend the end.
>
> Now i want know the better place to write the code for do that... "I
> code better than i write in english IMHO :P".
> I find the function _alpm_downloadfiles_forreal_ ....
>

Hello,

please try to find a better subject title in the future :)
You might be interested by the TotalDownload option described in 
pacman.conf man page.




More information about the pacman-dev mailing list