http://bugzilla.novell.com/show_bug.cgi?id=584851
http://bugzilla.novell.com/show_bug.cgi?id=584851#c0
Summary: zypper ar --refresh <uri> <name> allows for duplicate
uris to be added as repositories
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: All
OS/Version: openSUSE 11.2
Status: NEW
Severity: Minor
Priority: P5 - None
Component: libzypp
AssignedTo: zypp-maintainers@forge.provo.novell.com
ReportedBy: vinko.vb@gmail.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5
If I add an already existing repository URI to the repository list, I can, and
then it does download the metadata once per each mention of the URI, even
though it already has it stored from the first download.
Using the same name isn't allowed and it rejects the addition.
Reproducible: Always
Steps to Reproduce:
1. zypper sl -u
2. Grab an existing repo's URI and name
3. zypper ar --refresh