Bug 255619

Summary: Progress during update shown incorrectly
Product: [openSUSE] openSUSE 10.2 Reporter: Ulrich Derenthal <uli.2001>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs
Column "Pakete/Packets" showing "Fertig/Done" when it is not yet done.

Description Ulrich Derenthal 2007-03-17 14:29:52 UTC
When I installed the latest KDE updates using Yast's update module, the upper part of the update window said in the middle of the update:

Medium | Groesse (Size) | Pakete (Packages) | Zeit (Time)
Gesamt (total) | 131.75 MB | Fertig. (Done.) | 11:31

and another line also saying "Fertig" (Done) for "Pakete" (packages).

This seems to be wrong: I think it should show the number of remaining packages (there were several remaining).

This happened before; I am not sure whether it happens always.
Comment 1 Matej Horvath 2007-03-22 16:29:19 UTC
Please attach your yast logs.
http://en.opensuse.org/Bugs/YaST
Comment 2 Ulrich Derenthal 2007-03-22 16:59:54 UTC
Created attachment 125998 [details]
yast logs
Comment 3 Jiří Suchomel 2007-05-09 12:25:52 UTC
Sorry for the late response.
Are you able to make a screenshot? I'm not sure which dialog do you mean...
Comment 4 Ulrich Derenthal 2007-05-13 17:51:18 UTC
Created attachment 139573 [details]
Column "Pakete/Packets" showing "Fertig/Done" when it is not yet done.

While the update was almost done when I took the screenshot, the column "packets" had been showing "Done." all the time during the update.
Comment 5 Jiří Suchomel 2007-05-14 05:34:40 UTC
Ah, so it is not online update.
Ladislav, is this related to progress callbacks?
Comment 6 Ladislav Slezák 2007-05-14 05:53:59 UTC
Yes, it seems to be related to the callbacks.
Comment 7 Ladislav Slezák 2007-08-23 14:06:44 UTC
No, it's caused by zero Pkg::PkgMediaCount() result:

2007-03-19 16:32:40 <1> linux(5260) [wfm] Package.cc(PkgMediaSizes):333 Pkg::PkgMediaSize result: [[434569487], [0], [0], [1018
41463], [665508771], [0], [0]]                                                                                                 
2007-03-19 16:32:40 <1> linux(5260) [wfm] SlideShow.ycp:1645 Pkg Builtin called: PkgMediaCount                                 
2007-03-19 16:32:40 <1> linux(5260) [wfm] Package.cc(PkgMediaCount):416 Pkg::PkgMediaCount result: [[0], [0], [0], [0], [0], [0
], [0]]



*** This bug has been marked as a duplicate of bug 220242 ***