You are not logged in.

#1 2016-09-10 07:16:30

tetris11
Member
Registered: 2014-11-09
Posts: 18

Pacman install text with a number indicating number of packages left

I wasn't sure how to search for this, so apologies if this has already been brought up.

My question essentially: Is there any way to configure pacman to print this:


Packages (5) : alsa-lib  binutils chromium gpm inkscape

Total Download Size: 100MiB
Total Install Size: 200MiB
Net Upgrade Size: -7MiB

::Proceed with installation [Y/n] ?

binutils      1.8 MiB   896K/s 00:52 [##############] 100% (1/5)
chromium      2.3 MiB   896K/s 00:52 [#######-------]  71% (2/5)

The main thing being the (1/5) and (2/5) counter at the end of the progress text. Is this something that's enable-able?

Last edited by tetris11 (2016-09-10 07:18:28)

Offline

#2 2016-09-10 10:28:21

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Pacman install text with a number indicating number of packages left

I don't think so, but TotalDownload comes close. From the man page:

       TotalDownload
           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. The progress
           bar is still based solely on the current file download. This option
           won’t work if XferCommand is used.

Offline

#3 2016-09-10 10:40:33

tetris11
Member
Registered: 2014-11-09
Posts: 18

Re: Pacman install text with a number indicating number of packages left

This is pretty neat thank you!

Also I didn't realise the file downloader was customizable via XferCommand --- awesome

Offline

Board footer

Powered by FluxBB