[Yum] Slightly more verbose logging from the nightly run?
seth vidal
skvidal at phy.duke.edu
Wed Apr 9 05:40:17 UTC 2003
On Wed, 2003-04-09 at 01:35, jamesc at duke.edu wrote:
> Hi!
>
> I just bumped into Yum and have been very happy with it other than one
> minor little detail ... :)
>
> During the nightly cron job, I don't have any clue whether or not
> anything happened. In the case where some headers were downloaded or
> something, that's no biggie but if some actual packages were downloaded
> and installed, I'd like to know about it. For the time being, I've got
> RedHat's up2date running on a shiny-new RedHat 9 server and am receiving
> errata from their service and (without logging onto the box) don't know
> if yum has already updated the packages.
>
> It's not a huge deal, and I could probably work around it with another
> cron job that does an rpm -qa and diffs it with last night's run, but
> from reading the archives, it seems that Seth wants to insulate people
> from rpm. ;)
two possibilities:
1. have it send you the log file :)
2. the cron job runs yum -y -d 0 -e 0 update
change -d 0 to -d 1
then yum will output the things it just did
like:
Installed: zsh.i386
Updated: foo.sparc64
(ok, so the above is pretty unlikely output but you get the idea :)
-sv
More information about the Yum
mailing list