Bug 115531

Summary: Interrupting yast during downloading an inst-source may render that source unusable
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jörg Mayer <jmayer>
Component: YaST2Assignee: Michael Andres <ma>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Minor    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jörg Mayer 2005-09-06 22:32:08 UTC
Setup: 
beta4 with text console 
 
Problem: 
I managed to add an install source that lacked the DATA/descr/ dir. 
 
How to break: 
"yast" 
add install source 
"Finish" 
now the system waits for quite a while - it's downloading the package 
descriptions etc. Press ^Z, then kill %% 
 
After that, I had an install source without DATA/descr/ directory, 
and although I selected refresh for that source, DATA/descr/ was not created 
any more. 
 
Workaround: delete broken install source and add again.
Comment 1 Jiri Srain 2005-09-07 15:46:34 UTC
Michael, is refresh supposed to handle such situations? 
Comment 2 Michael Andres 2005-09-12 13:23:43 UTC
A missing descr/ is recreated. Unfortunately a missing DATA/ is for historic
reasons interpreted as 'unwanted source cache'. But this does not make senese in
the running system, so I'll create the DATA dir if missing.
Comment 3 Michael Andres 2005-09-12 13:37:29 UTC
fixed in yast2-packagemanager-2.12.20