AZ8 Posted May 24, 2019 Posted May 24, 2019 After installation, /etc/apt/apt.conf.d/50unattended-upgrades is empty. What is the proper origins to automatically install at least security patches?
Igor Posted May 24, 2019 Posted May 24, 2019 12 minutes ago, AZ8 said: What is the proper origins to automatically install at least security patches? https://www.google.si/search?q=configuring+unattended-upgrades Our defaults. I recently re-add adjusted conf, but it will remain disabled by default.https://github.com/armbian/build/tree/master/packages/bsp/common/etc/apt/apt.conf.d
mbarmem Posted November 24, 2019 Posted November 24, 2019 Hi, Any possibility to send an email notification after running unattended-upgrades?
Igor Posted November 25, 2019 Posted November 25, 2019 9 hours ago, mbarmem said: Hi, Any possibility to send an email notification after running unattended-upgrades? Anything is possible. See manual if this is build in otherwise make scripts ...
technik007_cz Posted November 25, 2019 Posted November 25, 2019 14 hours ago, mbarmem said: Hi, Any possibility to send an email notification after running unattended-upgrades? https://help.ubuntu.com/lts/serverguide/automatic-updates.html
Henrik Posted February 19, 2020 Posted February 19, 2020 Hi, I updated to armbian 20.02. Now 50unattended-upgrades is removed and 02-armbian-periodic is set to default. How can i permanently save unattended-upgrade config-files?
Werner Posted February 19, 2020 Posted February 19, 2020 Did not try this by myself yet, but you could give "dpkg-reconfigure unattended-upgrades" a shot. 20 minutes ago, Henrik said: Hi, I updated to armbian 20.02. Now 50unattended-upgrades is removed and 02-armbian-periodic is set to default. How can i permanently save unattended-upgrade config-files?
Henrik Posted March 22, 2020 Posted March 22, 2020 Packages that were upgraded: linux-buster-root-current-bananapi linux-dtb-current-sunxi linux-image-current-sunxi linux-u-boot-bananapi-current After the upgrade: 50unattended-upgrades is removed and 02-armbian-periodic is set to default. Any other ideas to save config permanently ?
stut Posted March 22, 2020 Posted March 22, 2020 45 minutes ago, Henrik said: Any other ideas to save config permanently ? Make your config file and run "dpkg-divert --no-rename --add /path/to/configfile" -- this should prevent any upgrades from touching or even renaming the config file.
Henrik Posted March 22, 2020 Posted March 22, 2020 I will give it a try. dpkg-divert --no-rename --add /etc/apt/apt.conf.d/02-armbian-periodic dpkg-divert --no-rename --add /etc/apt/apt.conf.d/50unattended-upgrades
Recommended Posts