Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just like here: How do I set my system to auto-update without user interaction?

How can I set the auto-updates via aptitude? Are there any auto-update features in aptitude?

share|improve this question
what do you actually want? a script witch perform update, upgrade command after a certain time or day !! – shantanu Jun 30 '11 at 20:12
up vote 3 down vote accepted

The unattended-upgrades package will automatically apply security updates on a scheduled basis. The apticron package will check for available package updates daily, and tell you about it.

Both may be configured to have more agressive update behaviours. Neither will use aptitude by default: for that, your best strategy would be to create your own cronjob (perhaps based on one of these packages, or the other question referenced) which calls aptitude with the appropriate arguments on the schedule you prefer, and provides notification of success or failure by the method you prefer.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.