PDA

View Full Version : HOWTO: automatic updates


matid
April 11th, 2005, 01:51 PM
I've just read about some people wanting to have their updates done automatically, so I made this simple HOWTO.
----
If you want to have your updates done automatically, follow these steps:
1. Download this file: http://matid.emmatrade.pl/files/apt
2. Copy this file to /etc/cron.daily:
sudo cp apt /etc/cron.daily/
3. Append line: APT:Periodic:Upgrade-Packages "1"; to /etc/apt/apt.conf.d/10periodic:
sudo -s
echo 'APT:Periodic:Upgrade-Packages "1";'>>/etc/apt/apt.conf.d/10periodic
exit
----
You're done! Now your system updates automatically!

XDevHald
April 13th, 2005, 07:21 AM
And a job well done! made my updates go through automatically making it easy for me just apt-get and I am done :)

Nice work matid :)

gmc
April 13th, 2005, 08:42 AM
Greetings,

...of course you could just install cron-apt and have it download the updates, then either automatically apply them or wait until you manually install them.

Gord