Questions tagged [unattended-upgrades]

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

More information here on the Ubuntu help wiki

229 questions
164
votes
6 answers

How do I enable automatic updates?

Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs). How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?
David Siegel
  • 9,022
56
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,868
  • 4
  • 26
  • 49
43
votes
6 answers

Terminate unattended-upgrades or whatever is using apt in ubuntu 18.04 or later editions

It happens often that when I boot my Ubuntu 18 machines and I want to manually update my software I get stuck into errors involving something already using apt (endless waiting unattended-upgrades and / or other services). Most of time with machines…
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
28
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
  • 1,021
28
votes
3 answers

How can I stop unattended-upgrades from rebooting the machine?

I just had a look at my Amazon EC2 instance and noticed I had 20 minutes exactly of downtime. I didn't know what caused it so I logged in to SSH and tried upgrading my packages, and saw that the unattended-upgrades package needed upgrading. I went…
25
votes
2 answers

Does unattended-upgrades also include apt-get autoremove?

Say I recently installed unattended-upgrades via: sudo apt-get install unattended-upgrades -y sudo dpkg-reconfigure --priority=low unattended-upgrades -y Does unattended-upgrades also include apt-get autoremove? Or should I add a weekly cronjob…
user423047
25
votes
5 answers

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…
daniel f.
  • 866
23
votes
2 answers

Ubuntu 18.10 - Unattended-upgrades-shutdown --wait-for-signal

I have a process as listed in htop under Command stating the following: /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal Judging by the: --wait-for-signal and some researching about what…
20
votes
3 answers

Why unattended-upgrades does not fix heartbleed bug?

I've followed the instruction to install unattended-upgrades to install automatic security updates on my server (ubuntu server 13.10). https://help.ubuntu.com/community/AutomaticSecurityUpdates Can you help me to understand why this morning I still…
20
votes
4 answers

unattended-upgrade CPU 100% for 4 hours (every time) [in case of many routing tables]

Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic During unattended-upgrade the CPU use 100% of resource for 4 hours Example: $ unattended-upgrade --dry-run --debug 2019-02-16 10:34:46,087 INFO…
Sim
  • 201
  • 1
  • 2
  • 4
18
votes
2 answers

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?
17
votes
3 answers

Avoid missing kernel linux-modules-extra-XX-generic when updating kernel

I had this issue with sound Only "Dummy output" (sound) in Ubuntu 20.04 after reboot - Broken driver / module after a reboot. I was missing package linux-modules-extra-5.4.0-40-generic. Now I rebooted again (I am not sure think I know if I also…
17
votes
1 answer

Apt - strange requests to d16r8ew072anqo.cloudfront.net:80

On Saturday (May 18) I started one of my VMs (running Ubuntu 18.04 Server). To my surprise, the VM almost immediately attempted to connect to d16r8ew072anqo.cloudfront.net:80, something that I have never seen before--it's a pretty "pristine"…
17
votes
1 answer

How to remove Ubuntu's automatic internet connection needs?

Imagine that, I have a fresh Ubuntu 18.04 installed. But there are some default packages or services that connects to the Internet without my consent. How to get rid of them completely or make them offline in an effective way? As far as I now, they…
Olimjon
  • 7,522
1
2 3
15 16