Questions tagged [unattended-upgrades]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
81 views

Disable Kernel Auto-Updates in Ubuntu 18.04 (cli only)

I have a setup that needs me to make some manual changes every time I do a kernel update. I'd like be able to do kernel updates manually, instead of having unattended-upgrades push them into my ...
0
votes
1answer
43 views

How to find the specific `*Release` apt state information file for a given package?

I need to programmatically gather the apt Origin and Suite information for a certain package, in order to configure unattended-upgrades. I can manually find the corresponding apt state information ...
4
votes
1answer
262 views

Is it possible to patch without spiking the CPU? [duplicate]

I'm using unattended upgrades to patch about 300 ubuntu (16.04 LTS) machines (network appliances really), some are 1 CPU VMs running on ESXi, azure and AWS and others bare-metal quad core Atom IOT ...
0
votes
1answer
33 views

What might “automatically install security updates” change on a server?

On installation, an available option is to automatically install security updates - what kinds of thing might this change? Might my kernel automatically be upgraded without my input?
2
votes
1answer
44 views

Why do I receive updates notifications even if I configured unattended-upgrades?

I have configured unattended-upgrades according to this guide. Configuration files are as follows: /etc/apt/apt.conf.d/50unattended-upgrades // Automatically upgrade packages from these (origin:...
6
votes
3answers
326 views

Unattended upgrade is ignoring some packages

I have unattended-upgrades set up, but some packages are not being auto-updated. root@survey:/home/martin# apt update root@survey:/home/martin# unattended-upgrade -v --dry-run Initial blacklisted ...
0
votes
0answers
59 views

Unattended Upgrades email from address

I am ubuntu 19.04 and have found sSMTP no longer works properly and have switched over to msmtp and msmtp-mta for sendmail alias. I am in the process of getting unattended upgrades setup. It is ...
1
vote
0answers
466 views

Does answering “no” on the “restart services during package upgrades without asking?” affect unattended-upgrades?

I answered no when doing interactive upgrade check on 18.04 and this came up: There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, ...
0
votes
1answer
38 views

Is it possible to do a fully unattended major version upgrade to Ubuntu?

I'm consulting for a cyber-security company. The company's product is a hardware device installed with Ubuntu 14.04 which resides in remote customers sites. There's a management API in these devices ...
0
votes
0answers
32 views

Is there a way to run a pre/post-installation script whenever apt upgrades a specific package? [duplicate]

I have an NGINX server with a Brotli dynamic module. My system is set for automatic apt upgrades which worked flawlessly for many years. Here's the catch: NGINX will load only the dynamic modules ...
17
votes
1answer
2k views

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 ...
1
vote
2answers
143 views

Unattended upgrades finds nothing when run manually

When run manually, sudo unattended-upgrade finds nothing to upgrade: No packages found that can be upgraded unattended and no pending auto-removals But doing sudo apt update beforehand miraculously ...
0
votes
1answer
127 views

Does ubuntu server (18.04) attempts any automatic update by default?

Background: I am looking for installing an Ubuntu server in a closed industrial network to monitor some stuff. I would like the Ubuntu server to NOT to attempt any automatic update. Do I need to ...
0
votes
0answers
37 views

Is it possible to set an individual package to autoupdate?

I know i can do unattended upgrades on the full system, but I dont want that. However there is one package that I would like to autoupdate when possible. Its provided by a PPA. Can that be done?...
3
votes
1answer
496 views

how to exclude kernel updates from unattended upgrades

What do I need to do to exclude kernel updates from unattended upgrades? I would rather livepatching to update the kernel. Should i simply add "linux-image"; to the package blacklist?
0
votes
0answers
119 views

unattended upgrades — pkg mysql-common not in allowed origin

After setting up unattended upgrades to do updates: "${distro_id}:${distro_codename}-updates"; I get this: pkg mysql-common not in allowed origin I've installed MariaDB this way: sudo add-apt-...
1
vote
1answer
239 views

