[Yum] Determining Repositories for Installed RPMs?

Paul Dickson paul at permanentmail.com
Sat Nov 12 20:59:47 UTC 2005


On Sat, 12 Nov 2005 15:30:39 -0500, seth vidal wrote:

> On Sat, 2005-11-12 at 13:28 -0700, Paul Dickson wrote:
> > Is it possible to list the origin repository of an installed RPM?
> > 
> > I have six RPMs that are still using the old openssl-0.9.7f library (this
> > is rawhide) and I'd like to get a list of repositories that they came
> > from.  (I'm using "rpm -e openssl097f" to create my list of packages.)
> > 
> > The best that I found is "yum search ....", but that lists other RPMS too.
> > And apparently the same version of the RPMs more that once.
> > 
> 
> a package could be in any repository at all. There's no reliable way to
> to determine origin as a package could be copied from repo to repo.

So, can't yum list all repositories that version of the RPM could have
come from?  In most cases (at least in my case), it will only come from
one repository.

	-Paul




More information about the Yum mailing list