Bug 447567 - can't skip refresh of repository during installation if repo is unavailable
Summary: can't skip refresh of repository during installation if repo is unavailable
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 5
Hardware: PowerPC Linux
: P3 - Medium : Normal with 3 votes (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 13:04 UTC by Stefan Assmann
Modified: 2010-04-15 13:45 UTC (History)
3 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
yast-skip.png (52.72 KB, image/png)
2008-11-21 13:04 UTC, Stefan Assmann
Details
y2logs.tar.bz2 (2.21 MB, application/x-bzip)
2008-11-21 13:10 UTC, Stefan Assmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Assmann 2008-11-21 13:04:45 UTC
Created attachment 254336 [details]
yast-skip.png

- clicking on the skip button because repo-oss timed out 
- yast tries to refresh the next repository (repo-non-oss) and times out, clicking skip again
- now yast tries to refresh repo-oss again
- goes on forever
Comment 1 Lukas Ocilka 2008-11-21 13:07:08 UTC
What about YaST logs, do you have some?
Comment 2 Stefan Assmann 2008-11-21 13:10:20 UTC
Created attachment 254338 [details]
y2logs.tar.bz2
Comment 3 Stefan Assmann 2008-11-21 13:11:04 UTC
oh sorry I was too slow ;-)
Comment 4 Ladislav Slezák 2008-11-21 13:47:31 UTC
The problem is probably related to evaluating callbacks or to reading UI events...
Comment 5 Ladislav Slezák 2009-01-27 14:54:58 UTC
I guess the problem is in libzypp, there is no progress callback when libcurl is waiting for data.

The progress callback should be called at least after (let's say) 3 seconds even when there is no real progress (the same state) so the abort button state is evaluated.

Jano is that possible?
Comment 6 Jan Kupec 2010-01-08 14:05:28 UTC
Lado, to your question, no, it's not possible in libzypp - libzypp just registers a callback with libcurl; it's libcurl which needs to call back more often.

But this report is about skipping the refresh from the error dialog - the reporter says that even after skipping all the erroneous repos, yast wants to refresh all the repos again. See the initial comment.
Comment 7 Forgotten User xs3PtXj4XH 2010-01-23 09:06:20 UTC
Ladislav closed my bug here: https://bugzilla.novell.com/show_bug.cgi?id=537883 with WONTFIX.  The issue may or may not be related, but clicking "Abort" does nothing either if the repository is unavailable.  Surely this could easily be fixed by just having the abort button kill all child processes immediately?
Comment 8 Forgotten User xs3PtXj4XH 2010-04-15 13:35:16 UTC
OpenSuSE 11.3 no longer displays this behaviour.  A user clicking "Skip"receives the message "Error in repository initialisation" and is then taken straight to the package management interface.  Should this bug be closed?
Comment 9 Ladislav Slezák 2010-04-15 13:45:37 UTC
Yes, thank you very much for testing/verifying!