Jason Chu wrote:
>>> Well, there is something here that doesn't match... if I can
>>> discover the size of a package with pacman -Si <package-name>, why
>>> can't this information be showed in pacman -Su? Maybe it takes
>>> longer but it could be an optional parameter.
>>>
>> Because the packages with -Su have to be downloaded, whereas with -Si 
>> the size is extracted from the local package database
> 
> Hate to break it to you, but you're wrong in this case:
> 
> [EMAIL PROTECTED] ~]$ pacman -Si openssh
> Repository        : current
> Name              : openssh
> Version           : 4.5p1-1
> Groups            : None
> Provides          : None
> Depends On        : openssl>=0.9.8b pam tcp_wrappers zlib 
> Conflicts With    : None
> Replaces          : None
> Size (compressed) : 686444
> Description       : A Secure SHell server/client
> MD5 Sum           : b5e571421522c00177149c9204408503
> 
> "Size (compressed)" is how big the download is.  The db knows the size
> (both remote db and the one you download onto your machine on -Sy).
> 
> I haven't really spoken up on this because I don't like the idea.  Too
> much unnecessary information for me.  I wouldn't complain if it was an
> option/config though (but I'd want no individual size to be the
> default ;) ).
> 
> Jason
> 

Hola bola, you're right. I looked at the pacman changelog and found this:

2.9
- Added compressed package size to sync DBs -- shows the total size of 
packages before downloading


Now it should indeed be a small effort to add the size of the individual 
packages.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to