[Bug 642051] New: zypper truncating package name at wrong dash
https://bugzilla.novell.com/show_bug.cgi?id=642051 https://bugzilla.novell.com/show_bug.cgi?id=642051#c0 Summary: zypper truncating package name at wrong dash Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: kkaempf@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.6 SUSE/7.0.501.0 (KHTML, like Gecko) Chrome/7.0.501.0 Safari/534.6 Doing a "zypper in rubygem-cucumber-rails" results in an error message about "rubygem-cucumber not found" Reproducible: Always Steps to Reproduce: 1. zypper in a package-with-multiple-dashes 2. zypper truncates at second dash 3. Actual Results: Zypper must count dashes from the end Expected Results: zypper recognizing package names with multiple dashes correctly -- 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=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c1
--- Comment #1 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c2
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c3
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c4
--- Comment #4 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c5
--- Comment #5 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c6
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c8
--- Comment #8 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=642051
https://bugzilla.novell.com/show_bug.cgi?id=642051#c9
--- Comment #9 from Klaus Kämpf
Fixed. Zypper will now report the original string when reporting such errors. In verbose mode it will also tell:
'rubygem-cucumber-foo' not found in package names. Trying 'rubygem-cucumber = foo'.
Hmm, this might be confusing and should be limited to cases where the part after the rightmost dash starts with a numeric character. And even this might be wrong in a lot of cases, i.e. we have rubygem-rails and rubygem-rails-X_Y (with X and Y numeric) as packages 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