User Tools

Site Tools


update_raspbian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
update_raspbian [2016/09/15 12:45] walkeradminupdate_raspbian [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 23: Line 23:
 APT::Periodic::Unattended-Upgrade "0"; APT::Periodic::Unattended-Upgrade "0";
 </file> </file>
 +\\ 
 +This configuration will just run update every day for you so when you run sudo apt-get upgrade you'll install the latest packages (without having to first run apt-get update).
 +\\ 
 +\\ 
 +===== Automatic Upgrades =====
 +\\ 
 +To configure apt to automatically upgrade packages as well - firstly you'll need to install a new package to make the unattended upgrades work:
 +
 +<file>
 +sudo apt-get install unattended-upgrades
 +</file>
 +Then you change the following option to "1" in /etc/apt/apt.conf.d/10periodic to enable automated upgrades:
 +
 +<file>
 +APT::Periodic::Unattended-Upgrade "1";
 +</file>
 +For more details see the comments inside the /etc/cron.daily/apt and then put the relevant options into the /etc/apt/apt.conf.d/10periodic file.
update_raspbian.1473939954.txt.gz · Last modified: 2023/03/09 22:35 (external edit)