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.