LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Automatic update? (https://www.linuxquestions.org/questions/fedora-35/automatic-update-513563/)

clpl1980 12-25-2006 08:42 AM

Automatic update?
 
Hi!

I have Fedora Core 5 running.

How can I check if automatic updates are on?

Or... is there a way to tell the system to automatically update certain packages?

Thank you
bye!

macemoneta 12-25-2006 10:23 AM

Take a look at /etc/yum/yum-updatesd.conf - the setting are very clear. Once you make any necessary changes, restart the maintenance daemon:

service yum-updatesd restart

clpl1980 12-26-2006 05:06 AM

Ok, and do you think it could work if I put this script in cron.weekly?

yum update ssh -y
yum update httpd -y
yum update clamav -y
yum update postfix -y
yum update amavisd -y
yum update squirrelmail -y

Is this done right? Is it dangerous to update this weekly without supervision?
How can I make the script tell me if something went wrong?

Thank you

macemoneta 12-26-2006 11:20 AM

I have 8 machines, x86, x86_64, ppc architectures. I run nightly:

yum -y update

No problems since 2001. A given night's update may not succeed, because of a partially updated repository. It usually corrects itself in a day or two. Why would you want to run your system with hundreds of known bugs?


All times are GMT -5. The time now is 11:00 AM.