Questions tagged [unattended-upgrades]

A package for automatically downloading and applying package upgrades, particularly security patches.

More information here on the Ubuntu help wiki

219 questions
51
votes
3 answers

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…
b_laoshi
  • 4,660
  • 4
  • 25
  • 46
38
votes
1 answer

How can I force unattended-upgrades to run on demand?

This is probably an easy thing to do but I found no answers while googling for it. I have unattended-upgrades installed and running successfully for the past few months. It will run again tonight - but I want to run it right now. Is there a simple…
house9
  • 483
  • 1
  • 5
  • 6
27
votes
1 answer

What is the difference between security, updates, proposed and backports in /etc/apt/apt.conf.d/50unattended-upgrades?

I see the following lines in /etc/apt/apt.conf.d/50unattended-upgrades. But I'm not able to find the man page for them. Could anybody point me the detailed document for each of them? Thanks. Unattended-Upgrade::Allowed-Origins { …
user1424739
  • 991
  • 4
  • 12
  • 20
14
votes
2 answers

How to customize unattended-upgrades notification emails?

Is there any way to customize the unattended-upgrades results mail in ubuntu? The current configuration in /etc/apt/apt.conf.d/50unattended-upgrades file - // Send email to this address for problems or packages upgrades // If empty or unset then no…
Mayur
  • 213
12
votes
2 answers

Best practices for keeping EC2 Ubuntu machines updated

Following the recent heartbleed vulnerability of OpenSSL, I would like to keep my EC2 machines updated on a regular basis. The naive approach would be setting an hourly cron job for security updates (sudo apt-get update && sudo…
Adam Matan
  • 12,519
9
votes
2 answers

How to verify that unattended-upgrades are enabled?

Let us assume you just logged via SSH into a server running Ubuntu. Is there a simple command to find out whether unattended-upgrades are enabled and will install security critical updates automatically?
4
votes
0 answers

Can we extend the repositories for which unattended upgrades are enabled?

The usual advice regarding enabling unattended upgrades for some repository is to edit /etc/apt/apt.conf.d/50unattended-upgrades and manually add the appropriate Origin values. I wonder whether one can add to this list by specifying multiple…
muru
  • 197,895
  • 55
  • 485
  • 740
4
votes
2 answers

What is the difference between apt-daily.timer and apt-daily-upgrade.timer

I can't find what is the difference between these 2 files. What does apt-daily.timer and apt-daily-upgrade.timer trigger? My guess is that: apt-daily.timer trigger apt update And apt-daily-upgrade.timer trigger apt -y upgrade but I can't find it…
Angel115
  • 250
3
votes
0 answers

Why do I get duplicate e-mails from unattended-upgrades?

I have no idea where to look for this. Since the upgrade from Ubuntu Server 14.04 to 16.04 I consistently get every single e-mail from unattended-upgrade exactly twice. They have the same content and headers and even the same message ID but one is…
ygoe
  • 988
2
votes
1 answer

unattended-upgrades runs twice every day but never installs anything

Upon logging in to system it is clear that a large number of upgrades are available: 258 packages can be updated. 117 updates are security updates. Output from sudo apt full-upgrade confirms it: Reading package lists... Done Building dependency…
2
votes
2 answers

Cannot get unattended-upgrades to work

I am using Ubuntu 12.04.3 LTS and I am currently trying to get unattended-upgrades to work. So far I followed this documentation: 12.04-serverguide-automatic-updates I installed the package: apt-get install unattended-upgrades I edited the…
AnNaSF
  • 41
  • 1
  • 3
2
votes
1 answer

unattended-upgrade does not update security updates

I run unattended-upgrade with Allowed-Origins set to security and nothing listed in the blacklist. However when I run unattended-upgrade -d, the log lists a blacklist with all my security updates listed. No packages are updated. What could I be…
2
votes
1 answer

unattended-upgrades always gives apt-key net-update error

I am running an Ubuntu 12.04.2 LTS Server and I have setup unattended-upgrades to be verbose. Now I always see an error from "apt-key net-update". Issuing the command manually gives no message at all but the return code is 1. Issuing "apt-key…
2
votes
2 answers

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?
Marco
  • 186
  • 1
  • 9
1
vote
1 answer

How to upgrade specific package using unattended-upgrades?

I would like to configure auto update some packages using unattended-upgrades. But I couldn't find the why to specific only the packages I want. The /etc/apt/apt.conf.d/50unattended-upgrades file have a Blacklist and Allow-Origin option which update…
eetsurt
  • 148
  • 1
  • 11
1
2