RPM consistency across systems

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Jun 13 15:44:38 UTC 2004


Am So, den 13.06.2004 schrieb Ben Steeves um 17:04:

> > > I guess on my server machine I could keep a "master RPM list" and then have a cron
> > > run on each machine against that list.  But I don't want to maintain that list by hand.

> You can get a list of all the RPMs on a machine with the command "rpm -
> q".  Use that to generate a list on both machines, then compare them,
> probably using diff.  Write a little perl (or whatever you prefer) to
> then parse the diff and perform the appropriate actions.

That list is already there be default. It is created by the daily
(nightly) cronjob at 04:02 (am) /etc/cron.daily/rpm and is located in in
the log directory as /var/log/rpmpkgs.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.427 
Serendipity 17:21:19 up 1 day, 13:03, load average: 0.26, 0.36, 0.36 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040613/adde890e/attachment-0001.sig>


More information about the fedora-list mailing list