![]() ![]() copy the compressed file - cp /usr/share/doc/cron-apt/README.gz.change to the new directory - cd cron-apt_documentation.create a directory to work in - mkdir cron-apt_documentation.The package includes very good documentation, however it is gzipped. You can find more info and config options here ![]() To set the time it runs edit the /etc/cron.d/cron-apt file. One advantage this program provides over a simple cron solution is that it gives you control over what gets installed (only download new packages, install security updates or install all updates). Note that the default setup will not automatically install the updates (there are some good reasons to not do this), but you can config it to do so. This will send an email every time it runs, not only if it encounters an error. First, open a Terminal window and type 'sudo apt update' to retrieve a list of available. You can do this through the desktop menu on the desktop or simply press Ctrl + Alt + T. One thing I add to my configuration is: MAILON="always" To update to the latest version of Raspberry Pi OS, follow these steps ( via Raspberry Pi ). The easiest way of updating Raspberry Pi OS is through the Terminal. ![]() The main configuration file is /etc/cron-apt/config Unattended-upgrades has that option, and in my experience reboot after kernel upgrade works with the fix above. I'm not sure cron-apt can automatically reboot your system after a kernel update. Cron-apt is your second-best option, because it's also designed for a similar purpose. It's recommended to use unattended-updates and fix the package, because it's best suited for the purpose. You will probably need to install new apt keys for the debian repository. Your options are:Įcho 'Unattended-Upgrade::Origins-Pattern ' | sudo tee /etc/apt//51unattended-upgrades-raspbianįor faster security updates (but less stability, as the packages haven't been approved for rasbian), you can add debian-security packages to apt: echo 'deb buster/updates main contrib non-free' | sudo tee /etc/apt//debian-security.list It won't install crucial updates for the kernel and other software. In its default configuration, unattended-upgrades is broken in Raspbian Buster. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |