Bug 157442

Summary: Cannot register yum (repodata) sources
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Gruenbacher <agruen>
Component: YaST2Assignee: Stanislav Visnovsky <visnov>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: hmuelle, jsrain, kkaempf, sndirsch, suse-beta
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Doesn't quite look like it is fixed
Error when trying to save

Description Andreas Gruenbacher 2006-03-11 16:29:56 UTC
I cannot register yum (repodata) repositories in yast's Installation Source dialog, neither in a local directory, nor over http. The following command succeeds, so the meta-data themselves are correct:

  rug service-add --type=yum file:///var/tmp/kmp-test kmp-test
Comment 1 Andreas Gruenbacher 2006-03-12 04:36:50 UTC
This problem is blocking KMP testing and test case generation. We really, really need this fixed for sure in Beta 8.
Comment 2 Andreas Gruenbacher 2006-03-13 17:25:41 UTC
HuHa told me that something like this works fine for yum sources,

Pkg::SourceCreate( "http://dist.suse.de/install/SLP/SUSE-10.0-RC4/CD1/", "" );

so the underlying code seems to work, it's probably a check in the GUI that isn't correct with yum repositories anymore. Klaus told me it's you who is responsible for the code. Could you please have a look?
Comment 3 Stanislav Visnovsky 2006-03-14 12:16:58 UTC
Fixed in libzypp rev.2460 and yast2-pkg-bindings-2.13.26.

Harald, armstrong does not provide any products to be shown in the YaST 
installation sources UI, therefore it's "unknown" right now.
Comment 5 Andreas Gruenbacher 2006-03-14 15:38:22 UTC
Created attachment 72805 [details]
Doesn't quite look like it is fixed
Comment 6 Andreas Gruenbacher 2006-03-14 15:39:48 UTC
Created attachment 72806 [details]
Error when trying to save
Comment 7 Andreas Gruenbacher 2006-03-14 15:47:03 UTC
We need a mechanism to store a name with a yum data source (e.g., by putting it in an optional file), or at least we must generate an alias somehow. It would be nice to be able to enter / edit the name of a source as well.
Comment 8 Harald Mueller-Ney 2006-03-14 16:09:18 UTC
(In reply to comment #3)
> Fixed in libzypp rev.2460 and yast2-pkg-bindings-2.13.26.
> 
> Harald, armstrong does not provide any products to be shown in the YaST 
> installation sources UI, therefore it's "unknown" right now.
> 

You could use the repo at:

http(s)://armstrong.suse.de/download/Code/10/update/i386.new
Comment 9 Stanislav Visnovsky 2006-03-15 10:32:26 UTC
The new failure is a duplicate of #158162