Description of problem: When downloading and installing packages with yum, it always strips the packages' names. I think this is unnecessary and annoying because I can't see the exact package and its version in the screen. Like: (17/192): openoffice.org- 100% |=========================| 160 kB 00:01 (18/192): openoffice.org- 100% |=========================| 2.8 MB 00:27 (19/192): openoffice.org- 100% |=========================| 6.6 MB 01:12 I searched in yum documentation and did not found any way to do this. I think the perfect way is to show like RPM does, it's nice ;) How reproducible: Always
A transfer rate would be nice too.
you want an unlimited package name field, a transfer rate AND a progress bar all on one line? How big is your screen? We have to do this inside 80 chars.
A good way would be when transfering files, show the transfer rate and the package name. When installing, show the progress bar like RPM does. Transfering: (17/192): openoffice.org-writer [87%] 235kb/s Installing: (113/192): openoffice.org-writer |=========================| 100% This way, the biggest package I found here (system-config-securitylevel-tui) will fit nice in a 80 char terminal and the progress display will be more friendly to the user IMO.
I'd really like to see a solution to this request too. How about providing a printf(3)-style format option like rpm allows with '--queryformat'? yum update queryformat="%{NAME} %{COMPLETE} {%RATE}" Default format could be to truncate the package name at 15 chars (something like "%{NAME:15.15}" maybe?), but could be overridden by user using 'queryformat'.
to comment #4: no. Putting in that sort of flexibility in just the output is adding in a lot of useless code.