Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I configure Debian Squeeze apt-config to install updates automatically?

I've tried

apt-config -o APT::Periodic::Unattended-Upgrade=1 shell UnattendedUpgradeInterval APT::Periodic::Unattended-Upgrade

This returns


But if I exec /etc/cron.daily/apt nothing happens

Before anyone asks why I want to do this, I'm just interested, and I have no intention of changing the default behaviour....



share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.