Re: check-updates and download-only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mihamina Rakotomandimby <mihamina@xxxxxxxxx> writes:

> Hi all,
>
> 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

> Then in the morning, if I run the "yum update", only few things will
> be downloaded (the updates newer than the cron launch).
>
> Is it a good enough practice? What would you advice to make it better?

 You can also just install the yum-cron package, which does this for you.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux