Script to identify source of RPM

Michael Stahnke mastahnke at gmail.com
Mon Jul 20 13:38:24 UTC 2009


On Sun, Jul 19, 2009 at 11:24 PM, Jon Stanley<jonstanley at gmail.com> wrote:
> On Sun, Jul 19, 2009 at 5:33 PM, Jon Stanley<jonstanley at gmail.com> wrote:
>
>> Here it is....
>
> Well, that version of the script suffered from a fatal flaw - it took
> no arguments and gave a report of the entire rpmdb.  While that's
> valuable, it's also valuable to be able to cherrypick stuff without
> going through 1800 lines of output :)
>
> So, the new, improved version is at http://jstanley.fedorapeople.org/keys.py
>
> Here's an example of output from my machine:
>
> [jstanley at rugrat ~]$ ./keys.py python libmpeg2 kmod-nvidia
> Fedora (10)
> -----------
> python-2.5.2-1.fc10.x86_64
>
> RPM Fusion repository (Fedora - free)
> -------------------------------------
> libmpeg2-0.5.1-3.fc10.x86_64
>
> RPM Fusion repository (Fedora - nonfree)
> ----------------------------------------
> kmod-nvidia-180.51-1.fc10.8.x86_64
>
> _______________________________________________
> epel-devel-list mailing list
> epel-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/epel-devel-list
>
First off, thanks for this.  Secondly, would it be possible to comma
separate the rpm,repo ?  Then it's easily grep-able and such.  Tabs
might work also.

stahnma




More information about the epel-devel-list mailing list