Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [unattended-upgrades]

Automatic package upgrades on APT based systems

0
votes
0answers
26 views

By enabling automatic security updates on CentOS/RHEL 7 how can I control the rest?

If I enable automatic security updates via "update_cmd = security" in "/etc/yum/yum-cron.conf" how am I able to control the "default" behavior of the other packages?
0
votes
1answer
104 views

Confusion between Xenial and Sylvia in Unattended-upgrades

I am trying to get Unattended-upgrades to work on my Linux Mint 18.3 (Sylvia) system, without success. My etc/apt/apt.conf.d/50unattended-upgrades is standard: Unattended-Upgrade::Allowed-Origins { ...
1
vote
0answers
184 views

unattended upgrades removes packages

I've got unattended upgrades configured on my system. Every so often emails come in that a reboot is required. Yesterday after I rebooted my system to complete an upgrade, only to find that mysql-...
1
vote
1answer
886 views

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

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 ...
1
vote
1answer
363 views

How to configure unattended-upgrades to send mail, but not upgrade anything?

In the configs I see option To set up the informative mail about this (Unattended-Upgrade::Mail in /etc/apt/apt.conf.d/50-unattended-upgrades) I can also turn the automatic package update on or off, ...
4
votes
1answer
3k views

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 ...
1
vote
1answer
255 views

Changed locales to en_US.UTF-8 but program still tries to translate to other language

I change the systems locale settings to en_US.UTF-8 with dpkg-reconfigure locales. The locale command outputs: LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="...
6
votes
2answers
2k views

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 ...
0
votes
1answer
767 views

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 ...
5
votes
3answers
3k views

Who starts unattended-upgrades?

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,...
5
votes
3answers
5k views

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 ...
2
votes
1answer
360 views

Unattended upgrades won’t use mailx when run by Systemd

I have setup unattended-upgrades on servers running Raspbian (Raspbian GNU/Linux 9.4 (stretch)). Version of Unattended-upgrades: 0.93.1+nmu1 Updates work, but I am having problems with the email ...
0
votes
1answer
92 views

Prevent Unattented-upgrades from sending reboot notifications to shell

I am using Ubuntu 16.04 and have enabled automatic updates and reboots. Version of unattended-upgrades is 0.90ubuntu0.9. When there is pending reboot and I am logged in to the server I keep getting ...
9
votes
1answer
246 views

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 ...
2
votes
1answer
187 views

What does “adjusting candidate version” mean?

When running unattended-upgrades manually, there are no updates detected but some packages report "adjusting candidate version" (see below). They do this every time I run sudo unattended-upgrades -d, ...
1
vote
1answer
535 views

What Unattended-Upgrade::Origins-Pattern matches “all”?

In addition to /etc/apt/sources.list I have a couple of origins defined in /etc/apt/sources.list.d/ How can I adjust /etc/apt/apt.conf.d/50unattended-upgrades so that all origins are allowed? I tried ...
0
votes
0answers
180 views

unattended-upgrades ignoring origins

I would like unattended-upgrades to upgrade security packages only, hence I configured /etc/apt/apt.conf.d/50unattended-upgrades as follows: Unattended-Upgrade::Allowed-Origins { "${...
0
votes
1answer
51 views

Debian agnostic, version agnostic way to configure update preferences in unattended-upgrades

I understand the the configuration files for unattended-upgrades in which you determine if you want only security upgrades or other upgrades as well, are located in a bit "dynamic" locations that ...
4
votes
0answers
39 views

List service as failing only after a certain duration

My Debian systems have unattended-upgrades installed, which installs security upgrades automatically, once per day. I also have a Nagios check that reports whether upgrades need to be installed. In ...
4
votes
1answer
3k views

How to check progress of unattended-upgr process? Should I kill it?

I've been getting the following after running a dpkg command: dpkg: error: dpkg status database is locked by another process After running (from here): sudo fuser -vki /var/lib/dpkg/lock I get: ...
1
vote
0answers
134 views

debian unstable crash

Debian unstable, running in an nspawn container on Debian Jessie, crashed. On the host: $ sudo systemctl status systemd-nspawn@unstable-srv ● systemd-nspawn@unstable-srv.service - Container unstable-...
1
vote
1answer
505 views

ubuntu xenial unattended-upgrade not working anymore

I have xenial install in Virtualbox with Host Jessie. Since a few weeks unattended-upgrade is not longer working. As workaround I update over a little "Script". apt-config dump | egrep -i unatt APT:...
1
vote
0answers
667 views

Debian: Failed to stop unattended-upgrades.service

Running a Debian 9 (stretch). During every installation/removal of a package I get the following error thrown Failed to start unattended-upgrades.service: Unit unattended-> upgrades.service failed ...
1
vote
2answers
164 views

Automatically upgrading certain packages despite different dependencies

Basically, I want to schedule upgrading ~100 workstations regularly. I only really need specific packages upgraded automatically (the rest can be done manually as required) but because the machines ...
3
votes
1answer
189 views

Unattended upgrades config has a line enabled by default. What is it for?

I enable the following line in the file /etc/apt/apt.conf.d/50unattended-upgrades according to the standard Debian wiki "o=Debian,n=jessie,l=Debian-Security"; to get security updates automatically. ...
2
votes
1answer
519 views

How to build shell script for docker installation [closed]

I would like to create a bash file to automate a docker installation with following commands: sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys <key> echo "deb https:/...
1
vote
1answer
862 views

Is there a common way of auto-updates with cron?

I run Ubuntu and Fedora on a day to day basis and usually run the package manager to check for updates nearly once a day. When I get a kernel update I usually reboot, so that I'm running on the new ...
-2
votes
1answer
623 views

Kali linux unattended-upgrade does not work

It looks like unattended-upgrade does not invoke apt-get update. After I run apt-get update unattended-upgrade works as expected, but that defeats the purpose of using unattended-upgrade. $ sudo ...
4
votes
1answer
954 views

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 (...