Bug 184106
Summary: | subcommand "provides" fails to search some files by filename | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kazutoshi Morioka <morioka> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | gajownik, ivazqueznet, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-04-26 15:34:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kazutoshi Morioka
2006-03-06 12:49:13 UTC
It's been fixed in CVS for yum 2.5.X. I'm seeing this in 2.6.0. It won't find it in the repo, but it will find it in installed packages. # yum provides checkmodule Loading "installonlyn" plugin Searching Packages: Setting up repositories core [1/3] extras [2/3] updates [3/3] Reading repository metadata in from local files Importing additional filelist information checkpolicy.i386 1.29.4-1 installed Matched from: /usr/bin/checkmodule /usr/share/man/man8/checkmodule.8.gz # rpm -q yum yum-2.6.0-1 Specifying the full path works: # yum provides /usr/bin/checkmodule Loading "installonlyn" plugin Searching Packages: Setting up repositories core [1/3] extras [2/3] updates [3/3] Reading repository metadata in from local files checkpolicy.i386 1.29.4-1 core Matched from: /usr/bin/checkmodule checkpolicy.i386 1.29.4-1 installed Matched from: /usr/bin/checkmodule Just an fyi something similar is happening with a fully updated fc4 machine i have yum provides "bin/dict" fails to return any matched when dictd is not installed yum provides "bin/dict" returns matches if dictd is installed yum provides "bin/dict" Searching Packages: Setting up repositories Reading repository metadata in from local files dictd.i386 1.9.7-8 installed Matched from: /usr/bin/dict /usr/bin/dictdplugin-config /usr/bin/dictfmt /usr/bin/dictfmt_index2suffix /usr/bin/dictfmt_index2word /usr/bin/dictfmt_plugin /usr/bin/dictfmt_virtual /usr/bin/dictunformat /usr/bin/dictzip /usr/sbin/dictd I can't recreate this problem anymore at all. I see this problem too: [root@X ~]# yum provides xcomposite.pc Loading "installonlyn" plugin Searching Packages: Setting up repositories livna [1/5] updates [2/5] core [3/5] updates-testing [4/5] extras [5/5] Reading repository metadata in from local files Importing additional filelist information libXcomposite-devel.i386 0.2.2.2-2.2 installed Matched from: /usr/lib/pkgconfig/xcomposite.pc [root@X ~]# rpm -e libXcomposite-devel [root@X ~]# yum provides xcomposite.pc Loading "installonlyn" plugin Searching Packages: Setting up repositories livna [1/5] updates [2/5] core [3/5] updates-testing [4/5] extras [5/5] Reading repository metadata in from local files Importing additional filelist information No Matches found [root@X ~]# rpm -q yum yum-2.6.0-1 [root@X ~]# okay here is the output from what will become yum 2.6.1: ./yummain.py provides xcomposite.pc Searching Packages: Setting up repositories updates-released [1/4] livna [2/4] base [3/4] extras [4/4] Reading repository metadata in from local files Importing additional filelist information xorg-x11-devel.i386 6.8.2-37.FC4.49.2 updates-released Matched from: /usr/lib/pkgconfig/xcomposite.pc xorg-x11-devel.i386 6.8.2-31 base Matched from: /usr/lib/pkgconfig/xcomposite.pc xorg-x11-devel.i386 6.8.2-37.FC4.49.2 installed Matched from: /usr/lib/pkgconfig/xcomposite.pc I think this is now fixed upstream. |