Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.