Skip to main content

Unattended-upgrades can't update itself: SIGUSR1 received, will stop [Resolved]

We use "unattended-upgrades" on ubuntu xenial.
Since a few days "uu" can't update itself:

Manual run: unattended-upgrades -d
Message:

...pkg 'powermgmt-base' not in allowed origin...

My origins:

"${distro_id}:${distro_codename}-security";
"${distro_id}:${distro_codename}-updates";

EDIT:
I found the correct origin:

"${distro_id}:${distro_codename}";

Problem now is, that "UU" is unable to update itself:

Preparing to unpack .../unattended-upgrades_1.1ubuntu1.18.04.7~16.04.3_all.deb ...
SIGUSR1 received, will stop
SIGUSR1 received, will stop
SIGUSR1 received, will stop
SIGUSR1 received, will stop

Any advice?


Question Credit: varlog
Question Reference
Asked June 12, 2019
Posted Under: Network
9 views
2 Answers

In /etc/apt/apt.conf.d/50unattended-upgrades, change the following setting to false:

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "true";

credit: Christopher K.
Answered June 12, 2019

This solved it for me: Unattended-Upgrade::MinimalSteps "false";

This was "true" before!


credit: varlog
Answered June 12, 2019
Your Answer