Red Hat Bugzilla – Bug 457872
yum check-update --changelog does not print changelog entries
Last modified: 2014-01-21 18:03:42 EST
We want to write a cron job that sends daily reports of what updates are available for monitored servers, along with their changelog entries.
"yum check-update --changelog" does not seem to print any changelog entries.
"yum update --changelog" *does* print the logs correctly, but then asks a question interactively, which makes it inconvenient in a batch.
Instead, "yum changelog all updates" does too much: it prints the full changelogs and there doesn't seem to be a date option to say "gimme just the *new* changelog entries relative to what I have installed".
Note that you can do: "echo n | yum update --changelog"
I'll look at adding some features to the changelog plugin to make this easier though.
does comment #1 helped you to do the cron job? If you wish, you can definitely change this to the request for enhancement with some description of what do you want. You can also discuss on yum upstream mailing list:
(In reply to comment #2)
> does comment #1 helped you to do the cron job? If you wish, you can definitely
> change this to the request for enhancement with some description of what do you
> want. You can also discuss on yum upstream mailing list:
Yes, I used the trick suggested in comment #1 to get the job done.
Closing the bug, although "yum check-update --changelog" would make a useful feature in general.