LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Automatic Updates in Suse 11.2 (11.3 too?) fix (https://www.linuxquestions.org/questions/linux-desktop-74/automatic-updates-in-suse-11-2-11-3-too-fix-841956/)

unassassinable 11-02-2010 02:30 PM

Automatic Updates in Suse 11.2 (11.3 too?) fix
 
Not sure about everyone else, but my SuSE 11.2 auto update feature in Yast doesnt update squat. Here's my solution for anyone who has the same issue:

open your crontab

Code:

crontab -e
1) press i, to go into insert mode
2) type the following line:

Code:

1 0 * * * zypper --non-interactive update --auto-agree-with-licenses
3) press esc to leave insert mode
4) type :wq to save and quit.

This will run zypper every night at 1 minute past midnight and update all packages without asking for confirmation and without bothering you for the licenses like adobe acrobat license..flash player license, etc...

If anyone has way to improve upon this, this would be a great place to put them!

Davethesnake 11-02-2010 05:45 PM

its not too healthy keeping your pc on all night,you know that?

unassassinable 11-02-2010 06:34 PM

Dave...*forhead slap

this is an argument that neither side can really prove if its better to leave it on or of over night. It's easy enough to change the time in the cron job though.

Rich


All times are GMT -5. The time now is 01:13 PM.