Bug 407104

Summary: Yast does not abort when pressing abort button
Product: [openSUSE] openSUSE 11.0 Reporter: Giorgos Linos <gaswtos>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: chrubis, davejplater, forgotten_xI2C5NvggO, schaefer.frank
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giorgos Linos 2008-07-08 11:25:42 UTC
When doing manual update trough Yast>software>online update,
Yast will not abort while at "initialize the target system" stage.
It will go through the whole procedure no matter what.
This is quite annoying especially when an update server is down and u have to wait for some time till it gives u all the error messages and finishes all the stages.
U can do nothing to stop this....
Comment 1 Giorgos Linos 2008-07-08 11:33:44 UTC
Aditionally the abort button should abort the whole precedure and not every sinlge parts.U have to press the abort button as many times as the number of the update repositories
Comment 2 Cyril Hrubis 2008-07-16 09:58:49 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 3 Cyril Hrubis 2008-07-16 10:00:44 UTC
Sorry wrong bug :(.
Comment 5 Frank Schäfer 2008-08-05 11:48:15 UTC
There is also a large reaction delay (up to minutes !) when pressing the abort button during package installation process !
I'm not sure, but it seems that the button-press is not processed before the next update of the installation-progress-output (progress bar).
That's no big problem for small files / fast network connections (the delay shouldn't be larger then some seconds then).
But if you working on a ISDN or modem connection (e.g. notebooks), it doesn't make fun when you notice that you started a 100MB-package-download (e.g. when YaST selected a network repo instead the local repo for the package) and the abort-process takes some minutes...
This already occured in the old versions of YaST (I remember back to SUSE 9.x).
Comment 6 Ladislav Slezák 2008-08-05 12:41:20 UTC
The problem is that the callbacks are evaluated after at least 5% is downloaded/installed (to not each too much CPU for redrawing the probress bar).

There should be a timout and the callback (which checks for abort) should be evaluated even if the change was smaller than 5% percent.
Comment 7 Ladislav Slezák 2008-12-15 11:42:08 UTC

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