|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper ignores trailing "-" when searching | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Stephan Hemeier <Sauerlandlinux> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | davejplater, igonzalezsosa, karl.thomas.schmidt, Sauerlandlinux |
| Version: | Leap 42.3 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Stephan Hemeier
2017-05-09 16:39:32 UTC
In the first example the search string is python- and so python3- should not be find by zypper. Thats also an bug. @Stephan: Which zypper version you are using? 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 Confirm this bug. Same here with zypper V 1.13.21 *** Bug 1057168 has been marked as a duplicate of this bug. *** 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. I am assigning this bug to libzypp maintainer as I think there is nothing the YaST team can do here. Please, let me know if we can help in any way. Fixed in zypper-1.14.5 *** This bug has been marked as a duplicate of bug 1070770 *** |