FS#12566 - Report 'Upgrade' Size
Attached to Project:
Pacman
Opened by Sander Jansen (GogglesGuy) - Wednesday, 24 December 2008, 23:47 GMT
Last edited by Allan McRae (Allan) - Friday, 15 July 2011, 04:37 GMT
Opened by Sander Jansen (GogglesGuy) - Wednesday, 24 December 2008, 23:47 GMT
Last edited by Allan McRae (Allan) - Friday, 15 July 2011, 04:37 GMT
|
Details
When doing a pacman -Suy, the "Installed Size" is not very
handy in determining if you have enough disk space, since
upgrading most of the time replaces existing files on disk.
So would be nice, in addition of having the Installed Size,
to show the "Upgrade" Size, which would be calculated:
(Upgrade Size) = (New Package Revision Installed Size) - (Old Packge Revision Installed Size) And yes, this could become negative if newer packages require less disk space. |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 15 July 2011, 04:37 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=8f30e1b1
Friday, 15 July 2011, 04:37 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=8f30e1b1
Personally I prefer the old "Installed Size" over "Upgrade Size" (or do you want to print both infos?). I don't know the size of most of my installed packages, so "Upgrade Size" 15 Kb doesn't seem too informative.
I think the download, install and upgrade sizes are handy to have imho.
$ sudo ./src/pacman/pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (1): telepathy-glib-0.14.7-1
Total Download Size: 1.07 MiB
Total Installed Size: 15.72 MiB
Net Upgrade Size: -0.29 MiB
Proceed with installation? [Y/n] ^C
Interrupt signal received
Patch on ML: http://mailman.archlinux.org/pipermail/pacman-dev/2011-June/013211.html
Storage/Disk(?) Upgrade Cost: +10.54MB
(or something else, any ideas?)
yep I'm thinking about plus sign to be also visible, what you think about it?
for plus sign, instead, is right. also for me is a good idea keep it
The feature itself is awesome though :)
Please stop using the bug report as a forum. This isn't changing, it is done, implemented, and the bug is closed. Any improvements should come in another bug report with a patch attached or on the pacman-dev mailing list.