Bug 442586

Summary: zypper fails silently on yast2 repos
Product: [openSUSE] openSUSE 11.1 Reporter: Adrian Schröter <adrian.schroeter>
Component: YaST2Assignee: E-mail List <zypp-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: aj
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Adrian Schröter 2008-11-07 07:36:14 UTC
Adding factory with zypper looks like it works, but has no content afterwards. This is because the type is set to "NONE", when using "-t yast2" it works fine.
But it should IMHO detect yast2 repos automatically or fail instead of setting it to NONE.

zypper sa  http://download.opensuse.org/factory/repo/oss/ Factory
Comment 1 Jan Kupec 2008-11-12 12:36:36 UTC
Please note that 'sa' is not a zypper command. Use -r (--rug-compatible) global option if you want rug's behavior. See the comments (esp. c#2) in the duplicate for explanation.

*** This bug has been marked as a duplicate of bug 429620 ***
Comment 2 Jan Kupec 2008-11-12 12:38:07 UTC
JFYI: what you want in zypper's language is:

$ zypper ar http://download.opensuse.org/factory/repo/oss/ Factory

ar as addrepo.