[pacman-dev] pamcan don't show the size of invididual package in remove list and 'Total remove size:' in operation -R
Hi all, I think something like this: --------- # pacman -Rc amarok-engine-xine loading package data... done. checking dependencies... Targets: amarok-base [28.60 MB] amarok-engine-xine [0.21 MB] Total Removed Size: 28.81 MB Do you want to remove these packages? [Y/n] ---------- and ---------- # pacman -S qca2 resolving dependencies... looking for inter-conflicts... :: qca2 conflicts with qca. Remove qca? [Y/n] Remove: qca [2.94 MB] Total Removed Size: 2.94 MB Targets: qca2-2.0.0-1 [0.66 MB] Total Download Size: 0.00 MB Total Installed Size: 1.92 MB Proceed with installation? [Y/n] ---------- in attachment is patch for this --vogo
2008/1/31, Vojtěch Gondžala <vogo@seznam.cz>:
Hi all,
I think something like this: --------- # pacman -Rc amarok-engine-xine loading package data... done. checking dependencies...
Targets: amarok-base [28.60 MB] amarok-engine-xine [0.21 MB]
Total Removed Size: 28.81 MB
Do you want to remove these packages? [Y/n] ---------- and ---------- # pacman -S qca2 resolving dependencies... looking for inter-conflicts... :: qca2 conflicts with qca. Remove qca? [Y/n]
Remove: qca [2.94 MB]
Total Removed Size: 2.94 MB
Targets: qca2-2.0.0-1 [0.66 MB]
Total Download Size: 0.00 MB Total Installed Size: 1.92 MB
Proceed with installation? [Y/n] ----------
in attachment is patch for this
This is already implemented for -S and -Q (see http://bugs.archlinux.org/task/6667). Add ShowSize option to pacman.conf. So this should be just extended to support -R. -- Roman Kyrylych (Роман Кирилич)
Vojtěch Gondžala wrote:
in attachment is patch for this
--vogo
It looks like it should be possible to refactor all that stuff, instead of duplicating code (even if it's maybe not that bad).
participants (3)
-
Roman Kyrylych
-
Vojtěch Gondžala
-
Xavier