[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM consistency across systems



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]