Old yum? New yum? Re: Typo in yum instructions
Michal Jaegermann
michal at harddata.com
Tue Nov 1 04:47:20 UTC 2005
On Mon, Oct 31, 2005 at 06:38:28PM -0800, Kenneth Porter wrote:
> --On Monday, October 31, 2005 7:09 PM -0700 Michal Jaegermann
> <michal at harddata.com> wrote:
>
> >I guess that you are thinking about 'check-update' yum command. If
> >there are updates then yum will produce a list of available updates
> >and will exit with a status 100 and otherwise this status is 0.
> >Once you have a list you can retrieve packages by whatever means you
> >have on hands.
>
> The pre-2.1 yum included the option to the update command to download
> updates but not install them. This eliminates the need to wait for them to
> download once I've blessed them. I'd use that option in the midnight cron
> job, then apply the updates in the morning.
Yes, that is what I am saying here. It is not a great feat to write
a script which runs from cron and does "if status is not zero then
download packages from this list". Of course when '--download-only'
option was available you did not have to write that script.
Michal
More information about the fedora-legacy-list
mailing list