Bugzilla – Bug 227903
Show Download Rate with Zypper
Last modified: 2008-03-19 09:59:33 UTC
It's very useful to know the exact download rate that you're getting something at. I'm aware you can get the downloaded percentage with -v, but that's not precisely the same. Also, download rate/percentage should be shown by default, without having to increase verbosity. Pretty standard piece of information. Thoughts?
Jano is taking over as the primary maintainer of zypper, I am a co-maintainer.
I like the idea, any objections from others?
I think it has to be consistant The best way would be to invert the behavior. - show progress (nice) by default - -v increase verbosity - --quiet option
Will this be happening for 10.3? At the moment it will show the progress of the individual RPM installation but not of the download progress (a lot more useful, for individual packages) and gives no indication of overall progress. Again, something very useful to know/have when you're upgrading a hundred or so packages with zypper.
The download progress is vital information, the user may think the program is hanging while downloading large packages.
*** Bug 301674 has been marked as a duplicate of this bug. ***
Any news on whether this (or at the very least: download progress of a package displayed with default zypper install output) will make it in in time for 10.3?
(In reply to comment #4 from Duncan Mac-Vicar Prett) > - show progress (nice) by default > - -v increase verbosity > - --quiet option > Nice by default also should include a progress indicator for f.e Refreshing "reponame" (progress indicator here) large repos takes very long to refresh.
At least now it shows the download percentage of an individual package :-)
Though, when it is only downloading+installing one package, why does it display it in the syntax of: Downloading: somepackage-1.64-32.1.i586.rpm , 1.0 M (1.1 M unpacked) * Downloading [100%] * Installing: somepackage-1.64-32.1 [100%] Would: * Downloading: somepackage-1.64-32.1.i586.rpm, 1.0 M (1.1 M unpacked) [100%] * Installing: somepackage-1.64-32.1 [100%] ..not be a better idea? (more consistent, less line space too). I can see why this would be a good idea when it needs to download, say, 2 packages before installing one.
Sure, it's ugly now, but there are some difficulties with the zypp media backend callbacks usage in zypper, and there was no time to come up with a proper solution for 10.3. We'll take care of it for 11.
See also related bug 309043 and bug 300903
Delaying to openSUSE 11.
Any update on this? I'm sure I'm not the only one rooting for this feature. Primarily thinking of - show progress (nice) by default (total % done) OT: the speed of zypp now rules :)
Bjorn, just a note that overall progress feature for zypper is tracked in Bug 240588
patch ready in bug 168935 :O) to be in zypper 0.10.3 or 0.10.4
submitted
AWESOME :)
What's the logic behind it being displayed for some packages and others not? The packages size? What's the limit? Downloading package texlive-2007-143.noarch, 165.8 M (356.8 M unpacked) * Downloading: texlive-2007-143.noarch.rpm [done (9.8 M/s)] * Installing: texlive-2007-143 Downloading package libzypp-4.4.3-3.i586, 1.9 M (5.7 M unpacked) * Downloading: libzypp-4.4.3-3.i586.rpm [done] * Installing: libzypp-4.4.3-3
Time basically. If the download takes less than cca 2 seconds, the download rate is not calculated at all. The time is measured in seconds, so the result would be too inacurate. We can improve this in the future, but i guess it's ok for now.