How best to ensure unattended-upgrades runs regularly on a nomadic laptop?

APT seems to have an enduring blind-spot for computers which are not connected permanently to the internet. These days there are surely a ton of them, mostly laptops. The general solution is ...
3
votes
0answers
769 views

Unattended-upgrade in progress during shutdown

I have Ubuntu 18.04 and have automatic updates disabled. I did not do an update and when I shutdown my computer, I saw this message: Why did this happen and should I be concerned?
0
votes
1answer
35 views

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?
0
votes
2answers
112 views

Can't run apt update because apt-config is running in the background

I can't update my system anymore because some variation of apt-config is running in the background. 'ps aux | grep apt' shows one of the following two constantly running in the background. Also I can'...
3
votes
1answer
946 views

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 resouce for 4 hours Example: unattended-...
0
votes
0answers
56 views

Unattended upgrades - Sending to syslog (option not available in Ubuntu 16.04)

As the title says, I have an Ubuntu server 18.04 running unattended upgrades and in the config file there's an option to send the update logs to syslog server but in my Ubuntu 16.04 server, that ...
2
votes
1answer
322 views

How are package updates defined as security updates?

I've created and published a mirror of the Ubuntu repositories for Xenial using aptly. This includes xenial and xenial-updates downloaded from my country specific Ubuntu mirror. I've taken xenial-...
0
votes
0answers
48 views

Not able to upgrade azure-security using unattended-upgrade

Unattended-upgrade is not automatically upgrading azure-security. Unattended-upgrade setting file: bash -c 'cat > /etc/apt/apt.conf.d/50unattended-upgrades << EOM Unattended-Upgrade::...
5
votes
2answers
4k views

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-...
0
votes
0answers
422 views

unattended-upgrades never works

I have installed and configured unattended-upgrades but still every time I run apt-get upgrade, I see there are new packages waiting to be installed. I've waited even 2 weeks for them to get installed ...
2
votes
0answers
273 views

Unattended-upgrades disagrees with update-notifier

Ubuntu Server 18 LTS here, with unattended-upgrades installed, and security repo enabled. It is working, as confirmed by tail /var/log/unattended-upgrades/unattended-upgrades.log. Running sudo ...
4
votes
2answers
401 views

Overriding configuration options for unattended-upgrades

I have several Ubuntu servers which I want to have all upgrades applied automatically. I used to use a simple script which ran apt-get update && apt-get upgrade but that wasn't very robust, so ...
0
votes
0answers
77 views

Unattended upgrade Ubuntu official package that depended by internal repository Debian package

I have two repository in my software source list, one is Ubuntu Official repository and another one is my lab repository for personal Debian package that create by my own. Requirements: Upgrade ...
0
votes
1answer
99 views

Programmatically check unattended upgrades result

I have configured unattended-upgrades to run automatically on an Ubuntu Server 18.04. This is working as intended. How can I check the result of the last unattended-upgrades run through a bash script?...
4
votes
2answers
1k views

unattended-upgrades do not work properly

I have Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-24-generic x86_64) 15 packages can be updated. 7 updates are security updates. I wachted this serveral weeks and tried so many things to fix ...
0
votes
0answers
54 views

Where is the authoritative location for new Ubuntu releases? [duplicate]

An AWS droplet running Ubuntu is now reporting itself as Ubuntu 16.04.5 LTS but I find no reference to this version on ubuntu.com. The latest version is showing as 16.04.4 (http://releases.ubuntu....
15
votes
1answer
3k views

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 ...
1
vote
0answers
616 views

Unattended-upgrades not sending emails

i need your help. Im setting up an ubuntu server running 18.04, i installed the unattended-upgrades package to let it update automatically without my supervision. I'm currently in the process of ...
1
vote
0answers
263 views

Unattended upgrades suddenly not working? Security updates not installing

I have a server running Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-147-generic x86_64). After initial setup, I installed and enabled Unattended Upgrades. For about 9 months Unattended Upgrades worked ...
2
votes
1answer
769 views

