We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [unattended-upgrades]

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

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
879 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?
3
votes
1answer
1k 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-...
3
votes
0answers
19 views

Why do I get duplicate e-mails from unattended-upgrades?

I have no idea where to look for this. Since the upgrade from Ubuntu Server 14.04 to 16.04 I consistently get every single e-mail from unattended-upgrade exactly twice. They have the same content and ...
3
votes
1answer
132 views

What are the possible reasons a kernel security update would fail to occur during unattended-upgrades?

I have setup unattended-upgrades along the lines of the Ubuntu AutomaticSecurityUpdates doc. However, it had not updated to the latest Linux kernel, which was definitely a "security" update. What are ...
3
votes
0answers
478 views

Can we extend the repositories for which unattended upgrades are enabled?

The usual advice regarding enabling unattended upgrades for some repository is to edit /etc/apt/apt.conf.d/50unattended-upgrades and manually add the appropriate Origin values. I wonder whether one ...
3
votes
0answers
714 views

Prevent automatic updates on certain WiFi networks

I have a 200 MB / month plan on my cell phone and automatic updates on my Ubuntu machine. That works just fine, unless I tether them together. A couple days ago, something, I presume automatic updates,...
2
votes
0answers
291 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 ...
2
votes
0answers
405 views

unattended-upgrade: why no more unattended.progress file in 15.10?

I've written a little program in python to notify the installation of automatic upgrade in Ubuntu. It has worked since Ubuntu 13.10, but now with 15.10, it doesn't work any more. Unattended-upgrade ...
2
votes
0answers
484 views

Issues with Unattended Ubuntu Installl from USB

*****UPDATE: I have now implemented a hack which solves this problem. I am still looking for help as I don't really consider the hack a solution. I booted shell (alt+f4) once the computer hung-up on ...
2
votes
1answer
463 views

unattended-upgrade does not update security updates

I run unattended-upgrade with Allowed-Origins set to security and nothing listed in the blacklist. However when I run unattended-upgrade -d, the log lists a blacklist with all my security updates ...
1
vote
0answers
566 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, ...
1
vote
0answers
639 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
267 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 ...
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 ...
1
vote
0answers
200 views

How to configure Unattended Upgrades to send emails to all users?

I have a Workstation installed with Ubuntu 16.04 LTS. I would like to automate the maintenance job every 4 months by sending out an email to all users registered on the machine one week before ...
1
vote
0answers
136 views

Unattended upgrade fills hard drive when there is problem with Apt source

My server running Ubuntu 14.04.5 server had its hard disk filled very quickly. Directory /var/cache/apt was full of files like this: -rw-r--r-- 1 root root 41M Mar 11 05:16 pkgcache.bin.t7Hu64 -rw-r-...
1
vote
0answers
87 views

different number of available security updates in apt-check and unattend-upgrades script

I found that there is difference beetween number of security updates in check_apt and unattended-upgrade scripts. Common /usr/lib/update-notifier/apt-check script uses isSecurityUpgrade(ver) function ...
1
vote
0answers
382 views

How long should unattended-upgrades take?

I have ran sudo unattended-upgrades while SSH'd into a Ubuntu box forgetting the -d or -v flag, so it is almost entirely silent. My Ubuntu 14.04.3 LTS said that it had 175 security updates(!) and my ...
1
vote
0answers
217 views

kickstart/preseed Ubuntu 14.04 Desktop (needs eMMC kernel support)

There are plenty of answers for this using the server install but due to the lack of eMMC storage support during the install its insufficient for my needs. My ultimate goal is to do install's of this ...
1
vote
0answers
358 views

Configurations needed for unattended-upgrades to run indefinitely?

What disk space and other configurations are needed so that you can trust unattended-upgrades to run unattended more or less indefinitely? I'm asking this to try to understand what went wrong with a ...
1
vote
0answers
105 views

CBP: Server, unattended-updates and vmware tools?

What's current best practice for headless VMware servers and automatic security updates? For non-critical servers I currently set auto-updates with a reboot, but because I've installed vmware-tools ...
0
votes
0answers
21 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....
0
votes
0answers
40 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 ...
0
votes
1answer
41 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 ...
0
votes
1answer
48 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 ...
0
votes
0answers
63 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 ...
0
votes
1answer
39 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
38 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?...
0
votes
0answers
126 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-...
0
votes
0answers
59 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 ...
0
votes
0answers
50 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::...
0
votes
0answers
429 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 ...
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
599 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
0answers
95 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
0
votes
0answers
97 views

How to update Ubuntu server automatically when server is powered on?

I have scenario when Ubuntu 16.04 LTS server is powered on every day for 1 hour. How to setup it in the way, that when started it updates itself automatically with an automatic reboot if needed? ...
0
votes
0answers
214 views

tidy/libtidy recursive installation hell

Ubuntu 16.04 LTS. I installed "tidy" to process some HTML files. I discovered it was unable, did a little Googling, and found the "modern" version of tidy at http://www.html-tidy.org/. I downloaded ...
0
votes
0answers
38 views

Something like a -y flag for unattended-upgrades

I've been able to configure automatic security updates with: sudo dpkg-reconfigure unattended-upgrades Running the above command brings up a configuration page. I only need to hit enter twice and ...
0
votes
1answer
117 views

why do I see unattended upgrades warning when installing a module?

when i install a module using apt-get, it installs successfully but I see the following message: N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an ...
0
votes
1answer
30 views

Robustness of Automatic updates against crashes

If my Ubuntu is installing automatic updates and my computer crashes and I have to do a forced reboot, the automatic updates are repaired after booting the computer?
0
votes
1answer
471 views

How to upgrade specific package using unattended-upgrades?

I would like to configure auto update some packages using unattended-upgrades. But I couldn't find the why to specific only the packages I want. The /etc/apt/apt.conf.d/50unattended-upgrades file have ...
0
votes
1answer
253 views

Low resolution after upgrading from 12.04 to 14.04

I was running 12.04 LTS and clicked on Upgrade to 14.04 LTS. My screen now shows only a white window in the middle of the screen saying: The system is running in low-graphics mode Your screen ...
0
votes
1answer
142 views

Does the package unattended-upgrades upgrade Major versions or just Minor ones

I know this package can update minor version, say 12. 04. 02 to 12. 04. 04 and even bigger jobs. But does it also do Major version jumps - say version 12 to 13 or 14? Without any human interaction. ...
0
votes
1answer
52 views

Can I add logic to unattended-upgrades?

I'd like to add some logic to unattended upgrades, but am unsure how to do so. Here's what I'd like to do: If there are security updates, run command exampleCommand1, then proceed with updates. If no ...