[Bug 1038305] New: zypper does not search properly
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 Bug ID: 1038305 Summary: zypper does not search properly Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: Sauerlandlinux@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- If I search with zypper, it only searches up to a dash, after that zypper will not find any Packages. zypper se -si python- will give: i | dbus-1-python | Paket | 1.2.0-7.34 | x86_64 | openSUSE-Leap-42.2-Oss i | dbus-1-python3 | Paket | 1.2.0-7.30 | x86_64 | openSUSE-Leap-42.2-Oss i | gimp-plugins-python | Paket | 2.9.5.git20170429-16.1 | x86_64 | Sauerland-Leap i | libboost_python1_61_0 | Paket | 1.61.0-1.6 | x86_64 | openSUSE-Leap-42.2-Oss i | libboost_python3-1_61_0 | Paket | 1.61.0-1.6 | x86_64 | openSUSE-Leap-42.2-Oss . . . i | python3-sip | Paket | 4.16.9-5.4 | x86_64 | openSUSE-Leap-42.2-Oss i | python3-six | Paket | 1.9.0-2.2 | noarch | openSUSE-Leap-42.2-Oss i | python3-smbc | Paket | 1.0.15.4-4.3 | x86_64 | openSUSE-Leap-42.2-Oss i | rpm-python | Paket | 4.11.2-10.1 | x86_64 | openSUSE-Leap-42.2-Oss i | zypp-plugin-python | Paket | 0.5-5.3 | x86_64 | openSUSE-Leap-42.2-Oss That is ok. But zypper se -si python3-s will give: Repository-Daten werden geladen... Installierte Pakete werden gelesen... Keine passenden Objekte gefunden. Nothing, but it should give f.e. the above Packages: i | python3-sip | Paket | 4.16.9-5.4 | x86_64 | openSUSE-Leap-42.2-Oss i | python3-six | Paket | 1.9.0-2.2 | noarch | openSUSE-Leap-42.2-Oss i | python3-smbc With an Asterisk it will work: zypper se -si python3-s* Repository-Daten werden geladen... Installierte Pakete werden gelesen... S | Name | Typ | Version | Arch | Repository --+--------------------+-------+--------------+--------+----------------------- i | python3-setuptools | Paket | 33.1.1-175.1 | noarch | KDE-Extra i | python3-simplejson | Paket | 3.8.0-5.18 | x86_64 | openSUSE-Leap-42.2-Oss i | python3-sip | Paket | 4.16.9-5.4 | x86_64 | openSUSE-Leap-42.2-Oss i | python3-six | Paket | 1.9.0-2.2 | noarch | openSUSE-Leap-42.2-Oss i | python3-smbc | Paket | 1.0.15.4-4.3 | x86_64 | openSUSE-Leap-42.2-Oss That is not the old behavior....... Stephan -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c1 --- Comment #1 from Stephan Hemeier <Sauerlandlinux@gmx.de> --- In the first example the search string is python- and so python3- should not be find by zypper. Thats also an bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c2 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |IN_PROGRESS CC| |Sauerlandlinux@gmx.de Flags| |needinfo?(Sauerlandlinux@gm | |x.de) Severity|Normal |Major --- Comment #2 from Michael Andres <ma@suse.com> --- @Stephan: Which zypper version you are using? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c3 --- Comment #3 from Stephan Hemeier <Sauerlandlinux@gmx.de> --- Last Version from April: zypper se -si zypp Repository-Daten werden geladen... Installierte Pakete werden gelesen... S | Name | Typ | Version | Arch | Repository --+-------------------------+-------+---------------+--------+-------------------------- i | PackageKit-backend-zypp | Paket | 1.1.3-2.3 | x86_64 | openSUSE-Leap-42.2-Oss i | libzypp | Paket | 16.5.2-5.3.1 | x86_64 | openSUSE-Leap-42.2-Update i | snapper-zypp-plugin | Paket | 0.3.3-2.2 | noarch | openSUSE-Leap-42.2-Oss i | zypp-plugin-python | Paket | 0.5-5.3 | x86_64 | openSUSE-Leap-42.2-Oss i | zypper | Paket | 1.13.21-5.3.1 | x86_64 | openSUSE-Leap-42.2-Update i | zypper-aptitude | Paket | 1.13.21-5.3.1 | noarch | openSUSE-Leap-42.2-Update i | zypper-log | Paket | 1.13.21-5.3.1 | noarch | openSUSE-Leap-42.2-Update -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c4 Kalle Schmidt <karl.thomas.schmidt@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karl.thomas.schmidt@googlem | |ail.com --- Comment #4 from Kalle Schmidt <karl.thomas.schmidt@googlemail.com> --- Confirm this bug. Same here with zypper V 1.13.21 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c5 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davejplater@gmail.com --- Comment #5 from Andreas Stieger <astieger@suse.com> --- *** Bug 1057168 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038305 http://bugzilla.opensuse.org/show_bug.cgi?id=1038305#c6 Dave Plater <davejplater@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |Installation Version|Leap 42.2 |Leap 42.3 Assignee|zypp-maintainers@forge.prov |yast2-maintainers@suse.de |o.novell.com | Summary|zypper does not search |zypper ignores trailing "-" |properly |when searching QA Contact|qa-bugs@suse.de |jsrain@suse.com --- Comment #6 from Dave Plater <davejplater@gmail.com> --- I did indeed first notice the zypper se gstreamer-plugins problem from Bug 1057168 in 42.2 and it is now in 42.3. It's important to note that zypper se alsa-plugins succeeds as does a search for alsa-plugins- although searching for alsa-plugins- also finds alsa-plugins. Now I see what actually happens: zypper se libzypp-plugin should find libzypp-plugin-appdata but it doesn't but zypper se zypp-plugin finds all instances because there is a package called zypp-plugin to find but in the case of gstreamer-plugins and libzypp-plugin there isn't a package called by that name. If I were to create a dummy rpm called gstreamer-plugins then zypper se would find all instances of it. This is not the same as the reporter's bug which also still exists in 42.3. Maybe this isn't actually a bug because: zypper se gstreamer-plugins* succeeds and also zypper se -s python-* gives the output that the reporter requires. zypper se --help states: * and ? wildcards can also be used within search strings. If a search string is enclosed in '/', it's interpreted as a regular expression. and enclosing /python-/ or /gstreamer-plugins/ gives the expected result. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com