Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   yum whatprovides not matching files (http://www.linux-archive.org/fedora-user/2330-yum-whatprovides-not-matching-files.html)

Ian Pilcher 11-21-2007 04:13 PM

yum whatprovides not matching files
 
For example, I have kwrite installed, but ...

[root@home etc]# which kwrite
/usr/bin/kwrite
[root@home etc]# yum whatprovides kwrite
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 4.9 MB 00:06
adobe-linux-i386 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 1.3 kB 00:00
adobe-linu: ################################################## 2/2
updates 100% |=========================| 2.3 kB 00:00
primary.sqlite.bz2 100% |=========================| 466 kB 00:05
No Matches found

You can see that yum never bothers to download the filelists.

Is there a way to make this work as expected?

Thanks!

--
================================================== ======================
Ian Pilcher arequipeno@gmail.com
================================================== ======================

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Craig White 11-21-2007 05:17 PM

yum whatprovides not matching files
 
On Wed, 2007-11-21 at 11:13 -0600, Ian Pilcher wrote:
> For example, I have kwrite installed, but ...
>
> [root@home etc]# which kwrite
> /usr/bin/kwrite
> [root@home etc]# yum whatprovides kwrite
> fedora 100% |=========================| 2.1 kB 00:00
> primary.sqlite.bz2 100% |=========================| 4.9 MB 00:06
> adobe-linux-i386 100% |=========================| 951 B 00:00
> primary.xml.gz 100% |=========================| 1.3 kB 00:00
> adobe-linu: ################################################## 2/2
> updates 100% |=========================| 2.3 kB 00:00
> primary.sqlite.bz2 100% |=========================| 466 kB 00:05
> No Matches found
>
> You can see that yum never bothers to download the filelists.
>
> Is there a way to make this work as expected?
----
try yum clean all first

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Rex Dieter 11-21-2007 05:25 PM

yum whatprovides not matching files
 
Ian Pilcher wrote:

> For example, I have kwrite installed, but ...
>
> [root@home etc]# which kwrite
> /usr/bin/kwrite
> [root@home etc]# yum whatprovides kwrite
> fedora 100% |=========================| 2.1 kB 00:00
> primary.sqlite.bz2 100% |=========================| 4.9 MB 00:06
> adobe-linux-i386 100% |=========================| 951 B 00:00
> primary.xml.gz 100% |=========================| 1.3 kB 00:00
> adobe-linu: ################################################## 2/2
> updates 100% |=========================| 2.3 kB 00:00
> primary.sqlite.bz2 100% |=========================| 466 kB 00:05
> No Matches found
>
> You can see that yum never bothers to download the filelists.
>
> Is there a way to make this work as expected?

What is it exactly that you're expecting?

Maybe
yum install /usr/bin/kwrite
is what you're looking for.

-- Rex

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

inode0 11-21-2007 05:38 PM

yum whatprovides not matching files
 
On Nov 21, 2007 11:13 AM, Ian Pilcher <arequipeno@gmail.com> wrote:
> For example, I have kwrite installed, but ...
>
> [root@home etc]# which kwrite
> /usr/bin/kwrite
> [root@home etc]# yum whatprovides kwrite
> fedora 100% |=========================| 2.1 kB 00:00
> primary.sqlite.bz2 100% |=========================| 4.9 MB 00:06
> adobe-linux-i386 100% |=========================| 951 B 00:00
> primary.xml.gz 100% |=========================| 1.3 kB 00:00
> adobe-linu: ################################################## 2/2
> updates 100% |=========================| 2.3 kB 00:00
> primary.sqlite.bz2 100% |=========================| 466 kB 00:05
> No Matches found
>
> You can see that yum never bothers to download the filelists.
>
> Is there a way to make this work as expected?

yum whatprovides /*/kwrite

is a bit clumsy but should work.

John

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

"ne..." 11-21-2007 07:24 PM

yum whatprovides not matching files
 
On 21/11/2007, Ian Pilcher <arequipeno@gmail.com> wrote:
> For example, I have kwrite installed, but ...
>
> [root@home etc]# which kwrite
> /usr/bin/kwrite
> [root@home etc]# yum whatprovides kwrite
[snip]
> No Matches found
Because it is looking for a match with the path added to the file.

> You can see that yum never bothers to download the filelists.
>
> Is there a way to make this work as expected?
Sure there is:

yum whatprovides `which kwrite`

works wonders...

ne...
--
Registered Linux User # 125653 (http://counter.li.org)
Certified: 75% bastard, 42% of which is tard.
http://www.thespark.com/bastardtest
Now accepting personal mail for GMail invites.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


All times are GMT. The time now is 02:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.