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.

Possible Duplicate:
How do I enable automatic updates?

I would like to have Ubuntu silently install updates every day or so. It it possible to set it to do so? Are there any potential dangers to doing things this way?

share|improve this question
add comment

marked as duplicate by Jorge Castro, Marco Ceppi Nov 3 '10 at 17:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers

up vote 2 down vote accepted
sudo apt-get install unattended-upgrades

unattended-upgrades can be quickly configured to let you upgrade more than just security updates although you should recognise that sometimes (mainly with Firefox in my experience) upgrades can break running applications. That's something you'll have to weigh up yourself.

To configure edit /etc/apt/apt.conf.d/50unattended-upgrades but you can read more about the configuration options on the help site

share|improve this answer
add comment

You need use software sources (Ubuntu 10.10 from Ubuntu Software Center -> Edit -> Software Sources).

Select tab Updates, then the "Install security updates without confirmation". It only installs security updates.

share|improve this answer
add comment

In the Ubuntu Software Center, go to the menu "Edit" -> "Software Sources…", then in the third tab "Updates", there is the option to select "Install security updates without confirmation". This will not install all updates automatically, but it will do so for security updates.

There are also other ways (see Oli's answer) in case you want all updates to be installed...

Potential dangers are the same as with all updates: every change can introduce new bugs... (An that's even more so with updates that introduce more features, so it's probably reasonably safe for security fixes, but somewhat less so if you also have repositores like ubuntu-proposed or ubuntu-backports or some PPAs.)

share|improve this answer
add comment

Check the following wiki page .

It should be as safe and running an interactive upgrade, except for the fact that if you get an issue from an upgrade you may not be aware in advance.

share|improve this answer
add comment

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