FS#11846 - pacman -Qu does not shows the correctly total download size
Attached to Project:
Pacman
Opened by Hugo Doria (hdoria) - Wednesday, 22 October 2008, 15:20 GMT
Last edited by Dan McGee (toofishes) - Saturday, 01 November 2008, 01:03 GMT
Opened by Hugo Doria (hdoria) - Wednesday, 22 October 2008, 15:20 GMT
Last edited by Dan McGee (toofishes) - Saturday, 01 November 2008, 01:03 GMT
|
Details
Summary and Info:
pacman does not show the correctly total download size. Also, the result is different from pacman -Su. Example: # pacman -Qu Checking for package upgrades... warning: avant-window-navigator: local (0.2.6-2) is newer than community (0.2.6-1) warning: iptables: local (1.4.2-1) is newer than core (1.4.0-2) warning: xorg-server: local (1.4.99.906-2) is newer than extra (1.4.2-2) Remove (1): bluez-libs-3.32-1 Total Removed Size: 0.31 MB Targets (8): bluez-4.1-1 evolution-data-server-2.24.1-1 gnome-control-center-2.24.0.1-3 k3b-1.0.5-2 libgphoto2-2.4.3-1 samba-3.2.4-3 smbclient-3.2.4-3 tdb-3.2.4-1 Total Download Size: 0.00 MB Total Installed Size: 145.76 MB # pacman -Su :: Starting full system upgrade... :: Replace bluez-libs with testing/bluez? [Y/n] warning: avant-window-navigator: local (0.2.6-2) is newer than community (0.2.6-1) warning: iptables: local (1.4.2-1) is newer than core (1.4.0-2) warning: xorg-server: local (1.4.99.906-2) is newer than extra (1.4.2-2) resolving dependencies... looking for inter-conflicts... Remove (1): bluez-libs-3.32-1 Total Removed Size: 0.31 MB Targets (8): bluez-4.1-1 evolution-data-server-2.24.1-1 gnome-control-center-2.24.0.1-3 k3b-1.0.5-2 libgphoto2-2.4.3-1 tdb-3.2.4-1 smbclient-3.2.4-3 samba-3.2.4-3 Total Download Size: 49.51 MB Total Installed Size: 145.76 MB pacman -Qu gives me 0MB, while pacman -Su shows almost 50MB Both shows the same Total Installed Size, tought. Im using the lastest pacman: # pacman -Q pacman pacman 3.2.1-1 |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 01 November 2008, 01:03 GMT
Reason for closing: Won't fix
Additional comments about closing: See final comment. Size is no longer shown in new format.
Saturday, 01 November 2008, 01:03 GMT
Reason for closing: Won't fix
Additional comments about closing: See final comment. Size is no longer shown in new format.
See also (5.):
http://www.archlinux.org/pipermail/pacman-dev/2008-August/012934.html
1) If it will not download anything, why show "Total download size"?
2) pacman -Qu wont install anything, but you can see a "Total Installed Size" message (that shows correctly). Following what you said `pacman -Qu` should show: Total Installed Size: 0.00 MB
3) pacman does not show a "Total Removed Size" when there is nothing to remove. Then, why show a total download when it will not download anything?
http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=314b4462d2ef1264b50b6745c57072f9c7b9d14e