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!
----
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!