[CentOS] running yum update on remote servers

m.roth at 5-cent.us m.roth at 5-cent.us
Mon Feb 25 15:00:23 UTC 2013


Robert Moskowitz wrote:
>
> On 02/25/2013 09:03 AM, Reindl Harald wrote:
>>
>> Am 25.02.2013 14:48, schrieb Robert Moskowitz:
>>> I have read a couple old threads here on updates for servers, and I am
>>> looking for some mechanics to getting the actual updates done.  I don't
>>> want automatic updates; I want to control when and what gets updated.
>>>
>>> First I have to determine that a particular server needs updates.  I
>>> suppose a daily script that would run "yum check-updates' and emails me
>>> the results could work, but then I would only want the email IF there
>>> was something to update, at my limited use of this option does not show
>>> anything to trigger a notify on changes.  Does anyone know of a script
>>> that would do this?
>> /etc/cron.daily:
>> #!/bin/bash
>> ANG=C; yum -q check-update
>
> I am searching all sorts of combinations to figure out what 'ANG' does.
> I keep getting results like "Emmanuel C. Yumang M.D"  :)
>
> So please enlighten me.

Typo, I assume. Try LANG=C
<snip>
  mark




More information about the CentOS mailing list