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

Re: What provides



On Thu, Jul 11, 2002 at 11:48:51AM +0100, J. A. Landamore wrote:
> I am a SPARC Solaris admin who has had the management of a few RH PCs
> dropped on him after a security scare, hence the naivity of this
> question.  How do I find out which package provides a file?

The word "provides" maybe confuses. Package more like "contains" a file
and "provides" a capability.

rpm -qf /path/file might be what you're looking for.

> This doesn't work if the source package isn't on the system.  We did a
> minimal install and the user now wants  another couple of packages
> added.  Getting those packages is no problem, but they won't install
> because of dependancy problems.  It appears that I need to interrogate
> the main RH site that contains all the packages, how do I do that?

There's a rpmdb package that contais the full package list. You can
install that and use it (IIRC) in --dbpath and query as if all those
packages had been installed. -qf again will tell a file and some
provides switch the provides.


I once again also recommend apt :-)  http://apt.freshrpms.net 

-- 
I call her Attila, 'cuz she's my Hun...





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