[Bug 507736] New: zypper ar -c adds repo instead of just probing
http://bugzilla.novell.com/show_bug.cgi?id=507736 Summary: zypper ar -c adds repo instead of just probing Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: volker3204@paradise.net.nz QAContact: qa@suse.de Found By: --- # zypper -v ar --check http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/open... Verbosity: 1 Non-option program arguments: 'http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/open...' Retrieving: openSUSE:Tools.repo [done] Adding repository 'openSUSE.org tools (openSUSE_11.1)' [done] Repository 'openSUSE.org tools (openSUSE_11.1)' successfully added Enabled: Yes Autorefresh: No URI: http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/ # zypper -v ar --check http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/open... Verbosity: 1 Non-option program arguments: 'http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/open...' Retrieving: openSUSE:Tools.repo [done] Adding repository 'openSUSE.org tools (openSUSE_11.1)' [done] Repository named 'openSUSE_Tools' already exists. Please use another alias. Exit 4 I understand "checking whether this URL could be added as a repo" to be different from "adding this repo". :( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=507736 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=507736#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-05-28 08:42:16 MDT --- Well, the neither the man page nor the help text is very verbose about this, but it actually means "check whether there's a valid repo at that url when adding it with addrepo". Without this option, the repo is alway added (without checking), and you only see an eventual error if you refresh the repo. So this is actually not a bug, but i will improve the man page and help text, so that it's obvious. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=507736 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=507736#c2 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com --- Comment #2 from Michael Andres <ma@novell.com> 2009-05-29 11:57:46 MDT --- Maybe you should call this 'immediade' vs. 'delayed' initialization of metadata, instead of check/probe. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com