[Yum] check-updates and download-only

Mihamina Rakotomandimby mihamina at rktmb.org
Thu May 3 05:49:14 UTC 2012


On 05/02/2012 03:10 PM, James Antill wrote:
>> I want to prefetch updates.
>> >
>> >  I thought about something like
>> >
>> >     for PKG in $(yum check-updates)
>> >     do
>> >       yum --downloadonly ${PKG}
>> >     done
>> >  On a nightly basis (a cron)
>   You can just do: yum upgrade --downloadonly

Thank you. Soooo simple.

-- 
RMA.


More information about the Yum mailing list