Questions tagged [unattended-upgrades]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

Starting custom process after auto update completes - Apt-Get pauses custom install script [duplicate]

A little background: I am trying to set up an automated install process in AWS that configures my servers with little intervention. I have it generally working in Ubuntu 18.04. However, in 22.04 (ARM) ...
LeviRCoding's user avatar
0 votes
0 answers
64 views

How to make apt auto-upgrade packages even when a depends package is removed/renamed?

Normal unattended-upgrades keeps back packages when a Depends package is removed/renamed. This is usually reasonable, but I would like to override this behavior, as it can lead to breakage which can ...
Anton Tykhyy's user avatar
1 vote
1 answer
50 views

What is "o=. main" in the output of the apt-cache policy command?

In the output of apt-cache policy command I see the following lines: 500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages release o=. main,a=main,n=main,l=. main,c=...
Maxim Zasorin's user avatar
0 votes
2 answers
666 views

Unattended-upgrades working correctly?

First off - I'm new to both ubuntu and the forum so please go easy on me this time! I know questions about unattended-upgrades are often asked, and this one here looks possibly identical to my ...
NickW's user avatar
  • 101
1 vote
0 answers
123 views

How can I get unattended-upgrades to work reliably on my laptops?

For months, I’ve been having issues with unattended-upgrades not running every day, or thereabouts, with logs often empty for a week or so, or with it not working at all. I’ve amended the relevant ...
yellowsky's user avatar
0 votes
0 answers
73 views

Unattended-Upgrade frequently reboots without logging anything

On 22.04.1 LTS, unattended-upgrades service reboots the server frequently, sometimes within a 15-minute interval!. Everything is default, ie, I have not edited 50unattended-upgrades or made any other ...
Ferole's user avatar
  • 1
0 votes
0 answers
2k views

unattended-upgrades.service using an outdated library in Ubuntu 22.04

Whenever I execute an apt-get upgrade, I am confronted with a popup telling me that two of my daemons are using outdated libraries, and I am asked whether or not I wish to restart those services. One ...
Phil Freihofner's user avatar
2 votes
2 answers
401 views

How to do apt-get dist-upgrade with noninteractive?

I am on Ubuntu 20.04 and using this command: DEBIAN_FRONTEND=noninteractive UCF_FORCE_CONFFOLD=1 apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y --allow-downgrades --...
Hackeron's user avatar
  • 133
1 vote
1 answer
176 views

How to check if unattended upgradeis currently running

I was wondering if there was a way to check if unattended upgrade is currently doing its thing (from a bash script) I want to use a cron interval to run a script that will periodically check to see if ...
traderdev's user avatar
0 votes
0 answers
81 views

Broken release upgrade 20.04 to 22.04 has not resolveable unintended upgrades

some days ago I did do-release-upgrade on a rock pi running a little nextcloud server for me. I started the upgrade while I was logged in at the hardware itself, not over network. While the upgrade ...
frank's user avatar
  • 1
1 vote
1 answer
235 views

How to configure lots of packages afterwards

During unattended-upgrades (--verbose) I get this for each upgraded package: debconf: delaying package configuration, since apt-utils is not installed How to deal with this? I installed apt-utils ...
jarno's user avatar
  • 5,317
0 votes
0 answers
1k views

Unattended-upgrades hung on reboot

