FS#23384 - pacman 3.5.0 miscalculates total removed size if the same package is replaced several times
Attached to Project:
Pacman
Opened by mutlu inek (mutlu_inek) - Tuesday, 22 March 2011, 16:38 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 22 March 2011, 18:40 GMT
Opened by mutlu inek (mutlu_inek) - Tuesday, 22 March 2011, 16:38 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 22 March 2011, 18:40 GMT
|
Details
Description:
If a package is to be replaced by several packages at the same time, its size is multiplied when calculating the "total removed size" displayed before installation. Example: $ sudo pacman -Syu :: Synchronizing package databases... testing is up to date core is up to date extra is up to date community is up to date archlinuxfr is up to date :: Starting full system upgrade... :: Replace openoffice-base with testing/libreoffice-extension-ct2n? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-diagram? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-hunart? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-nlpsolver? [Y/n] :: Replace openoffice-base with testing/libreoffice-extension-numbertext? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-oooblogger? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-pdfimport? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-presentation-minimizer? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-presenter-screen? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-report-builder? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-typo? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-watch-window? [Y/n] y :: Replace openoffice-base with testing/libreoffice-extension-wiki-publisher? [Y/n] y :: Replace openoffice-base with testing/libreoffice-sdk? [Y/n] y resolving dependencies... looking for inter-conflicts... Remove (14): openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 openoffice-base-3.3.0-1 Total Removed Size: 3403.27 MB Additional info: * package version(s) 3.5.0-1 * config and/or log files etc. N/A Steps to reproduce: Activate testing and replace openoffice-base by libreoffice and its many plugins. |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 22 March 2011, 18:40 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git:
http://projects.archlinux.org/pacman.git /commit/?h=maint&id=110eb314f0d8b4d2 8b9ff68ddd5bb5b07a1f8407
Tuesday, 22 March 2011, 18:40 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git:
http://projects.archlinux.org/pacman.git /commit/?h=maint&id=110eb314f0d8b4d2 8b9ff68ddd5bb5b07a1f8407