2018-08-16 18:21:32 |
Dean Henrichsmeyer |
bug |
|
|
added bug |
2018-08-16 18:53:41 |
Steve Langasek |
unattended-upgrades (Ubuntu): importance |
High |
Critical |
|
2018-08-17 12:37:22 |
Francis Ginther |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 |
|
2018-08-17 15:25:02 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2018-09-26 14:06:45 |
Julian Andres Klode |
bug task added |
|
linux-hwe (Ubuntu) |
|
2018-09-26 14:06:59 |
Julian Andres Klode |
affects |
linux-hwe (Ubuntu) |
linux-meta-hwe (Ubuntu) |
|
2018-09-26 14:07:06 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu) |
|
2018-09-26 14:19:06 |
Julian Andres Klode |
affects |
unattended-upgrades (Ubuntu) |
apt (Ubuntu) |
|
2018-09-26 14:19:14 |
Julian Andres Klode |
linux-meta (Ubuntu): importance |
Undecided |
Critical |
|
2018-09-26 14:19:15 |
Julian Andres Klode |
linux-meta-hwe (Ubuntu): importance |
Undecided |
Critical |
|
2018-09-26 14:19:25 |
Julian Andres Klode |
linux-meta-hwe (Ubuntu): status |
New |
Triaged |
|
2018-09-26 14:19:27 |
Julian Andres Klode |
linux-meta (Ubuntu): status |
New |
Triaged |
|
2018-09-26 14:19:29 |
Julian Andres Klode |
apt (Ubuntu): status |
New |
Triaged |
|
2018-10-30 09:14:36 |
Julian Andres Klode |
apt (Ubuntu): status |
Triaged |
Fix Committed |
|
2018-11-15 17:25:39 |
Launchpad Janitor |
apt (Ubuntu): status |
Fix Committed |
Fix Released |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Xenial |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Xenial) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu Xenial) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta-hwe (Ubuntu Xenial) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Cosmic |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Cosmic) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu Cosmic) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta-hwe (Ubuntu Cosmic) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Disco |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Disco) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu Disco) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta-hwe (Ubuntu Disco) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Bionic |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Bionic) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu Bionic) |
|
2019-01-14 13:54:27 |
Julian Andres Klode |
bug task added |
|
linux-meta-hwe (Ubuntu Bionic) |
|
2019-01-14 14:05:44 |
Julian Andres Klode |
description |
On a fairly fresh install of 18.04 with no modifications whatsoever to the unattended-upgrades configuration, it decided to remove linux-image-generic which also removed linux-modules-extra which caused sound drivers to disappear, etc.
The relative snippet from /var/log/unattended-upgrades/unattended-upgrades.log is:
2018-08-15 06:18:00,048 INFO Starting unattended upgrades script
2018-08-15 06:18:00,048 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2018-08-15 06:18:01,552 INFO Removing unused kernel packages: linux-headers-generic linux-image-generic linux-headers-4.15.0-32-generic linux-headers-4.15.0-32
2018-08-15 06:18:01,588 WARNING Keeping auto-removable linux-headers-generic package(s) because it would also remove the following packages which should be kept in this step: libxml2 linux-image-4.15.0-32-generic linux-modules-4.15.0-32-generic linux-modules-extra-4.15.0-32-generic
2018-08-15 06:18:09,476 INFO Packages that were successfully auto-removed: linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic linux-headers-generic linux-image-generic
2018-08-15 06:18:09,477 INFO Packages that are kept back: linux-headers-generic
2018-08-15 06:18:10,300 INFO Packages that will be upgraded: libxml2 linux-image-generic
2018-08-15 06:18:10,300 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2018-08-15 06:18:39,238 INFO All upgrades installed
2018-08-15 06:18:42,818 INFO Packages that were successfully auto-removed: linux-image-generic linux-modules-extra-4.15.0-32-generic
2018-08-15 06:18:42,818 INFO Packages that are kept back:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: unattended-upgrades 1.1ubuntu1.18.04.5
ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 16 13:17:30 2018
InstallationDate: Installed on 2018-07-24 (23 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180724)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
If a user accidentally removed linux-generic, unattended-upgrades will also autoremove linux-image-generic, leaving them without kernel upgrades.
[Test Case]
1. Remove all reverse dependencies of linux-image-generic
2. Mark linux-image-generic as automatically installed
3. Run unattended-upgrades -v --dry-run --debug to ensure that linux-image-generic is not removed (after verifying that it is, with old apt)
[Regression potential]
This adds two regular expressions to the list of packages that must not be automatically removed. As such, the only possible regression is that some packages starting with linux-image, not containing any dots, are not removed
[Original bug report]
On a fairly fresh install of 18.04 with no modifications whatsoever to the unattended-upgrades configuration, it decided to remove linux-image-generic which also removed linux-modules-extra which caused sound drivers to disappear, etc.
The relative snippet from /var/log/unattended-upgrades/unattended-upgrades.log is:
2018-08-15 06:18:00,048 INFO Starting unattended upgrades script
2018-08-15 06:18:00,048 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2018-08-15 06:18:01,552 INFO Removing unused kernel packages: linux-headers-generic linux-image-generic linux-headers-4.15.0-32-generic linux-headers-4.15.0-32
2018-08-15 06:18:01,588 WARNING Keeping auto-removable linux-headers-generic package(s) because it would also remove the following packages which should be kept in this step: libxml2 linux-image-4.15.0-32-generic linux-modules-4.15.0-32-generic linux-modules-extra-4.15.0-32-generic
2018-08-15 06:18:09,476 INFO Packages that were successfully auto-removed: linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic linux-headers-generic linux-image-generic
2018-08-15 06:18:09,477 INFO Packages that are kept back: linux-headers-generic
2018-08-15 06:18:10,300 INFO Packages that will be upgraded: libxml2 linux-image-generic
2018-08-15 06:18:10,300 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2018-08-15 06:18:39,238 INFO All upgrades installed
2018-08-15 06:18:42,818 INFO Packages that were successfully auto-removed: linux-image-generic linux-modules-extra-4.15.0-32-generic
2018-08-15 06:18:42,818 INFO Packages that are kept back:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: unattended-upgrades 1.1ubuntu1.18.04.5
ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 16 13:17:30 2018
InstallationDate: Installed on 2018-07-24 (23 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180724)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-01-14 14:06:01 |
Julian Andres Klode |
apt (Ubuntu Cosmic): status |
New |
Triaged |
|
2019-01-14 14:06:09 |
Julian Andres Klode |
apt (Ubuntu Bionic): status |
New |
Triaged |
|
2019-01-14 14:06:26 |
Julian Andres Klode |
apt (Ubuntu Xenial): status |
New |
Triaged |
|
2019-01-15 20:20:21 |
Brian Murray |
apt (Ubuntu Cosmic): status |
Triaged |
Fix Committed |
|
2019-01-15 20:20:26 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-01-15 20:20:29 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-01-15 20:20:34 |
Brian Murray |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-needed verification-needed-cosmic |
|
2019-01-15 20:31:35 |
Brian Murray |
apt (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2019-01-15 20:31:55 |
Brian Murray |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-needed verification-needed-cosmic |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-01-30 16:14:47 |
Julian Andres Klode |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-needed verification-needed-bionic verification-needed-cosmic |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done verification-done-bionic verification-done-cosmic |
|
2019-01-31 09:07:56 |
Launchpad Janitor |
apt (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-01-31 09:07:56 |
Launchpad Janitor |
cve linked |
|
2019-3462 |
|
2019-01-31 09:08:03 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-01-31 09:08:15 |
Launchpad Janitor |
apt (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-03-01 11:32:03 |
Julian Andres Klode |
cve unlinked |
2019-3462 |
|
|
2019-03-01 12:03:36 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Trusty |
|
2019-03-01 12:03:36 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Trusty) |
|
2019-03-01 12:03:36 |
Julian Andres Klode |
bug task added |
|
linux-meta (Ubuntu Trusty) |
|
2019-03-01 12:03:36 |
Julian Andres Klode |
bug task added |
|
linux-meta-hwe (Ubuntu Trusty) |
|
2019-03-01 12:03:49 |
Julian Andres Klode |
apt (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2019-03-01 12:05:23 |
Julian Andres Klode |
apt (Ubuntu Trusty): status |
New |
In Progress |
|
2019-03-05 22:26:41 |
Brian Murray |
apt (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2019-03-05 22:26:48 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-03-05 22:26:53 |
Brian Murray |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done verification-done-bionic verification-done-cosmic |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done-bionic verification-done-cosmic verification-needed verification-needed-xenial |
|
2019-03-05 22:35:08 |
Brian Murray |
apt (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2019-03-05 22:35:18 |
Brian Murray |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done-bionic verification-done-cosmic verification-needed verification-needed-xenial |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done-bionic verification-done-cosmic verification-needed verification-needed-trusty verification-needed-xenial |
|
2019-03-10 01:04:36 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2019-03-14 03:01:12 |
Mathew Hodson |
apt (Ubuntu Cosmic): importance |
Undecided |
Critical |
|
2019-03-14 03:01:26 |
Mathew Hodson |
apt (Ubuntu Bionic): importance |
Undecided |
Critical |
|
2019-03-14 03:02:12 |
Mathew Hodson |
apt (Ubuntu Xenial): importance |
Undecided |
High |
|
2019-03-14 03:02:24 |
Mathew Hodson |
apt (Ubuntu Trusty): importance |
Undecided |
High |
|
2019-03-15 11:04:11 |
Julian Andres Klode |
tags |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done-bionic verification-done-cosmic verification-needed verification-needed-trusty verification-needed-xenial |
amd64 apport-bug bionic id-5b75e82507956e57463be7d9 verification-done verification-done-bionic verification-done-cosmic verification-done-trusty verification-done-xenial |
|
2019-03-21 11:00:26 |
Launchpad Janitor |
apt (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2019-03-21 11:00:26 |
Launchpad Janitor |
cve linked |
|
2019-3462 |
|
2019-03-21 11:05:31 |
Launchpad Janitor |
apt (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2020-07-02 19:25:59 |
Steve Langasek |
linux-meta (Ubuntu Disco): status |
Triaged |
Won't Fix |
|
2020-07-02 19:26:15 |
Steve Langasek |
linux-meta-hwe (Ubuntu Disco): status |
Triaged |
Won't Fix |
|
2020-07-05 07:08:39 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|
2020-07-05 07:10:27 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu) |
|
|
2020-07-05 07:10:41 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu Trusty) |
|
|
2020-07-05 07:10:56 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu Xenial) |
|
|
2020-07-05 07:11:04 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu Bionic) |
|
|
2020-07-05 07:11:13 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu Cosmic) |
|
|
2020-07-05 07:11:22 |
Mathew Hodson |
bug task deleted |
linux-meta (Ubuntu Disco) |
|
|
2020-07-05 07:11:30 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu) |
|
|
2020-07-05 07:11:38 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu Trusty) |
|
|
2020-07-05 07:11:46 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu Xenial) |
|
|
2020-07-05 07:12:03 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu Bionic) |
|
|
2020-07-05 07:12:10 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu Cosmic) |
|
|
2020-07-05 07:12:17 |
Mathew Hodson |
bug task deleted |
linux-meta-hwe (Ubuntu Disco) |
|
|