2017-03-22 16:08:26 |
Bryce Nesbitt |
bug |
|
|
added bug |
2017-03-22 16:39:36 |
Louis Bouchard |
bug |
|
|
added subscriber Louis Bouchard |
2017-03-22 18:04:48 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
New |
Confirmed |
|
2017-03-22 20:48:20 |
Jarno Suni |
bug |
|
|
added subscriber Jarno Suni |
2017-03-28 14:56:09 |
Federico Catalan |
bug |
|
|
added subscriber Federico Catalan |
2017-04-14 00:34:57 |
spike speigel |
tags |
|
xenial |
|
2017-04-27 14:47:59 |
Jarno Suni |
tags |
xenial |
pecise trusty xenial |
|
2017-04-27 14:49:09 |
Jarno Suni |
tags |
pecise trusty xenial |
xenial |
|
2017-06-07 18:45:36 |
John Smith |
bug |
|
|
added subscriber John Smith |
2017-09-19 22:13:19 |
Brian Murray |
tags |
xenial |
full-boot xenial |
|
2018-03-01 16:32:49 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
Confirmed |
Fix Released |
|
2018-03-27 19:09:22 |
Balint Reczey |
description |
On a 16.04LTS system, the /boot partition will eventually fill with Kernel images, until the point where "apt-get autoremove" can't complete.
This issue has previously been reported as fixed, but it is not fixed:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093
Generally what I see is the final kernel image that fills the drive is incompletely installed (the header package does not make it). "apt-get autoremove" tries to work, but fails. I must manually remove kernel images to free enough space.
I see this on a machine used by my elderly parents, where 'Download and install updates automatically' is set. And on my home machines, where the setting is elsewhere. |
[Impact]
* Update-manager and unattended-upgrades install many kernel packages during the lifetime of a release but does not remove them automatically leading to those packages filling disk space potentially completely filling /boot and making the system unable to install updates or even boot.
* Stable release users are impacted by this bug for years and their systems already collected many autoremovable unused kernel packages, thus they would benefit from backporting the fix greatly.
* The bug is fixed by removing autoremovable (not currently booted) kernel packages when running unattended-upgrades or update-manager. Update manager offers the kernel removals when there are other updates to be installed.
[Test Case]
1. Install kernel packages to be removed, mark them auto-installed and run apt's kernel hook script to make apt consider them autoremovable:
sudo apt install -y linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo apt-mark auto linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo /etc/kernel/postinst.d/apt-auto-removal
2. Also downgrade a package to be upgraded:
sudo apt-get install -y ca-certificates=20160104ubuntu1
3. (update-manager). Run update-manager and observe that kernel packages are offered for removal in Details of updates.
sudo update-manager
4. (update-manager) Click on Install Now and observe that the kernel packages are removed.
3. (unattended-upgrades) Run unattended-upgrades manually and observe the removal of the autoremovable kernel packages:
sudo unattended-upgrade -v
[Regression Potential]
The change may cause update-manager or unattanded-upgrades to remove used kernel packages or fail to install other package updates.
[Other Info]
The unattended-upgrades fix is uploaded with many other fixes and those may cause regressions in other areas in unattended-upgrades.
[Original bug text]
On a 16.04LTS system, the /boot partition will eventually fill with Kernel images, until the point where "apt-get autoremove" can't complete.
This issue has previously been reported as fixed, but it is not fixed:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093
Generally what I see is the final kernel image that fills the drive is incompletely installed (the header package does not make it). "apt-get autoremove" tries to work, but fails. I must manually remove kernel images to free enough space.
I see this on a machine used by my elderly parents, where 'Download and install updates automatically' is set. And on my home machines, where the setting is elsewhere. |
|
2018-03-27 19:10:48 |
Balint Reczey |
bug task added |
|
update-manager (Ubuntu) |
|
2018-03-27 19:10:54 |
Balint Reczey |
update-manager (Ubuntu): status |
New |
Fix Released |
|
2018-03-27 22:43:30 |
Steve Langasek |
nominated for series |
|
Ubuntu Artful |
|
2018-03-27 22:43:30 |
Steve Langasek |
bug task added |
|
update-manager (Ubuntu Artful) |
|
2018-03-27 22:43:30 |
Steve Langasek |
bug task added |
|
unattended-upgrades (Ubuntu Artful) |
|
2018-03-27 22:43:30 |
Steve Langasek |
nominated for series |
|
Ubuntu Xenial |
|
2018-03-27 22:43:30 |
Steve Langasek |
bug task added |
|
update-manager (Ubuntu Xenial) |
|
2018-03-27 22:43:30 |
Steve Langasek |
bug task added |
|
unattended-upgrades (Ubuntu Xenial) |
|
2018-03-27 22:46:38 |
Steve Langasek |
update-manager (Ubuntu Artful): status |
New |
Incomplete |
|
2018-03-29 16:52:14 |
Brian Murray |
update-manager (Ubuntu Artful): status |
Incomplete |
Fix Committed |
|
2018-03-29 16:52:17 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-03-29 16:52:21 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-03-29 16:52:27 |
Brian Murray |
tags |
full-boot xenial |
full-boot verification-needed verification-needed-artful xenial |
|
2018-03-29 16:54:22 |
Brian Murray |
update-manager (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-03-29 16:54:30 |
Brian Murray |
tags |
full-boot verification-needed verification-needed-artful xenial |
full-boot verification-needed verification-needed-artful verification-needed-xenial xenial |
|
2018-04-05 12:25:49 |
Jarno Suni |
description |
[Impact]
* Update-manager and unattended-upgrades install many kernel packages during the lifetime of a release but does not remove them automatically leading to those packages filling disk space potentially completely filling /boot and making the system unable to install updates or even boot.
* Stable release users are impacted by this bug for years and their systems already collected many autoremovable unused kernel packages, thus they would benefit from backporting the fix greatly.
* The bug is fixed by removing autoremovable (not currently booted) kernel packages when running unattended-upgrades or update-manager. Update manager offers the kernel removals when there are other updates to be installed.
[Test Case]
1. Install kernel packages to be removed, mark them auto-installed and run apt's kernel hook script to make apt consider them autoremovable:
sudo apt install -y linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo apt-mark auto linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo /etc/kernel/postinst.d/apt-auto-removal
2. Also downgrade a package to be upgraded:
sudo apt-get install -y ca-certificates=20160104ubuntu1
3. (update-manager). Run update-manager and observe that kernel packages are offered for removal in Details of updates.
sudo update-manager
4. (update-manager) Click on Install Now and observe that the kernel packages are removed.
3. (unattended-upgrades) Run unattended-upgrades manually and observe the removal of the autoremovable kernel packages:
sudo unattended-upgrade -v
[Regression Potential]
The change may cause update-manager or unattanded-upgrades to remove used kernel packages or fail to install other package updates.
[Other Info]
The unattended-upgrades fix is uploaded with many other fixes and those may cause regressions in other areas in unattended-upgrades.
[Original bug text]
On a 16.04LTS system, the /boot partition will eventually fill with Kernel images, until the point where "apt-get autoremove" can't complete.
This issue has previously been reported as fixed, but it is not fixed:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093
Generally what I see is the final kernel image that fills the drive is incompletely installed (the header package does not make it). "apt-get autoremove" tries to work, but fails. I must manually remove kernel images to free enough space.
I see this on a machine used by my elderly parents, where 'Download and install updates automatically' is set. And on my home machines, where the setting is elsewhere. |
[Impact]
* Update-manager and unattended-upgrades install many kernel packages during the lifetime of a release but does not remove them automatically leading to those packages filling disk space potentially completely filling /boot and making the system unable to install updates or even boot.
* Stable release users are impacted by this bug for years and their systems already collected many autoremovable unused kernel packages, thus they would benefit from backporting the fix greatly.
* The bug is fixed by removing autoremovable (not currently booted) kernel packages when running unattended-upgrades or update-manager. Update manager offers the kernel removals when there are other updates to be installed.
[Test Case]
1. Install kernel packages to be removed, mark them auto-installed and run apt's kernel hook script to make apt consider them autoremovable:
sudo apt install -y linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo apt-mark auto linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
sudo /etc/kernel/postinst.d/apt-auto-removal
2. Also downgrade a package to be upgraded:
sudo apt-get install -y --allow-downgrades ca-certificates=20160104ubuntu1
3. (update-manager). Run update-manager and observe that kernel packages are offered for removal in Details of updates.
sudo update-manager
4. (update-manager) Click on Install Now and observe that the kernel packages are removed.
3. (unattended-upgrades) Run unattended-upgrades manually and observe the removal of the autoremovable kernel packages:
sudo unattended-upgrade -v
[Regression Potential]
The change may cause update-manager or unattanded-upgrades to remove used kernel packages or fail to install other package updates.
[Other Info]
The unattended-upgrades fix is uploaded with many other fixes and those may cause regressions in other areas in unattended-upgrades.
[Original bug text]
On a 16.04LTS system, the /boot partition will eventually fill with Kernel images, until the point where "apt-get autoremove" can't complete.
This issue has previously been reported as fixed, but it is not fixed:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093
Generally what I see is the final kernel image that fills the drive is incompletely installed (the header package does not make it). "apt-get autoremove" tries to work, but fails. I must manually remove kernel images to free enough space.
I see this on a machine used by my elderly parents, where 'Download and install updates automatically' is set. And on my home machines, where the setting is elsewhere. |
|
2018-04-05 12:26:08 |
Jarno Suni |
tags |
full-boot verification-needed verification-needed-artful verification-needed-xenial xenial |
full-boot verification-done-xenial verification-needed verification-needed-artful xenial |
|
2018-05-16 23:48:30 |
Brian Murray |
tags |
full-boot verification-done-xenial verification-needed verification-needed-artful xenial |
full-boot verification-done-artful verification-done-xenial verification-needed xenial |
|
2018-05-16 23:58:39 |
Launchpad Janitor |
update-manager (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-05-16 23:58:51 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-05-16 23:59:14 |
Launchpad Janitor |
update-manager (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-12-03 15:03:38 |
Balint Reczey |
unattended-upgrades (Ubuntu Artful): status |
New |
Won't Fix |
|
2018-12-03 15:04:37 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
New |
Confirmed |
|
2018-12-03 19:15:42 |
Brian Murray |
unattended-upgrades (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2018-12-03 19:15:46 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-12-03 19:15:54 |
Brian Murray |
tags |
full-boot verification-done-artful verification-done-xenial verification-needed xenial |
full-boot verification-done-artful verification-needed verification-needed-xenial xenial |
|
2018-12-04 22:14:59 |
georgebaily |
bug |
|
|
added subscriber georgebaily |
2019-03-13 17:22:02 |
Balint Reczey |
tags |
full-boot verification-done-artful verification-needed verification-needed-xenial xenial |
full-boot verification-done verification-done-artful verification-done-xenial xenial |
|
2019-03-13 17:32:17 |
Richard Willis-Owen |
removed subscriber Richard Willis-Owen |
|
|
|
2019-04-25 10:50:00 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2021-01-20 21:07:25 |
private_lock |
bug watch added |
|
https://bugs.kde.org/show_bug.cgi?id=430296 |
|
2021-01-20 21:07:25 |
private_lock |
bug watch added |
|
https://github.com/hughsie/PackageKit/issues/450 |
|
2023-11-22 15:44:23 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Sebastien Bacher |
2023-11-22 16:19:55 |
Sebastien Bacher |
removed subscriber Sebastien Bacher |
|
|
|