Next we should configure where the updates are allowed to come from.If you choose to stick with Stable then when the next version of Raspbian goes stable (Stretch) it’ll automatically update. apt-listchanges also requires a mailx program so if you don’t already have one you can grab bsd-mailx: sudo apt-get install unattended-upgrades apt-listchanges bsd-mailx -y Next we need to install the unattended-upgrades package and to ensure it sends emails the apt-listchanges package. My previous blog post covers how to do this with Postfix.Īs always, start off by making sure your apt list and existing packages are up-to-date: # Update the package list, update all packages and remove any packages that are no longer required sudo apt-get update -y & sudo apt-get dist-upgrade -y & sudo apt-get autoremove -y You’ll want to know when updates are being installed (or if they fail). The first thing to do before setting up automatic updates is to ensure your Raspberry Pi can send email. Any device that’s on your home network has the possibility of being a stepping stone for attackers if it can be easily breached. Logging into machines and installing security updates periodically isn’t fun but for internet-exposed devices it’s important.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |