Re: How can i find out, what files a RPM is provding?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Mckenzie wrote:
-----Original Message-----
From: David Hoffman <dhoffman2004@xxxxxxxxx>
Sent: Jan 31, 2005 8:58 AM
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: How can i find out, what files a RPM is provding?

On Mon, 31 Jan 2005 12:33:45 +0000, Paul Howarth <paul@xxxxxxxxxxxx> wrote:

Roger Grosswiler wrote:

i want to check, whether i have Tar.pm installed on my system. This must
have been happened via yum - so rpm.

yum provides is extremly slow on this machine, so i would like to check
this with rpm. So how can i find out, whick rpm-package is providing Tar
.pm?

Assuming Tar.pm is properly installed in your perl module tree:

$ rpm -qf `find /usr/lib/perl5 -name Tar.pm -print`



What about:
rpm -q --whatprovides Tar.pm

-----James' Reply-----

Don't you have to install an additional .rpm to get this functionality? I had to, just in case the .rpm was not installed on my system. Details are in the archive on installation of the appropriate files.

I think you're confusing --whatprovides with --redhatprovides.

The former searches the current machine's RPM database for Provides: entries (which will include shared libraries such as libcurl.so.3 but not perl modules such as Tar.pm), and the latter searches the Provides: entries of an RPM database of a fully-installed system, which is provided by the rpmdb-fedora package, which may or may not be installed on any given system. Hence --redhatprovides may be able to tell you which package to install to satisfy a particular dependency, but only if you have the rpmdb-fedora package installed and the package you need is part of Fedora Core.

Paul.





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux