Bug 331625

Summary: missing error check when adding repositories during updgrade
Product: [openSUSE] openSUSE 11.0 Reporter: Petr Ostadal <postadal>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 log

Description Petr Ostadal 2007-10-07 11:11:03 UTC
I upgraded 10.2 to SL 10.3. When I get dialog about old installation sources I changed all URLs from 10.2 to 10.3, but url of nvidie maybe didn't exist and it caused the problem, because yast showed dialog about "Timeout reached". I chose "skip" button (to skip such wrong install source), but I entered in endless loop and get after some time same dialog, see yast2 log (when I reproduced it again I tried it only 2 times)
Comment 1 Petr Ostadal 2007-10-07 11:12:10 UTC
Created attachment 176654 [details]
yast2 log
Comment 2 Ladislav Slezák 2007-11-13 07:59:17 UTC
The problem is here:

2007-10-05 05:07:34 <1> linux(3642) [YCP] clients/inst_upgrade_urls.ycp:530 Repository refreshed: false
2007-10-05 05:07:34 <1> linux(3642) [wfm] clients/inst_upgrade_urls.ycp:532 Pkg Builtin called: SourceSetEnabled

The refresh failed but the installation still wanted to enable and use the repository. Enabling the repository starts the refresh again because the metadata is missing.

inst_upgrade_urls.ycp should check the result of Pkg::SourceRefreshNow().
Comment 3 Lukas Ocilka 2007-11-14 13:50:01 UTC
- Evaluating Pkg-builtin calls in inst_upgrade_urls (#331625).

yast2-installation-2.16.4