[Yum-devel] repoquery question
seth vidal
skvidal at fedoraproject.org
Thu Jan 12 15:40:00 UTC 2012
On Thu, 12 Jan 2012 15:29:54 +0000 (UTC)
Dan White <ygor at comcast.net> wrote:
> Is there a way to list installed RPM's and also indicate the repo
> they came from ?
>
> I am admining some Red Hat boxes and had some doomsayers start
> grouching about adding some EPEL packages to the mix, so I have to
> identify what came from where.
>
In rhel6 just run:
yum list installed
the column on the far right will identify the repo they came from (if
you installed the pkgs using yum)
In rhel5 it's not as easy - but there's a script in the yum-utils git
repo called:
find-repos-of-install.py
which should produce the lists you want.
give it a try.
-sv
More information about the Yum-devel
mailing list