Summary: | yum whatprovides bin/yacc does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Till Maas <opensource> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-05 18:18:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Till Maas
2007-02-16 01:35:15 UTC
bin/yacc doesn't exist - /usr/bin/yacc does it finds it in the second case b/c the search for files on the filesystem is different than the one in repositories. It should probably be fixed but the case you site is a bit obscure. (In reply to comment #1) > bin/yacc doesn't exist - /usr/bin/yacc does > > it finds it in the second case b/c the search for files on the filesystem is > different than the one in repositories. It should probably be fixed but the case > you site is a bit obscure. Ok, yum whatprovides \*bin/yacc works as expected, but when searching with "yum whatprovides yacc" it matches for example "/usr/lib/plt/collects/parser-tools/private-yacc/compiled/lr0.zo". So when I do not use a "/" in my whatprovides query, it seems to search for \*SEARCHSTRING\* but when I do it searches for an exact match? I do not understand, why this is obscure, is there any better way to search for packages that contain a special binary? Searching for yacc prints a lot of results and a grep for bin would not show the package name. With yum-3.2.1-1.fc7 "yum whatprovides bin/yacc" does mot return any results and "yum whatprovides \*bin/yacc" demands filelists.sqlite.bz2. Is there a new way to perform the searches I described? yes - yum provides does not implicitly do a wildcarded search. you have to ask for it. This is behavior that's changed in yum 3.2.X b/c it makes the searches waaaaaaaaaaaaay faster. Is there something wrong with it requiring filelists to do a wildcard search? (In reply to comment #4) > This is behavior that's changed in yum 3.2.X b/c it makes the searches > waaaaaaaaaaaaay faster. It feels a lot faster, too. :-) > Is there something wrong with it requiring filelists to do a wildcard search? Imho, at least when I provide "-C", it should only search trough the available data and print a warning that some more files are needed to do an exhaustive search. It is a bit strage from a my point of view as a user that yum -C whatprovides bash works, but yum -C whatprovides bas? does not. |