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

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

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.

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
Link doesn't work. – Abhishek Bhatia Jun 29 at 4:42

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

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

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

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