SCIENTIFIC-LINUX-USERS Archives

March 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Mon, 9 Mar 2009 14:26:49 -0700
MIME-version:
1.0
Reply-To:
suvayu ali <[log in to unmask]>
Content-type:
text/plain; charset=ISO-8859-1
Subject:
From:
suvayu ali <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
QUOTED-PRINTABLE
Comments:
To: "Steven J. Yellin" <[log in to unmask]> cc: Vladimir Fekete <[log in to unmask]>, [log in to unmask]
Parts/Attachments:
text/plain (27 lines)
2009/3/7 Steven J. Yellin <[log in to unmask]>:
>    I think yum does go through contents of packages.  Try
> yum provides \*xrdb\*
>

that is inaccurate.

yum [provides | whatpovides] is equivalent to rpm -q --whatprovides or
rpm -qf which searches through the rpm database for installed
packages. What the OP wants to do is search through packages in the
repository which are not installed on his/her system. I would suggest
this instead,

1. $ yum makecache - (this will download the metadata from the repo to
your local cache making subsequent queries faster)

2. $ repoquery  -qf FILE or, $ repoquery -q --whatprovides CAPABILITY

you would need to install yum-utils for this to work though.

Hope this helps

-- 
Suvayu

Open source is the future. It sets us free.

ATOM RSS1 RSS2