what is “${distro_id}ESM:${distro_codename}” in unattended-upgrades config?

I wonder what "${distro_id}ESM:${distro_codename}"; is in the 50unattended-upgrades file. It was enabled by default for me (after enabeling unattended-upgrades package at least.) Right now I ...
1
vote
0answers
17 views

Crash after energy cutdown during upgrade from Ubuntu Studio 17.04 to 17.10

Last night I executed upgrade from Ubuntu studio 17.04 to Ubuntu studio 17.10. while doing it, I accidentally unplugged the power source. After rebooting, an advertising told me that upgrade was ...
3
votes
1answer
210 views

Where is the “unattended-upgrades” email notification template?

I'm using Ubuntu Server (16.04) with "unattended-upgrades", and I've set everything in order to receive notification emails when this packages does its thing. Now I want to change the notification ...
2
votes
1answer
643 views

Is it safe to turn on unattended upgrades for a live Ubuntu Webserver (Nginx/Apache)?

I was wondering whether it is safe to have the unattended-upgrades package keep the system up to date on a live webserver. Here I am specifically wondering whether issues might occur when packages ...
1
vote
2answers
94 views

How does unattended-upgrades handle new releases?

If I've installed unattended-upgrades what will happen when a new release comes out? Will I keep getting new packages for my installed release, or will my system upgrade to the new release?
1
vote
1answer
613 views

Unattended-upgrades pending reboot prevents shutdown from user

Running Ubuntu 14.04 in a public computer room, I have enabled unattended-upgrades and configured to reboot at 02.00 in the night. PCs are dual boot, so a user would reboot the computer in order to ...
5
votes
1answer
5k views

Why do both cron and systemd execute automatic upgrades?

I am trying to understand how automatic upgrades are happening through the unattended-upgrades package. What is described below is what I found on a fresh install of Ubuntu 16.04.3. /etc/cron.daily/...
0
votes
1answer
82 views

Are there unattended-upgrades security upgrades when LTS is over? [duplicate]

Are there security upgrades when LTS is over, at least form unattended-upgrades? That is, if I installed some Ubuntu and we reached some year and my LTS is over but I have an Ubuntu-Nginx server ...
0
votes
1answer
38 views

Can unattended-upgrades upgrade from Ubuntu 16 to 17 (major upgrade)?

Can unattended-upgrades upgrade from Ubuntu 16 to 17 (major upgrade)? I assume the current term is "major upgrade" (just as you would go from WordPress 3.x.x to 4.x.x or Drupal 7.x.x to 8.x.x).
9
votes
1answer
2k views

Why unattended-upgrades upgraded so few packages, seemingly?

In Ubuntu 16.04 xenial I've installed unattended-upgrades about six months ago. sudo apt-get install unattended-upgrades sudo dpkg-reconfigure --priority=low unattended-upgrades after that time I ...
2
votes
1answer
370 views

Is using dpkg a must for using unattended-upgrades?

I've installed unattended-upgrades via sudo apt-get install unattended-upgrades. I understand from the man that after doing sudo apt-get install unattended-upgrades, one should do: sudo dpkg-...
-1
votes
2answers
482 views

Unattended-upgrade — update everything out of everytihng silently without any barriers

I installed unattended-upgrade via apt-get installl unattended-upgrade, then came to configure it with dpkg-reconfigure unattended-upgrade. I then came into the following screen with the saying: ...
0
votes
1answer
575 views

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

Configuring unattended-upgrades Help

I just got this update. I don't know which one to choose from. I have a dual boot and i am new to it so don't wanna mess things up. Image
0
votes
0answers
93 views

unattended upgrades - which shutdown command works?

i have unattended upgrades set to run on shutdown. which of these commands will allow unattended upgrades to happen [and not skip them] poweroff systemctl poweroff shutdown reboot