13

Is it recommended to configure something to automatically keep an RPi updated? And if so, which method (cron-apt or something else)?

12

There are pros and cons on both sides of this argument. On the one hand, by keeping your system up to date you insure that you have the latest bug and security fixes; on the other hand, by being on the bleeding edge you may become the victim of an unfound bug or security hole in one of the updated packages, which can prevent your system from working as intended. I choose to run the risk of an unfound bug, and have my Pi set up to automatically update using cron-apt. I also have etckeeper (note that these instructions are a little out of date and that installing etckeeper will default to using git and do an initial import for you) installed so that in the event I need to rollback and update I can do so without much difficulty.

  • 1
    @JonEgerton links added – Steve Robillard Jul 25 '12 at 9:48
  • I guess one compromise would be to be able to identify when updates are available, notify the administrator and approve them to be applied. Does anyone have a setup like that? – Cade Roux Jul 25 '12 at 14:27
  • @CadeRoux check out this question over on U&L unix.stackexchange.com/questions/19470/…. You may want to invest in another SD Card and treat one as your production environment and the other as testing. This will allow you to vet new packages before installing them. – Steve Robillard Jul 25 '12 at 14:37
  • @SteveRobillard Yes, I have a few SD cards and am taking regular backups of them to a hard drive. – Cade Roux Jul 25 '12 at 17:53
  • There are settings so that only security updates are installed automaticly. There is a risk of makeing some software unusable if you intstall it automaticly. But I have never experianced that during my 10 years of using Debian with Stable (nor Testing). I have hade a few bad experiances with X11 not starting with Unstable. So yes, I would say Debian/stable are stabel... :) Testing would be ok, but I wouldn't run unstable this way. But none of you run unstable anyway. Not if you need to ask. :) – Anders Jul 25 '12 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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