Best way to keep multiple debian installs updated?

Hello folks!

What would be the best way to keep several debian systems updated? - its raspibian but anything that works on debian should work on it as well.

We have a lot of raspberries deployed for rack monitoring =D but its a bit of a pain to ssh into them each by each and update them regularly.

Maybe @wendell or @DeusQain have come across a similar need, and have an idea?

I believe that you should be able to do something like

update.sh being something like (bash pulled from Here)

then just make a bash on the main computer that calls that command for every pc you need to run the remote update on

1 Like

Thank you!

Though I was somewhat hoping there was some solution that would not need a single point of pawnage like one machine having keys to all others ssh for root....

If you want automatic updates, try cron-apt
https://packages.debian.org/jessie/cron-apt

It's probably best to install with apt-get install unattended-upgrades apt-listchanges
https://wiki.debian.org/DebianEdu/Documentation/Jessie/HowTo/Administration#Automatic_installation_of_security_upgrades

1 Like

Oh great! thanks - I am curious why google did not give me these as answers. Thanks!

ah, yeah. That would cancel my idea. I am interested in what you end up doing though, and how it works out for you, as I am going to have the same situation soon.

I will go through the options and report back as soon as I have a final conclusion.
Might take some time though...