[rhn-users] CLI Update

inode0 inode0 at gmail.com
Tue Jun 19 17:03:00 UTC 2007


On 6/19/07, Jim Lyle <jimlyle at gmail.com> wrote:
> Hello all,
>   I am trying to put together a script that will go out and update my
> servers.  The intention is to put it in cron, giving myself adequate
> leeway after testing of course :)  I am subscribed to rhel-i386-es-4.
> I don't need assistance with the script, but rather the specific
> command.
>
> I see a ton of options for up2date, but all I want to do is update
> packages that are currently on the system.
>
> I see the following options for up2date, but neither quite fits:
>
> -i or --install wants a specific package name
> --installall *appears* to want to install *all* packages in that channel.
>
> Any suggestions?  Yes, I could do it on the webpage, but currently do
> not have management entitlements, so would have do do each system
> individually and that would be a very very very last step.

I think you are looking for -u rather than -i.

John




More information about the rhn-users mailing list