On 18/12/24 09:22, Jeffrey Walton
wrote:
Thanks Jeffrey, but I wasn't expecting the timer to be counting down to zero, I was expecting it to start from zero and count up as the process progresses to show how long it was taking as dnf4 used to.On Tue, Dec 17, 2024 at 5:09 PM Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:On 17/12/24 12:46, Tim via users wrote: On Mon, 2024-12-16 at 09:37 +1100, Stephen Morris wrote: Why does dnf show the download, install and cleanup timings starting as negative values? Is it a countdown to estimated time of completion? I can see some logic in doing things that way. Although such things are rarely correct, it could be useful. On the other hand, it's often more useful for diagnosis when you can see something has taken much longer than it ought to, and by how much. It could be that way but it wasn't that way with dnf4, it was a progress counter of the elapsed time for each process. But to me it is non-sensical when, as I saw this morning, when doing the install of a package the time started off at -35s counting up and when the progress got to 100% but wasn't quite finished the timer displayed as -0s. Also, as I said previously, if the package install starts off with the timer a -12s and when it finishes the time shows 9s, did it take 9 seconds for the install or did it take 21 seconds? If they wanted to show an estimated time for the process being done, then show a separate column for that and don't touch the counter that is showing how long the process is actually taking, to me it is completely meaningless to start the process off a say -35s and when it finishes display the time as 0s.Also see <https://bugzilla.redhat.com/show_bug.cgi?id=2332931>.
I couldn't find any documentation in the man page on that functionality either nor could I find anything documentation on what the last 4 columns in the display actually are. One can make an intuitive guess from what they look like, but either they should be documented or they should have headers showing what they are. An experienced Fedora user could potentially take one look at those and understand what they are, but a new user coming from Windows or another Linux distribution would potentially have no idea what they are because what they are used to doesn't display that sort of information?
For example, with the snippet below from dnf, what is the second column which get displayed for downloads, installs and removals. For a download I would get that its the average transfer speed, but for the install and removal, is it the average write speed to disk or something else? Looking at the third column I would have guessed that it was the package size but for that package is it really only removing 3 Bytes of data when the upgrade message indicates the package being replaced is 2 Mbytes in size, or is it really telling the size of the modules being removed that have not been replaced by the upgrade?
binutils-gold x86_64 2.43.1-5.fc41 updates 2.0 MiB
replacing binutils-gold x86_64 2.43.1-4.fc41 updates 2.1 MiB
[30/54] Removing binutils-gold-0:2.43.1-4.fc41.x86_64 100% | 44.0 B/s | 3.0 B | 00m00s
regards,
Steve
Jeff
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue