FS#72500 - Total package download percentage more than 100%
Attached to Project:
Pacman
Opened by Christian Cornelssen (ccorn) - Thursday, 21 October 2021, 13:10 GMT
Opened by Christian Cornelssen (ccorn) - Thursday, 21 October 2021, 13:10 GMT
|
Details
Pacman version: 6.0.1-2-x86_64
The Total package download percentage can become significantly more than 100%. In the output snippet below it is 329% and increasing. vim-runtime-8.2.3441-1-x86_64 is up to date vim-8.2.3441-1-x86_64 is up to date virtualbox-host-dkms-6.1.28-2-x86_64 708.6 KiB 118 KiB/s 00:06 [#######################################] 100% virtualbox-6.1.28-2-x86_64 26.5 MiB 49.7 KiB/s 03:01 [#############################----------] 75% Total (519/534) 565.4 MiB 49.7 KiB/s --:-- [#######################################] 329% This observation contradicts my expectation that the total percentage represents a fraction of two sizes approaching 1 = 100% from below. Perhaps that is related to some packages having been downloaded already but not installed yet. |
This task depends upon
[aurutils]: https://github.com/AladW/aurutils/blob/master/man1/aur.1#L201
With an unstable internet connection that would occasionally drop to a speed of 0 it would try another mirror and reset the part percentage and downloaded MiB but would not reset total % nor total downloaded MiB which if it was successful would ultimately lead to a total % > 100.
Due to it ultimately exhausting the list of mirrors it would not ever actually go above for me though.