unattended-upgrades

Unattended-Upgrades configuration for custom repo only

Unattended-Upgrades configuration for custom repo only OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents problems when the developer makes changes to the original config and keeps my settings safe. etc… For Unattended-Upgrades, the original …

Total answers: 1

How to do apt-get dist-upgrade with noninteractive?

How to do apt-get dist-upgrade with noninteractive? I am on Ubuntu 20.04 and using this command: DEBIAN_FRONTEND=noninteractive UCF_FORCE_CONFFOLD=1 apt-get -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold -y –allow-downgrades –allow-remove-essential –allow-change-held-package dist-upgrade However I get 2 dialog prompts during this process: I tried searching for an answer for hours, I found pages like this but unfortunately the solutions do …

Total answers: 2

unattended-upgrades: everything except new major versions

unattended-upgrades: everything except new major versions I want unattended-upgrades to upgrade everything automatically on my Debian bullyseye system, except for new major version (i.e. not bookworm, when it’s released). I couldn’t find anything describing this scenario, and I had a couple of ideas of how to do this: Unattended-Upgrade::Origins-Pattern { "origin=*"; } Unattended-Upgrade::Package-Blacklist { "origin=Debian,codename=^((?!bullseye).)*"; …

Total answers: 1

How to check if unattended upgradeis currently running

How to check if unattended upgradeis currently running I was wondering if there was a way to check if unattended upgrade is currently doing its thing (from a bash script) I want to use a cron interval to run a script that will periodically check to see if unattended upgrades is running and, if it …

Total answers: 1

Intel NUC unattended-upgrades battery power error

Intel NUC unattended-upgrades battery power error I have an Intel NUC running Ubuntu 21.10 server. When testing my unattended-upgrades setup (via sudo unattended-upgrades –dry-run –debug) I am receiving the following error: System is on battery power, stopping The NUC doesn’t have a battery so there appears to be a system configuration error. After repeated searches …

Total answers: 1

How to solve "Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /bin/which" & blocking unattended-upgr during Debian10->11 upgrade?

How to solve "Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /bin/which" & blocking unattended-upgr during Debian10->11 upgrade? I was trying to upgrade Debian 10/KDE to Debian 11 bullseye stable via sudo apt upgrade –without-new-pkgs The output was: Preparing to unpack …/dh-autoreconf_20_all.deb … Unpacking dh-autoreconf (20) over (19) … Setting up aide-common (0.17.3-4) … Replacing config file …

Total answers: 3

Unattended upgrades doesn't upgrade additional repository

Unattended upgrades doesn't upgrade additional repository Unattended upgrades doesn’t upgrade additional repository. For other packages the upgrade does work. This are the settings which I made: > cat /etc/apt/apt.conf.d/50unattended-upgrades // Automatically > upgrade packages from these (origin:archive) pairs // // Note that in > Ubuntu security updates may pull in new dependencies // from > …

Total answers: 1

Bogus message from automatic updates

Bogus message from automatic updates When I ssh into my Ubuntu 18.04 box I get the motd 1 update could not be installed automatically Which goes on to tell me to check the unattended-upgrades log. The log shows no problems. How can I clear this bogus message? Asked By: Organic Marble || Source OK, it …

Total answers: 2

Set unattended-upgrades non-interactively

Set unattended-upgrades non-interactively In Ubuntu 16/18 I would like to set unattended-upgrades to yes non-interactively. I only know about dpkg-reconfigure unattended-upgrades and it isn’t. Is this possible and how? Asked By: Marco || Source Check the file /etc/apt/apt.conf.d/20auto-upgrades Look for the following line: APT::Periodic::Unattended-Upgrade “1”; ‘1’ means enabled, ‘0’ means disabled. Edit the config file …

Total answers: 2

How do I stop/disable unattended upgrades from being launched automatically?

How do I stop/disable unattended upgrades from being launched automatically? I recently installed Trisquel 8.0 LTS (Flidas) on my Desktop PC which was running on Trisquel 7.0 for 4 year. The system became very slow. When I check the RAM and CPU Usage, I found that CPU is almost at 100 % I tun top …

Total answers: 1

Terminate and disable/remove unattended upgrade before command returns

Terminate and disable/remove unattended upgrade before command returns I’m having an issue here where I try to automate a setup with Ansible. Some of the steps require interaction with apt, but occasionally I get an error because unattended-upgrade kicked off and locked apt. This will make the playbook stop. I’ve tried many ways around this, …

Total answers: 1

Why does this man page have today's date?

Why does this man page have today's date? Why would a specific man page (in my case, for the nc command) have today’s date without me doing any updates to the system ? Also, why doesn’t the “unattended update” log show any specific activity for that day? 2018-03-14 07:47:38,124 INFO Initial blacklisted packages: 2018-03-14 07:47:38,135 …

Total answers: 1

Sending mail by unattended upgrade

Sending mail by unattended upgrade Some people had met some similar problems but nothing solves my problem; my log file # tail -f /var/log/unattended-upgrades/unattended-upgrades.log 2018-02-18 13:25:37,656 DEBUG No conffiles in deb ‘/var/cache/apt/archives/libgfortran3_4.9.2-10+deb8u1_amd64.deb’ (There is no member named ‘conffiles’) 2018-02-18 13:25:37,657 DEBUG blacklist: [] 2018-02-18 13:25:37,658 DEBUG whitelist: [] 2018-02-18 13:25:37,658 DEBUG InstCount=23 DelCount=0 BrokenCount=0 2018-02-18 …

Total answers: 1

Unattended-upgrades not detecting Linux kernel security update by default

Unattended-upgrades not detecting Linux kernel security update by default (N.B. in the below, I have replaced the domain of my VPS hosting provider with <my_hosting_provider>, for privacy.) My Debian 9.3 “Stretch” instance is showing a kernel update as being available: # apt list –upgradable -a Listing… Done linux-image-amd64/stable 4.9+80+deb9u3 amd64 [upgradable from: 4.9+80+deb9u2] linux-image-amd64/stable,now 4.9+80+deb9u2 …

Total answers: 2

Unattended upgrades status?

Unattended upgrades status? Does anyone know if it is possible to determine the status of an unattended upgrade? Is it possible to find out which packages are being installed or where we are in the process? I appreciate the benefit of unattended upgrades, but they can be really annoying when you have a system that’s …

Total answers: 3

Unattended Upgrades failing

Unattended Upgrades failing I keep getting this error on apt-get upgrade: Installing unattended-upgrades (0.93.1+nmu1) … Failed to start unattended-upgrades.service: Unit unattended-upgrades.service failed to load: Invalid argument. See system logs and ‘systemctl status unattended-upgrades.service’ for details. invoke-rc.d: initscript unattended-upgrades, action “start” failed. ● unattended-upgrades.service – Unattended Upgrades Shutdown Loaded: error (Reason: Invalid argument) Active: inactive (dead) …

Total answers: 3

How is unattended-upgrades started and how can I modify its schedule?

How is unattended-upgrades started and how can I modify its schedule? I’m wondering who starts unattended-upgrades in my debian-jessie: my man page DESCRIPTION This program can download and install security upgrades automatically and unattended, taking care to only install packages from the config‐ ured APT source, and checking for dpkg prompts about configuration file changes. …

Total answers: 4

unattended-upgrades does not upgrade packages from backport

unattended-upgrades does not upgrade packages from backport unattended-upgrades works fine, I get daily updates, but once in a while, when I open aptitude, I realize backports packages are not automatically upgraded. This happens on two different machines (desktop and server), both Debian Jessie. Anything wrong in my config? /etc/apt/apt.conf.d/50unattended-upgrades Unattended-Upgrade::Origins-Pattern { “o=Debian,n=jessie”; “o=Debian,n=jessie-updates”; “o=Debian,n=jessie-backports”; “o=Debian,n=jessie-proposed-updates”; …

Total answers: 1

Ubuntu 16.04: Unattended-upgrades runs at random times

Ubuntu 16.04: Unattended-upgrades runs at random times I have configured unattended-upgrades to install security packages and notify by mail when it does so. I have noticed that the installation happens at very random times. I know that the latest versions added a random delay up to 30 minutes starting from the cron.daily execution time. However …

Total answers: 5

Unattended-upgrades mail only on error or reboot?

Unattended-upgrades mail only on error or reboot? I have unattended-upgrades installed on several servers, some version 12, some 14. I would like to enable MailOnlyOnError for them but would still like to receive email notices when an update requires reboot. Will I still receive “reboot required” notices with MailOnlyOnError enabled? Thanks! Asked By: Whatsisname || …

Total answers: 2