[Bug 648892] New: zypper ar obs://something adds Factory instead of openSUSE_11.3 repo
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c0 Summary: zypper ar obs://something adds Factory instead of openSUSE_11.3 repo Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- LANG=C zypper ar -f obs://home:cboltz test Adding repository 'test' [done] Repository 'test' successfully added Enabled: Yes Autorefresh: Yes URI: http://download.opensuse.org/repositories/home:/cboltz/openSUSE_Factory # cat /etc/SuSE-release openSUSE 11.3 (x86_64) VERSION = 11.3 zypper should choose download.o.o/$repo/openSUSE_11.3 instead of openSUSE_Factory on my 11.3 system. Logs on request, however this looks easily reproducable to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Michael Andres <ma@novell.com> 2010-10-25 09:31:10 CEST --- You can specify it, or configure the default to use on your system. [man zypper]: .. These URIs have the form of obs://<project>/[platform], where project is the name of the OBS project and platform is the target platform (OS) for which the repository is intended. For example: obs://server:http/openSUSE_11.3. If platform is omitted, zypper.conf's obs.platform value is used. See also other options in the [obs] section of zypper.conf. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c2 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2010-10-25 18:58:41 CEST --- Good to know there's a config option for it, but this doesn't solve the problem. Zypper should use a _sane default value_, which is the _currently installed distribution_ (as found in /etc/SuSE-release). Defaulting to Factory (or is it $random?) is just crazy and a good way to break users' systems out there. Please change the default to the current distribution. BTW: My zypper.conf has the default of [obs] ... # platform = openSUSE_11.3 The easiest solution would be to ship zypper.conf without this comment sign in front of "platform". That would possibly break on upgrades (reading /etc/SuSE-release is safer), but it's still better than Factory as default value. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c3 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|REOPENED |RESOLVED Resolution| |WONTFIX AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | Summary|zypper ar obs://something |zypper ar obs://something |adds Factory instead of |should default to current |openSUSE_11.3 repo |distro Severity|Normal |Enhancement --- Comment #3 from Ján Kupec <jkupec@novell.com> 2010-10-26 13:06:42 UTC --- I agree Christian, but i won't have time to do it -> WONTFIX Patches are welcome, though. See also http://en.opensuse.org/openSUSE:Zypper_bugs_for_adoption -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |patches-welcome -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=648892 https://bugzilla.novell.com/show_bug.cgi?id=648892#c4 Lutz Thuns <lthuns@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #4 from Lutz Thuns <lthuns@opensuse.org> 2011-07-15 14:13:17 UTC --- *** Bug 687440 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=687440 -- Configure bugmail: https://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