FS#46646 - [pacman] Show download progress X out of Y just like during update phase
Attached to Project:
Pacman
Opened by Frank Vanderham (twelveeighty) - Saturday, 10 October 2015, 15:20 GMT
Last edited by Allan McRae (Allan) - Monday, 14 December 2015, 13:59 GMT
Opened by Frank Vanderham (twelveeighty) - Saturday, 10 October 2015, 15:20 GMT
Last edited by Allan McRae (Allan) - Monday, 14 December 2015, 13:59 GMT
|
Details
Especially when there's a lot of packages to download during
pacman -Syu, it would be great if pacman showed a simple
(X/Y) type indicator on which download out of the total
number of downloads it is currently downloading. I know this
is purely aesthetic, but during long updates, for those of
us who like to keep an eye on the update, it would show
progress as the downloads are happening.
At the "update" phase of -Syu, it does have a similar indicator for the package, so I would hope adding this to the download phase wouldn't be too much of a big deal. An even better indicator during the download phase would be some kind of indicator showing how far along the downloads are in terms of total download size, something like: ... abc-1.10-x86_64 [4.8 MiB] (5/10) (100.12 MiB / 1767.60 MiB) ^ ^ ^ ^ ^ a b c d e a: package download size b: the "b"-th package out of a total of "c" packages c: total number of packages to download d: running total of the download phase - this number refreshes while package is downloading similar to the current 2nd column. Difference is that instead of showing the total downloaded size of only the current package, it's a running total of all packages downloaded up to that point, plus the progress on the current package. e: calculated total that was originally reported as the "Total Download Size" at the beginning. However, I would be happy with just the "b" and "c" indicators. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 14 December 2015, 13:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Use TotalDownload
Monday, 14 December 2015, 13:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Use TotalDownload
[root@cardon ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra 1805.9 KiB 194K/s 00:09 [###############################################################] 100%
community 2.9 MiB 197K/s 00:15 [###############################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (2) ffmpeg-1:2.8-2 x265-1.8-1
Total Download Size: 8.35 MiB
Total Installed Size: 38.51 MiB
Net Upgrade Size: 10.27 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
x265-1.8-1-x86_64 1285.5 KiB 211K/s 00:06 [###############################################################] 15%
ffmpeg-1:2.8-2-x86_64 8.3 MiB 268K/s 00:32 [###############################################################] 100%
(2/2) checking keys in keyring [###############################################################] 100%
(2/2) checking package integrity [###############################################################] 100%
(2/2) loading package files [###############################################################] 100%
(2/2) checking for file conflicts [###############################################################] 100%
(2/2) checking available disk space [###############################################################] 100%
(1/2) upgrading x265 [###############################################################] 100%
(2/2) upgrading ffmpeg [###############################################################] 100%
Well, it is -- you're just looking at the wrong manpage. pacman(8) is for pacman, pacman.conf(5) is for pacman.conf.
"When downloading, display the amount downloaded, download rate, ETA, and completed percentage of the entire download list rather than the percent of each individual download target."
...which is what your output shows. Notice 15% at the end of downloading x265, rather than 100% (as would be the case without TotalDownload enabled).