I want to setup CRON to automatically update ClamAV at regular intervals. The problem I'm having is working out how to make aptitude or apt-get do it.
Since I'm using the -backports repositry, I don't want to upgrade all packages that are available, only ClamAV.
I'm using a script as follows:
I get an error saying safe-upgrade doesn't accept arguments.
aptitude -q update
aptitude -q safe-upgrade clamav clamav-daemon
Can anyone correct my script to make it work as I would like?