2016-09-17 08:43:35 |
Jarno Suni |
bug |
|
|
added bug |
2016-09-17 08:44:15 |
Jarno Suni |
description |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-New-Unused-Dependencie "true";
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-21 19:06:16 |
Jarno Suni |
description |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-21 19:08:50 |
Jarno Suni |
summary |
Unable to remove packages that become unused in conjunction with updating by other software |
Unable to automatically remove packages that become unused in conjunction with updating by other software |
|
2016-09-21 19:37:08 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
New |
Confirmed |
|
2016-09-27 23:01:00 |
Alberto Salvia Novella |
unattended-upgrades (Ubuntu): importance |
Undecided |
High |
|
2016-12-14 21:47:46 |
Brian Murray |
tags |
apport-bug i386 xenial |
apport-bug i386 rls-z-incoming xenial |
|
2017-05-01 18:10:06 |
Brian Murray |
tags |
apport-bug i386 rls-z-incoming xenial |
apport-bug i386 rls-aa-incoming xenial |
|
2017-06-09 19:11:07 |
Brian Murray |
nominated for series |
|
Ubuntu Artful |
|
2017-06-09 19:11:07 |
Brian Murray |
bug task added |
|
unattended-upgrades (Ubuntu Artful) |
|
2017-06-09 19:11:26 |
Brian Murray |
tags |
apport-bug i386 rls-aa-incoming xenial |
apport-bug i386 xenial |
|
2017-06-22 15:32:34 |
Steve Langasek |
unattended-upgrades (Ubuntu Artful): assignee |
|
Steve Langasek (vorlon) |
|
2017-06-22 15:32:55 |
Steve Langasek |
unattended-upgrades (Ubuntu Artful): assignee |
Steve Langasek (vorlon) |
Canonical Foundations Team (canonical-foundations) |
|
2017-06-29 14:29:32 |
Pavel Malyshev |
bug |
|
|
added subscriber Pavel Malyshev |
2017-08-05 11:47:34 |
JohnWashington |
bug |
|
|
added subscriber JohnWashington |
2017-09-11 16:58:53 |
Brian Murray |
unattended-upgrades (Ubuntu Artful): assignee |
Canonical Foundations Team (canonical-foundations) |
Balint Reczey (rbalint) |
|
2017-09-12 10:30:20 |
Balint Reczey |
unattended-upgrades (Ubuntu Artful): status |
Confirmed |
Opinion |
|
2017-09-13 15:23:20 |
Balint Reczey |
bug task added |
|
update-manager (Ubuntu) |
|
2017-09-18 03:47:44 |
Jarno Suni |
summary |
Unable to automatically remove packages that become unused in conjunction with updating by other software |
By default settings unattended-upgrade is unable to automatically remove packages that become unused in conjunction with updating by other software. |
|
2017-09-18 03:50:52 |
Jarno Suni |
description |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2017-09-18 04:01:03 |
Jarno Suni |
description |
When using default settings for unattended-upgrades i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2017-09-18 04:02:24 |
Jarno Suni |
unattended-upgrades (Ubuntu Artful): status |
Opinion |
New |
|
2017-09-18 04:03:39 |
Jarno Suni |
bug task added |
|
apt (Ubuntu) |
|
2017-09-18 04:04:23 |
Jarno Suni |
bug task added |
|
gnome-software (Ubuntu) |
|
2017-09-19 17:33:20 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2017-09-20 17:15:06 |
Jarno Suni |
tags |
apport-bug i386 xenial |
apport-bug full-boot i386 xenial |
|
2017-09-29 17:26:03 |
Francis Ginther |
tags |
apport-bug full-boot i386 xenial |
apport-bug full-boot i386 id-597a833ca49ff66291d34705 xenial |
|
2017-10-04 11:24:02 |
Iain Lane |
gnome-software (Ubuntu Artful): status |
New |
Invalid |
|
2017-10-25 14:27:56 |
Balint Reczey |
summary |
By default settings unattended-upgrade is unable to automatically remove packages that become unused in conjunction with updating by other software. |
By default settings unattended-upgrade does not automatically remove packages that become unused in conjunction with updating by other software |
|
2017-10-25 14:28:14 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
New |
Confirmed |
|
2017-10-25 14:28:21 |
Balint Reczey |
unattended-upgrades (Ubuntu Artful): status |
New |
Confirmed |
|
2017-10-25 14:30:13 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Confirmed |
Opinion |
|
2017-10-25 14:30:21 |
Balint Reczey |
unattended-upgrades (Ubuntu Artful): status |
Confirmed |
Opinion |
|
2018-01-18 16:01:50 |
Balint Reczey |
update-manager (Ubuntu): assignee |
|
Balint Reczey (rbalint) |
|
2018-01-18 16:01:55 |
Balint Reczey |
update-manager (Ubuntu Artful): assignee |
|
Balint Reczey (rbalint) |
|
2018-01-18 16:02:00 |
Balint Reczey |
update-manager (Ubuntu): status |
New |
In Progress |
|
2018-01-18 16:02:05 |
Balint Reczey |
update-manager (Ubuntu Artful): status |
New |
Confirmed |
|
2018-01-18 16:02:09 |
Balint Reczey |
update-manager (Ubuntu Artful): status |
Confirmed |
In Progress |
|
2018-02-08 16:28:33 |
Launchpad Janitor |
apt (Ubuntu): status |
New |
Confirmed |
|
2018-02-08 16:28:33 |
Launchpad Janitor |
apt (Ubuntu Artful): status |
New |
Confirmed |
|
2018-02-12 22:23:07 |
Chris Good |
bug |
|
|
added subscriber Chris Good |
2018-02-14 08:45:24 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Opinion |
In Progress |
|
2018-02-14 08:45:36 |
Balint Reczey |
unattended-upgrades (Ubuntu Artful): status |
Opinion |
In Progress |
|
2018-02-15 19:50:38 |
Francis Ginther |
tags |
apport-bug full-boot i386 id-597a833ca49ff66291d34705 xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 xenial |
|
2018-02-16 20:07:50 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
In Progress |
Fix Committed |
|
2018-03-01 16:32:49 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
Fix Committed |
Fix Released |
|
2018-03-22 00:52:41 |
Launchpad Janitor |
update-manager (Ubuntu): status |
In Progress |
Fix Released |
|
2018-03-27 19:08:01 |
Balint Reczey |
description |
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
[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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2018-03-29 16:51:55 |
Brian Murray |
update-manager (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-03-29 16:51:58 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-03-29 16:52:00 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-03-29 16:52:06 |
Brian Murray |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-needed verification-needed-artful xenial |
|
2018-03-29 16:54:09 |
Brian Murray |
update-manager (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-03-29 16:54:16 |
Brian Murray |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-needed verification-needed-artful xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-needed verification-needed-artful verification-needed-xenial xenial |
|
2018-03-30 13:14:14 |
Jarno Suni |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-needed verification-needed-artful verification-needed-xenial xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-failed-xenial verification-needed verification-needed-artful xenial |
|
2018-04-03 10:48:23 |
Balint Reczey |
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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
[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, the fix comes in an update of u-u) 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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2018-04-03 11:43:12 |
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, the fix comes in an update of u-u) 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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
[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, the fix comes in an update of u-u) 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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2018-04-04 06:48:10 |
Jarno Suni |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-failed-xenial verification-needed verification-needed-artful xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done-xenial verification-needed verification-needed-artful xenial |
|
2018-04-11 07:09:35 |
Mossroy |
bug |
|
|
added subscriber Mossroy |
2018-05-16 23:46:24 |
Brian Murray |
attachment added |
|
bug-1624644-verification.png https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1624644/+attachment/5140527/+files/bug-1624644-verification.png |
|
2018-05-16 23:46:41 |
Brian Murray |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done-xenial verification-needed verification-needed-artful xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 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:49 |
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 17:51:23 |
Brian Murray |
unattended-upgrades (Ubuntu Artful): status |
In Progress |
Won't Fix |
|
2018-12-03 19:14:42 |
Brian Murray |
unattended-upgrades (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-12-03 19:14:44 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-12-03 19:14:52 |
Brian Murray |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done-artful verification-done-xenial verification-needed xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done-artful verification-needed verification-needed-xenial xenial |
|
2019-03-13 17:18:48 |
Balint Reczey |
tags |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done-artful verification-needed verification-needed-xenial xenial |
apport-bug full-boot i386 id-59653842b438d4859259928d id-597a833ca49ff66291d34705 verification-done verification-done-artful verification-done-xenial xenial |
|
2019-03-14 03:54:30 |
Mathew Hodson |
bug task deleted |
gnome-software (Ubuntu Artful) |
|
|
2019-03-14 03:54:40 |
Mathew Hodson |
bug task deleted |
gnome-software (Ubuntu) |
|
|
2019-03-14 03:54:53 |
Mathew Hodson |
unattended-upgrades (Ubuntu Xenial): importance |
Undecided |
High |
|
2019-03-14 03:58:19 |
Mathew Hodson |
bug task deleted |
apt (Ubuntu Artful) |
|
|
2019-03-14 03:58:26 |
Mathew Hodson |
bug task deleted |
apt (Ubuntu) |
|
|
2019-03-18 01:18:24 |
Jarno Suni |
summary |
By default settings unattended-upgrade does not automatically remove packages that become unused in conjunction with updating by other software |
By default settings unattended-upgrade does not automatically remove kernel packages that become unused in conjunction with updating by other software |
|
2019-03-18 11:35:17 |
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 --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, the fix comes in an update of u-u) 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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
[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]
Note: test either update-manager or unattended-upgrades, not both at the same time. If you remove unused kernels by the former, you can not test the function in the latter.
1. Install kernel packages to be removed, mark them auto-installed and run apt's kernel hook script to make apt consider them autoremovable and simulate apt autoremove to get list of autoremovable packages:
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
apt autoremove --simulate
2. (for update-manager; add something for it to update as update-manager will not show removable packages, if there is not something to update, right?) 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.
2. (unattended-upgrades, the fix comes in an update of u-u) 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]
When using default settings for unattended-upgrade i.e.
Unattended-Upgrade::Remove-Unused-Dependencies "false";
# default "false"
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
# default "true"
in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
unattended-upgrade is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because unattended-upgrade compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.
Consequently, if user installs new kernels using e.g. update-manager, the excessive kernels will not be removed by unattended-upgrade, and eventually (small) /boot will become full.
Expected behavior: handle removing of unused packages differently at least until other package management software installed by default can handle removing of new unused packages.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: XFCE
Date: Sat Sep 17 11:28:44 2016
InstallationDate: Installed on 2016-09-05 (11 days ago)
InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-04-25 10:50:00 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2023-11-22 15:44:22 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Sebastien Bacher |
2023-11-22 16:19:59 |
Sebastien Bacher |
removed subscriber Sebastien Bacher |
|
|
|