30 Mar 2011 skvidal   » (Master)

compare installed pkg lists

I did this in func-yum before but I  had to do it today with just a pile of files of ‘rpm -qa’ from a set of systems and I put this together for just that purpose.

I realize I could diff the files but then order would matter and for purposes of pkgs on the system, the order doesn’t matter.

http://skvidal.fedorapeople.org/misc/host_pkglist_compare.py

for example:

 


$ python ~skvidal/host_pkglist_compare.py xen05.phx2.fedoraproject.org xen09.phx2.fedoraproject.org
Packages on xen05.phx2.fedoraproject.org not on xen09.phx2.fedoraproject.org

Packages on xen09.phx2.fedoraproject.org not on xen05.phx2.fedoraproject.org
m4-1.4.5-3.el5.1
selinux-policy-devel-2.4.6-300.el5

could make it easier to chase down bogon pkgs installed on your systems.


Syndicated 2011-03-30 20:31:22 from journal/notes

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!