Questions tagged [unattended-upgrades]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

ubuntu 18.04 ISO - Disable Network Configuration Prompts / Dialog via preseed config

During ubuntu iso 18.04 server install the network configuration manager dialog will showing if ethernet is not active. Note: I have created unattended ubuntu 18.04 offline iso. hence I don't want to ...
1
vote
1answer
34 views

How to restart a sleeping PC at scheduled time if unattended-upgrades has scheduled a restart

I see that unattended-upgrades issues shutdown -r command with the scheduled time. However, the PC is sleeping at that time. It also doesn't restart after manual wakeup. This is for a computer novice ...
1
vote
0answers
20 views

unattended-upgrades says packages have been kept back due to conffile prompt of apache2

I have an Ubuntu 16.04 server in production that has unattended-upgrades running, and I am getting messages from the server saying that apache2 packages have been kept back: Unattended upgrade ...
0
votes
0answers
21 views

Assistance understanding usr_bin_unattended-upgrade.0.crash

Over past few weeks a recently installed Ubuntu 20.04 upgrades and auto upgrades have been failing, and as others have noted gnome desktop freezes. With help of Ask Ubuntu found the following crash ...
0
votes
1answer
99 views

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

Automatic upgrades on Ubuntu Servers

I want to do automatic upgrades on Ubuntu servers 18.04. and 20.04. But apt-get man page is not so much encouraging: --allow-downgrades This is a dangerous option that will cause apt to continue ...
0
votes
0answers
53 views

ubuntu desktop 20.04 preseeding issue

I'm unable to encrypt file system through unattending pre-seeding file in ubuntu desktop 20.04 "d-i partman-auto/method crypto" is no longer working, causing "no root file system is ...
0
votes
0answers
184 views

unattended-upgrades not starting to update at shutdown

I have a new build here with Ubuntu Server 20.04, mainly as a NAS but also as a Jellyfin media server. I want it to perform its updates by itself, thanks to unattended-upgrades, as the end user would ...
1
vote
1answer
57 views

What is the difference between a “new” unused dependency and an unused dependency?

What is the difference between: Remove-New-Unused-Dependencies, and Remove-Unused-Dependencies, when performing an unattended upgrade? The following listing is an excerpt from the the configuration ...
0
votes
1answer
50 views

Unattended upgrade changes the linux-azure kernel to generic

I installed linux-azure kernel on my Ubuntu 20.04 Focal Fossa VMS that run on hypervs. The problem is I also have unattended upgraded configured and I noticed it upgrades the kernel to linux-generic ...
0
votes
0answers
80 views

unattended-upgrades needs to be reinstalled, but I can't find an archive for it

I have been facing this problem on ubuntu 16.04. I tried to fix by uncommenting "${distro_id}:${distro_codename}-updates"; this line in /etc/apt/apt.conf.d/50unattended-upgrades, but no ...
0
votes
1answer
604 views

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

Unattended upgrades triggering silent reboot

A few times over the past few weeks I've been working and suddenly my desktop disappears and my machine completely reboots. Having had it happen again this morning I've traced through the syslog and ...
1
vote
1answer
141 views

What is the effect of Unattended-Upgrade::DevRelease “auto”;?

I wanted to upgrade a production system (through staging, first) to 20.04. Backups and recovery options were in place. All went smoothly as expected. I did do-release-upgrade -d, because I didn't want ...
1
vote
0answers
21 views

unattended-upgrades write mail to file and run script

Is there a way to instruct unattended-updates to write the update mails to a file? And second, is there a way to run a custom script every time it upgrades the system? I have a telegram monitoring ...
5
votes
0answers
231 views

Xenial servers offline after unattended upgrades

We logged on this morning to find 12 of our servers offline. All with different hosting companies. All running Xenial. They all came back online after rebooting and it seems to have been caused by ...
1
vote
1answer
61 views

What happens with changed config files when unattended-upgrades runs

What happens when unattended-upgrades installs a new version of a package which has a different config file then on my computer? Normally you get asked if you want to keep yours or overwrite it with ...
0
votes
0answers
51 views

Display notification when unattended-upgrades is running

I configured unattended-upgrades on xubuntu (20.04) desktops. I manage my own apt repository, so I can still manage what package to update and when. While unattended-upgrades is running, the reboot/...
0
votes
0answers
88 views

Limiting the time Unattended-Upgrade keeps the lock on `/var/lib/dpkg/`

Is there any way to limit the time allowed for Unattended-Upgrade to keep the lock on /var/lib/dpkg/? Related: Unattended-upgrades running for hours
0
votes
0answers
213 views

Unattended-upgrades running for hours

I often try to install packages and I cannot since unattended-upgrades has locked files. Very often, it runs for more than 6 hours. Is that normal? Given I have $ cat /etc/apt/apt.conf.d/20auto-...
1
vote
0answers
74 views

Where to configure unattended-upgrades

Regarding configuration of Unattended-Upgrades: Which are the appropriate files for configuring each option of Unattended-Upgrades? I have seen three files mentioned, see below. I am not certain ...
0
votes
0answers
75 views

S-Nail Email with unattended upgrades

I'm new to linux / Ubuntu and looking to expand my skillset. First few things I am attempting to do is just basic setup of Ubuntu Server 18.04 LTS. I set up the unattended Upgrades for security ...
0
votes
1answer
110 views

Why doesnt the automatic updates work in xubuntu 19.10?

I cant get the automatic updates to work in Xubuntu 19.10. Even though the options in software and updates is set to download and install automatically in the background they never download. I open up ...
5
votes
1answer
727 views

Automatic update

I want to set up an Ubuntu laptop for a person with 0 experience of linux and who does not want to learn more than just use a few programs (replacement for Windows for an older family member; she ...
2
votes
1answer
89 views

Unattended upgrades still trying to use proxy

We stopped using a proxy for internet access for our Ubuntu 18 servers and everything is working fine, except that the unattended security upgrades are failing with still trying to use the proxy ...
0
votes
0answers
248 views

Is unattended-upgrades performing dist-upgrade on Ubuntu LTS 18.04?

I noticed the following line in unattended-upgrades.log file (on my dev instance where I have unattended-upgrades service enabled and configured to install only security updates): > 2020-02-19 06:...
0
votes
0answers
48 views

Ubuntu Server 18.04 automate TPM2+LUKS after setup

I have some SoC boards that come with TPM2 module. I need to create a USB stick that will automate the entire setup process 100% unattended. After Ubuntu Server 18.04 installs, I need to ...
0
votes
0answers
52 views

18.04: Unattended Upgrades Don't Send Email Notification

After installing unattended upgrades and set it up correctly with all the security updates. I can see everything in the log files. However, it does not send me email notifications. I have the option ...
0
votes
0answers
47 views

unattended-upgrade blacklists upgrades from selfhosted repository

I have my own repository hosted on a local mashine. Packages from there can be installed via apt-get install with no problems. I want to achieve automatic updates after I upload a new version to this ...
0
votes
1answer
60 views

Configure a simple send-only mailserver for system mail?

I'm running a cloud VM (18.04), and I'm trying to get emails from unattended-upgrades. Can someone tell me the easiest way to get these emails forwarded to me? I've tried several guides for postfix ...
0
votes
0answers
128 views

Why does Ubuntu keep saying unattended-upgrades could not be installed? [duplicate]

Since a couple of days, when I log in Ubuntu 18.04, I receive the following message: 13 updates could not be installed automatically. For more details, see /var/log/unattended-upgrades/unattended-...
0
votes
0answers
21 views

run unattended-upgrades (security) daily & additionally unattended-upgrades (all) e.g. monthly?

I currently run the unattended-upgrades daily for security fixes. Just a standard setup with "${distro_id}:${distro_codename}-security"; & "${distro_id}ESM:${distro_codename}"; enabled. Now I'd ...
2
votes
0answers
663 views

unattended-upgrade taking a lot of CPU power

I've recently upgraded my OS from Ubuntu 16 LTS to Ubuntu 18.04 LTS and it's been a few days that the process unattended-upgrade is taking a lot of CPU power, forcing my fan to be quite noisy (cf ...
0
votes
0answers
145 views

50unattended-upgrades not recognized or not working

I'm trying to add a couple postgis items to my unattended-upgrades blacklist. However, I have not been successful as both items below keep appearing in the upgrade confirmation. In my /etc/apt/apt....
8
votes
1answer
1k views

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

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 ...
4
votes
2answers
3k 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
88 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
294 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
50 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
108 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:...
8
votes
3answers
2k 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 ...
1
vote
0answers
160 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 ...
2
votes
0answers
1k 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
55 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 ...
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
412 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
482 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 ...
3
votes
1answer
2k 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?
2
votes
1answer
639 views

How to ensure security upgrades run regularly on intermittent internet connection?

Ubuntu seems to have an enduring blind-spot for security upgrades on computers which are not connected permanently to the internet. These days there are surely a ton of them, mostly laptops. In ...