[Bug 752520] New: zypper in -t patch can't install individual openSUSE:Maintenance:XY patch
https://bugzilla.novell.com/show_bug.cgi?id=752520 https://bugzilla.novell.com/show_bug.cgi?id=752520#c0 Summary: zypper in -t patch can't install individual openSUSE:Maintenance:XY patch Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: jano@opensuse.org ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- zypper in -t patch can't install an individual patch if the patch name contains a ":". This happens for example with the openSUSE:Maintenance:352 patch that is currently available in the 12.1 update-test repo. # zypper lp # shortened to relevant parts Repository | Name | Version | Category | Status | Summary ------------+--------------------------+---------+-------------+--------+----------------------------------- update-test | openSUSE:Maintenance:352 | 1 | security | needed | update for expat # zypper in -t patch openSUSE:Maintenance:352 Loading repository data... Reading installed packages... Warning: Different package type specified in '--type' option and 'openSUSE:Maintenance:352' argument. Will use the latter. 'openSUSE:Maintenance:352' not found in package names. Trying capabilities. No provider of 'openSUSE:Maintenance:352' found. Resolving package dependencies... Nothing to do. The "Will use the latter" in the warning message obviously is a very bad idea. zypper should check if a patch with exactly the given name exists before guessing that "openSUSE:" is a type prefix. I'm not attaching a log because a) zypper itsself admits the behaviour in the warning message and b) the warning message should be easily grep'able in the code BTW: This reminds me to bug 640399 - even if this is a different issue, the workaround mentioned there ("zypper in patch:openSUSE:Maintenance:352") still works. -- 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=752520 https://bugzilla.novell.com/show_bug.cgi?id=752520#c Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jano@opensuse.org |zypp-maintainers@forge.prov | |o.novell.com -- 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=752520 https://bugzilla.novell.com/show_bug.cgi?id=752520#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P0 - Crit Sit AssignedTo|zypp-maintainers@forge.prov |maintenance@opensuse.org |o.novell.com | Severity|Normal |Major --- Comment #1 from Michael Andres <ma@suse.com> 2012-03-16 12:19:28 CET --- @maintenance: The rules for patch/pattern/product names are the same as the ones for rpm packages: ':' in a name is not allowed. That's why ':' is used as separator between type and name. ':' in names will break more than just zppers cmdline parser. You need to choose a valid name (if rpmbuild accepts it as name in a specfile, it's ok). -- 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=752520 https://bugzilla.novell.com/show_bug.cgi?id=752520#c2 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #2 from Michael Schröder <mls@suse.com> 2012-03-16 11:59:28 UTC --- Oh well. Fixed in the build service. -- 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