Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
In Progress
|
Medium
|
Balint Reczey | ||
Bionic |
Fix Released
|
Medium
|
Balint Reczey | ||
Cosmic |
Fix Released
|
Medium
|
Unassigned | ||
Disco |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Since the following linux-cloud-
Xenial : 4.4.0-135.161
Bionic : 4.15.0-34.37
the Systemd service unit file for hv-kvp-daemon has been modified with new dependencies that make the package unable to be upgraded with unattended-upgrades on shutdown mode.
Unattended-upgrades hangs with the linux-cloud-
- Package state after reboot :
iFR linux-cloud-
- Unattended-upgrades dpkg logs :
Log started: 2018-10-05 17:59:04
(Reading database ... 52043 files and directories currently installed.)
Preparing to unpack .../linux-
Log ended: 2018-10-05 18:00:54
- Impact :
The current impact is very important as all security updates are blocked until you manually fix each server with :
dpkg --configure -a
apt install --only-upgrade linux-cloud-
- Workaround/Fix :
As a simple straightforward fix, replacing :
Before=
with :
Before=
makes the package upgradable during shutdown.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Cosmic): | |
status: | New → Invalid |
Changed in linux (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in unattended-upgrades (Ubuntu Cosmic): | |
status: | New → Fix Released |
Changed in unattended-upgrades (Ubuntu Disco): | |
status: | New → Fix Released |
Changed in unattended-upgrades (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in unattended-upgrades (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in unattended-upgrades (Ubuntu Bionic): | |
assignee: | Eric Desrochers (slashd) → nobody |
assignee: | nobody → Balint Reczey (rbalint) |
Changed in unattended-upgrades (Ubuntu Xenial): | |
assignee: | nobody → Balint Reczey (rbalint) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
status: | New → Invalid |
no longer affects: | linux (Ubuntu) |
no longer affects: | linux (Ubuntu Xenial) |
no longer affects: | linux (Ubuntu Bionic) |
no longer affects: | linux (Ubuntu Cosmic) |
no longer affects: | linux (Ubuntu Disco) |
Changed in unattended-upgrades (Ubuntu Bionic): | |
status: | In Progress → Fix Released |
Changed in unattended-upgrades (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in unattended-upgrades (Ubuntu Disco): | |
importance: | Undecided → Medium |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1796376
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.