I have a workstation that was recently (yesterday?) upgraded to Ubuntu 20.04.5. Today it was lagging, and was rebooted. But before it completed the reboot, it started running unattended-upgrades (I ...
Joey Neilsen's user avatar
1 vote
0 answers
86 views

NVidia driver spontaneously uninstalls

Running Ubuntu 20.04 LTS desktop in a (mostly) unattended setup. The machine has a beefy NVidia video card. I had installed the drivers using sudo ubuntu-drivers autoinstall and everything worked ...
logidelic's user avatar
  • 232
-1 votes
1 answer
50 views

what is happens to my data after upgrade 20.04.1 [closed]

I was useing ubuntu 20.04 , update was showing up to 20.04.1 but What will happens to all data,file,program,desktop themes after upgrade 20.04.1
Tharahb Roy's user avatar
0 votes
0 answers
177 views

Loss of configurations after unattended upgrade

I'm in Ubuntu MATE 22.04. Today after logging in, I noticed that various subsystems were messed up. So far I noticed: no tapping on the touchpad (no simple, double, or triple tap) Ctrl+Alt+T won't ...
ThoseWhoWish2B's user avatar
0 votes
1 answer
2k views

Upgrade is not working due to dpkg being used by another process [duplicate]

I am unable to install anything on my Ubuntu 20.04. The reason looks like dpkg: error: dpkg frontend lock is locked by another process. This is used by following root process /usr/bin/python3 /usr/...
Pranav's user avatar
  • 1
0 votes
0 answers
1k views

How to enable Anydesk unattended access on headless Ubuntu machine?

My company is subscribed to the Anydesk performance license, we hoped that there would be an option to create a custom client with unattended access available - however, there is not. Now we are ...
Aleksa's user avatar
  • 1
0 votes
0 answers
336 views

unattended-upgrades NVIDIA

I use Ubuntu 22.04 LTS in my work. For regular updates of the inbuilt "unattended-uprades" package. When installing Ubuntu, I selected the option to download additional drivers. When I check ...
portableunit's user avatar
0 votes
0 answers
595 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-...
bpn's user avatar
  • 33
1 vote
1 answer
331 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 ...
bpn's user avatar
  • 33
0 votes
0 answers
217 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 ...
Myrsky Tiamos's user avatar
3 votes
2 answers
704 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 /...
Marcos Delfino's user avatar
0 votes
0 answers
869 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 ...
bpn's user avatar
  • 33
0 votes
2 answers
977 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?
daisy's user avatar
  • 6,440
2 votes
0 answers
61 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 ...
Renevant's user avatar
1 vote
1 answer
189 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/...
Thomas Richter's user avatar
0 votes
1 answer
1k views

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

I have been struggling with this 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). ...
Sqerstet's user avatar
  • 683
0 votes
1 answer
3k 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 ...
aRustyDev's user avatar
3 votes
1 answer
284 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 ...
surfearth's user avatar
  • 133
0 votes
2 answers
72 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 ...
Newbee Mark's user avatar
1 vote
0 answers
186 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 ...
Yousef's user avatar
  • 11
4 votes
0 answers
305 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 ...
Bryant's user avatar
  • 315
2 votes
1 answer
837 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 ...
Pablosproject's user avatar
0 votes
1 answer
159 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/...
Tyler Montney's user avatar
0 votes
1 answer
841 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 ...
BE-Bob's user avatar
  • 11
0 votes
0 answers
479 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 ...
willsters's user avatar
2 votes
1 answer
490 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 ...
haikosaw's user avatar
4 votes
0 answers
519 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....
Evgenii's user avatar
  • 171
0 votes
1 answer
4k 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 ...
D34DC3N73R's user avatar
2 votes
1 answer
2k 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 ...
LambdaPsi's user avatar
  • 141
4 votes
2 answers
4k 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....
Angel115's user avatar
  • 250
1 vote
2 answers
8k 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 ...
jerkstorecalled's user avatar
0 votes
1 answer
796 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: '...
Jorge Juan García Madurga's user avatar
2 votes
0 answers
496 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....
Anperson222's user avatar
0 votes
1 answer
1k 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 ...
Thomas's user avatar
  • 111
0 votes
0 answers
128 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 ...
Ma Ta's user avatar
  • 21
4 votes
0 answers
257 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 ...
Frank N's user avatar
  • 1,290
1 vote
1 answer
1k 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 ...
Duppie's user avatar
  • 13
6 votes
2 answers
316 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 ...
Gothmolly's user avatar
2 votes
1 answer
503 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 ...
Jleuleu's user avatar
  • 123

1
2 3 4 5