Bug 240588

Summary: "zypper up" shall show overall progress
Product: [openSUSE] openSUSE 11.0 Reporter: Stephan Binner <stbinner>
Component: YaST2Assignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: declanseeley, elchevive68, felix, francis, mvidner, sanfordarmstrong, wstephenson, zaitor, zajec5
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2007-01-31 09:46:51 UTC
"zypper -v up -t package" only shows the progress made with the currently processed package but not the overall progress (like "520 of 1024 packages installed").
Comment 1 Martin Vidner 2007-02-27 13:32:58 UTC
Jano is taking over as the primary maintainer of zypper, I am a co-maintainer.
Comment 2 Cristian Rodriguez 2007-08-23 06:45:00 UTC
duplicate of #227903  ??
Comment 3 Stephan Binner 2007-08-23 07:25:26 UTC
Don't think so, only comment #5 seems to talk about the same.
Comment 4 Stephan Binner 2007-09-23 20:20:55 UTC
*** Bug 327598 has been marked as a duplicate of this bug. ***
Comment 5 Bjørn Lie 2008-03-02 13:39:43 UTC
Updating product to 11 since that is well underway.
Comment 6 Francis Giannaros 2008-03-17 10:12:42 UTC
Any update on this? It would be really useful when updating factory regularly :-)
Comment 7 Stephan Binner 2008-04-05 11:05:33 UTC
I would like to also hear any update, whether it will make it into openSUSE 11.0 :-)...
Comment 8 Jan Kupec 2008-05-22 10:49:12 UTC
*** Bug 391034 has been marked as a duplicate of this bug. ***
Comment 9 Jan Kupec 2008-05-24 11:56:11 UTC
I've added a simple "X of Y" ("(X/Y)" due to string freeze) counter to start with.  Further improvements will be probably done after 11.0 together with libzypp commit refactoring.

This is how it looks:

....
Downloading package yast2-dhcp-server-2.16.7-32.noarch (198/200), 139.0 K (924.0 K unpacked)
Downloading: yast2-dhcp-server-2.16.7-32.noarch.rpm [done]
Installing: yast2-dhcp-server-2.16.7-32 [done]
Downloading package yast2-printer-2.16.27-4.x86_64 (199/200), 328.0 K (3.4 M unpacked)
Downloading: yast2-printer-2.16.27-4.x86_64.rpm [done]
Installing: yast2-printer-2.16.27-4 [done]
Downloading package yast2-ftp-server-2.16.11-17.noarch (200/200), 70.0 K (546.0 K unpacked)
Downloading: yast2-ftp-server-2.16.11-17.noarch.rpm [done]
Installing: yast2-ftp-server-2.16.11-17 [done]

to be in zyppper 0.11.5
Comment 10 Jan Kupec 2008-05-25 14:57:10 UTC
*** Bug 394361 has been marked as a duplicate of this bug. ***
Comment 11 Sandy Armstrong 2008-05-25 16:31:18 UTC
That looks perfect...will it also do this when you just run `zypper in` on a package that requires some dependencies?
Comment 12 Jan Kupec 2008-05-25 21:33:53 UTC
Yes, it will show the info every time you install/upgrade/downgrade packages no matter what command is used.
Comment 13 Jan Kupec 2008-05-27 08:46:44 UTC
submitted
Comment 14 Will Stephenson 2009-02-12 13:03:10 UTC
Did the string fix (to something like "1502 of 1647 packages") ever happen?

What about a disk space remaining progress display (15Mb of 1.4Gb) option?
Comment 15 Jan Kupec 2009-02-12 13:49:05 UTC
Hmmm.. no, sorry. But that does not matter now. I'll rewrite the progress reporting in following months.
Comment 16 Jan Kupec 2009-02-12 13:51:59 UTC
(In reply to comment #14)
> What about a disk space remaining progress display (15Mb of 1.4Gb) option?

Seems like an overkill for me. The install summary tells you how many megs you need to download and how much space will they consume after installation. What would make sense is to add a check for available disk space before the installation and not continue if there is not enough space.
Comment 17 Jan Kupec 2009-02-12 13:52:54 UTC
Unless you meant how many megs are still needed to download, of course :O) That can be included, yes :O)