You are not logged in.
When installing or upgrading packages in pacman, you can see how many packages are remaining at the start of each line:
:: Processing package changes...
(1/3) installing example1
(2/3) installing example2
(3/3) installing example3
However, this number only appears while the packages are being installed, not while they are being downloaded:
:: Retrieving packages...
example1-1.0-x86_64 500.0 KiB ...
example2-1.0-x86_64 500.0 KiB ...
example3-1.0-x86_64 500.0 KiB ...
There is a progress bar to indicate the status of each download, but there is no way to see how many more packages need to be downloaded. This is especially noticeable during a large install or upgrade, where the download lines might take up the entire terminal. Is there any way to display this number while packages are being downloaded?
Last edited by okay19 (2016-05-22 12:48:41)
Offline
"man pacman.conf" and look for TotalDownload
Offline
Thanks for the tip; I needed a good way to see overall download progress, and that option looks like it will fit the bill.
Last edited by okay19 (2016-05-22 02:05:35)
Offline
Please mark your thread as solved by editing your first post and amending the topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I enabled the option in /etc/pacman.conf but I'm not seeing it reflected in the output... what am I missing something?
% grep -i totald /etc/pacman.conf
TotalDownload
% grep XferCommand /etc/pacman.conf
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I enabled the option in /etc/pacman.conf but I'm not seeing it reflected in the output... what am I missing something?
[...]
You see the difference in the percentages mentioned at the end of the lines. The progress bar graphic is still just about the individual packages.
Offline
graysky wrote:I enabled the option in /etc/pacman.conf but I'm not seeing it reflected in the output... what am I missing something?
[...]You see the difference in the percentages mentioned at the end of the lines. The progress bar graphic is still just about the individual packages.
I see... only the percentage is different. Subtle.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline