Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [unattended-upgrades]

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

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

unattended-upgrades uses CPU and never finishes

This is on 18.04 with unattended-upgrades version 1.1ubuntu1.18.04.14 I've noticed some strange behavior with unattended-upgrades. The first thing I noticed was it spinning forever (a month before I ...
user avatar
0 votes
0 answers
27 views

apt-daily.service timer-activated. Still need to "enable" apt-update in 20auto-upgrades?

Question summary: Why do I have to configure 20auto-upgrades to do an update of the package lists, although I am already running apt-daily.service systemd-timer-based? If I don't, then unattended-...
user avatar
  • 3
0 votes
1 answer
25 views

unattended-upgrades ignores Google Chrome upgrade [duplicate]

I had posted this question earlier at serverfault.com, but no satisfactory response yet. Please forgive for posting here too. My issue in short: unattended-upgrades ignores Google Chrome upgrade. A ...
user avatar
  • 3
0 votes
0 answers
30 views

Ubuntu auto updater crashed

I was just running Ubuntu, and then I get a notification that auto-update crashed. (I don't like auto-update because I don't like things running without me knowing about it). Will my system be OK? (I ...
user avatar
3 votes
2 answers
190 views

Trying to uncomment unattended-upgrades lines with script, need help

I've recently started working as an IT person in a all Linux company, and noticed some of the tasks we do can be 'easily' automated. Today's task to automate is installing software and configuring /...
user avatar
0 votes
0 answers
73 views

Ubuntu 20.04 unattended upgrade vs. dist-upgrade

Believe me, I did google but didn't find the positive answer. My question ist: Can unattended-upgrades perform the same as apt-get dist-upgrade if configured correctly? If yes, what should be the ...
user avatar
  • 3
0 votes
2 answers
57 views

reboot automatically when kernel is upgraded

I'm using unattended upgrades and I want to reboot automatically when kernel is upgraded. Is that possible?
user avatar
  • 6,140
2 votes
0 answers
41 views

Why is il3-fw2.canonical.com Pinging a server? / Security Concern

Presently, we have a number of Ubuntu 20.04 servers set up with unattended-updates, restricted just to security updates. I'm aware this generates a log, and checking said log does show that about ...
user avatar
1 vote
1 answer
66 views

configure unattended-upgrades with override.conf

Can I configure reboot for unattended-upgrades with override.conf? Instead of /etc/apt/apt.conf.d/50unattended-upgrades I put Unattended-Upgrade::Automatic-Reboot "true"; in /etc/systemd/...
user avatar
0 votes
1 answer
225 views

What will make unattended-upgrades run reliably on a laptop?

I have been struggling with in various forms, year after year. See here and here. Either I am configuring something wrong (unlikely), or I am using my computer in a bizarre way (I don't see it). My ...
user avatar
  • 653
0 votes
1 answer
646 views

Using Packer to deploy Ubuntu 20.04 to Proxmox

Problem TLDR: I've got this doing most of the AutoInstall (I think?) but it keeps bringing up the GUI install after it goes through the AutoInstall. Looking for any input into why it keeps bringing up ...
user avatar
3 votes
1 answer
82 views

Intel NUC unattended-upgrades battery power error

I have an Intel NUC running Ubuntu 21.10 server. When testing my unattended-upgrades setup (via sudo unattended-upgrades --dry-run --debug) I am receiving the following error: System is on battery ...
user avatar
  • 133
0 votes
0 answers
44 views

How to automatically upgrade on specif day of week?

I'm trying to figure out how I can set the unattended-upgrade to run on a specific day of the week. Are cronojobs the only way to do this ? If so, how can I reproduce the unnatended upgrade behavior ...
user avatar
0 votes
2 answers
62 views

Unable to upgrade 16.04 LTS to 18.04 LTS

I tried probably all suggestions brought forward. Just want to upgrade. Why can't they give us a extended chance to upgrade with the Software Updater. Can one upgrade by downloading 18.04 LTS and if ...
user avatar
1 vote
0 answers
72 views

distribution upgrade stuck unattended-upgrades

My distribution upgrade from ubuntu 18.04 to 20.04 stuck at unattended-upgrades for about 20 minutes. Is it normal? Do you have any suggestion, what should I do now? Do you have any suggestions? I ...
user avatar
  • 11
3 votes
0 answers
79 views

Can unattended upgrade shutdown my Ubuntu Server?

My server unexpectedly powered down today. From syslog, it seems like it might have been the unattended upgrade service: Nov 22 15:23:25 lynx systemd[1]: unattended-upgrades.service: Succeeded. Nov 22 ...
user avatar
  • 285
0 votes
1 answer
216 views

Unattended Upgrade End Script

I have the need of notifying my fleet management system every time unattended-upgrades run, and sending some information on the packages updated. Is there any way to detect the end of unattended ...
user avatar
0 votes
1 answer
56 views

Best strategy for pausing apt updates

I'm running a Postfix/Dovecot stack and I absolutely do not want unattended upgrades (tends to break things). However, I do want to update at some point. I'm thinking of adding packages to /etc/apt/...
user avatar
0 votes
1 answer
335 views

Ubuntu server 20.04 unattended-upgrades installing bionic kernel

I upgraded Ubuntu 18.04 server to Ubuntu 20.04 server last month. All appeared to go well. Unattended-upgrades ran this morning and installed /linux-generic-hwe-18.04_5.4.0.86.90_amd64.deb. I could ...
user avatar
  • 11
0 votes
0 answers
207 views

Ubuntu 20.04 slow after unattended-upgrade and reboot

I am seeing significantly worse performance after rebooting. This is noticeable across the entire machine (using apps, browser, terminal, etc.), but I am going to use this particular compilation since ...
user avatar
1 vote
1 answer
230 views

Unattended-Upgrades and autoremove dangerous?

I have an Ubuntu 20.04.1 server that I configured to automatically update with unattended-upgrades and 'InstallOnShutdown'. I also activated the 'autoremove unused dependencies' feature. After a ...
user avatar
1 vote
0 answers
110 views

unattended-upgrade does not run because it thinks PC is on battery power

Unattended upgrades are not run on my machine: $ sudo unattended-upgrade --dry-run -v System is on battery power, stopping This is a desktop computer connected to AC power. It does not have a battery....
user avatar
  • 141
0 votes
1 answer
2k views

Unattended Upgrades - could not be installed automatically

I have a pretty fresh install of Ubuntu 20.04 and don't remember specifically installing unattended-upgrades, but it seems enabled. As part of the MOTD when logging in I see: 16 updates could not be ...
user avatar
  • 31
1 vote
1 answer
924 views

unattended-upgrades does not fetch updates unless I run apt-get update

unattended-upgrades does not update the package list unless I run apt-get update manually. How can I make it update the package list so that it performs upgrades unattended? I am running a VPS server ...
user avatar
2 votes
2 answers
1k views

What is the diffrence 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....
user avatar
  • 195
1 vote
2 answers
3k views

unattended-upgrades on Ubuntu Server 20.04 not working, stuck in shutdown/wait-for-signal

I got myself a VPS a few months back and provisioned it with Ubuntu Server 20.04. I didn't modify any system settings as far as I can remember, certainly nothing that affects unattended-upgrades since ...
user avatar
0 votes
1 answer
714 views

AttributeError: 'DataSourceNoCloud' object has no attribute 'vendordata2_raw'

Last unnattended upgrade has returned error with service 'cloud-init'. I copy the error from "journalctl -u cloud-init": br 16 06:39:29 alestis cloud-init[1187]: AttributeError: '...
user avatar
1 vote
0 answers
221 views

apt-daily.timer and apt-daily-upgrade.timer not triggering unattended-upgrades

Using Ubuntu server 20.04 LTS. I’m trying to get unattended-upgrades to run at a specific time. It is my understanding that as of Ubuntu 18.04 either the apt-daily.timer or the apt-daily-upgrade....
user avatar
0 votes
1 answer
443 views

Delay unattended-upgrades at startup

I'm running Ubuntu 18.04 servers in AWS within an AutoScalingGroup. The server images (AMIs) have unattended-upgrades enabled. I just had a fail-over today and at boot time the unattended-upgrades ...
user avatar
  • 101
0 votes
0 answers
59 views

Intel graphic driver not loading after reinstalling old kernel

I have a Linux Ubuntu 20.04 system in a clean room, which I use for testing a scientific camera for a stratospheric telescope mission. The problem I am facing is that the drivers of the frame grabber ...
user avatar
  • 1
4 votes
0 answers
197 views

How to create an Unattended Install of Ubuntu Mate 20.04

You are looking at the boot stick for Ubuntu Mate 20.04. Plus a folder frankscripts containing a row of bash-scripts (to create multiple usersr, common folders, a bunch of chrome profiles, etc) I wish ...
user avatar
  • 1,029
1 vote
1 answer
577 views

Using Unattended-Upgrades to update security packages without user interaction

Using unattended-upgrades to install security packages. Which runs daily. However I've noticed for the last week or so that security packages haven't been installed. After some investigation I found ...
user avatar
6 votes
2 answers
236 views

unattended-upgrades stopped updating on Dec 17 2020

I have a number of servers running Ubuntu 18.04, all of which stopped updating anything on Dec 17. No errors seen in the unattended-upgrades or unattended-upgrades-dpkg log files. If I do apt-get ...
user avatar
0 votes
0 answers
383 views

"unattended-upgrades" package does not automatically reboot and install updates

I followed this Wiki -> Using the "unattended-upgrades" package I expect the system automatically reboot after installing automatically patches. But when I login I am greeted with this ...
user avatar
  • 1,838
2 votes
1 answer
297 views

How to configure unattended-upgrades with Canonical Livepatch

I am using unattended-upgrades on my server for keeping it up-to-date. I have also tried to enable Canonical Livepatch for avoiding to restart the system. It seems that unattended-upgrades updates the ...
user avatar
  • 123
2 votes
0 answers
2k views

Ubuntu server not allowing shutdown

I attempted to shut down my Ubuntu 20.04.1 LTS server earlier today. On doing so, I got the following message: Operation inhibited by "APT" (PID 729631 "unattended-upgr", user root)...
user avatar
7 votes
2 answers
6k views

Why did Docker get stopped on unattended upgrades

The Docker daemon gets stopped and not restarted after unattended upgrades. Is this normal? Im using Ubuntu Ubuntu 18.04.5 LTS Dec 01 06:39:19 systemd[1]: Starting Daily apt upgrade and clean ...
user avatar
1 vote
1 answer
51 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 ...
user avatar
4 votes
0 answers
173 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 ...
user avatar
  • 41
1 vote
1 answer
1k 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 // ...
user avatar
  • 43
0 votes
0 answers
1k 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 ...
user avatar
  • 7
5 votes
1 answer
402 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 ...
user avatar
0 votes
1 answer
437 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 ...
user avatar
0 votes
0 answers
115 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 ...
user avatar
8 votes
2 answers
10k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
4 votes
1 answer
913 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 ...
user avatar
  • 5,271
1 vote
0 answers
83 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 ...
user avatar
  • 11
5 votes
0 answers
303 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 ...
user avatar
2 votes
1 answer
379 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 ...
user avatar