looking for rpm/yum database utility

Robert G. (Doc) Savage dsavage at peaknet.net
Sat Jun 4 02:41:55 UTC 2011


On Fri, 2011-06-03 at 18:37 -0700, JD wrote:
> On 06/03/11 18:25, Robert G. (Doc) Savage wrote:
> > Is there a utility for either rpm or yum that can read its corresponding
> > database and report which repo an installed package came from?
> >
> > --Doc Savage
> >    Fairview Heights, IL
> >
> Well if you do
> 
> yum list installed pkgname.rpm
> 
> it will tell you where it came from.
> For example:
> 
> $ yum list installed kernel
> Loaded plugins: auto-update-debuginfo, langpacks, presto, priorities, 
> refresh-
>                : packagekit
> Installed Packages
> kernel.i686                      2.6.35.13-91.fc14                      
> @updates

Sam & JD,

I must apologize for asking this question to the wrong list. I knew the
Fedora version does this. What I'm actually looking for is that same
repo info for a RHEL5 system with some additional packages sourced from
RHN, EPEL, CentOS, RPMFusion, ElRepo, Adobe, and some other cats & dogs.
The RHEL5 version of yum simply tells me "installed".

--Doc



More information about the users mailing list