Activity log for bug #1460396

Date Who What changed Old value New value Message
2015-05-31 09:27:47 Tyler Dinsmoor bug added bug
2015-05-31 09:27:47 Tyler Dinsmoor attachment added update-manger/UpdateManager/Core/utils.py added func. ensure_enough_room_for_kernel() to be used in bugfix. https://bugs.launchpad.net/bugs/1460396/+attachment/4407448/+files/utils.py
2015-05-31 09:31:40 Tyler Dinsmoor description Description: Ubuntu 14.04.2 LTS Release: 14.04 update-manager: Installed: 1:0.196.13 Candidate: 1:0.196.13 Version table: *** 1:0.196.13 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:0.196.11 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages After running Trusty for about a year, I had easily 3GB worth of old kernels sitting in my /boot folder. For users that don't know about pruning old kernel versions, much less what kernels are, this is a problem since update-manager refuses to continue the update process when /boot doesn't have enough space. My friend who I had installed Ubuntu for was complaining about updates not working, so I took a look and this is what was happening. His /boot partition is too small to have so many ~200mb kernel images. We need a user-friendly way to inform the user that this is happening, and then suggest an automated course of action (apt-get remove oldest kernel + ensure at least one previous verified working kernel (such as purge_old_kernels in https://launchpad.net/ubuntu/+source/bikeshed)), and if it fails, a link to detailed instructions on how to remove old kernels manually. Attachment is updated ~/update-manager-0.196.13/UpdateManager/Core/utils.py that includes function ensure_enough_room_for_kernel() that only informs the user if there isn't enough space for a kernel upgrade. It has not been implemented in _main_, I figure the main package devs would want to do that themselves, be it to use for removing the oldest kernel version, or having the user pick from a list of installed kernels which to remove. Thanks. -Tyler Dinsmoor <pappad@airmail.cc> Description: Ubuntu 14.04.2 LTS Release: 14.04 update-manager:   Installed: 1:0.196.13   Candidate: 1:0.196.13   Version table:  *** 1:0.196.13 0         500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages         100 /var/lib/dpkg/status      1:0.196.11 0         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages After running Trusty for about a year, I had easily 3GB worth of old kernels sitting in my /boot folder. For users that don't know about pruning old kernel versions, much less what kernels are, this is a problem since update-manager refuses to continue the update process when /boot doesn't have enough space. My friend who I had installed Ubuntu for was complaining about updates not working, so I took a look and this is what was happening. His /boot partition is too small to have so many ~200mb kernel images. We need a user-friendly way to inform the user that this is happening, and then suggest an automated course of action (apt-get remove oldest kernel + ensure at least one previous verified working kernel (such as purge_old_kernels in https://launchpad.net/ubuntu/+source/bikeshed)), and if it fails, a link to detailed instructions on how to remove old kernels manually. Attachment is updated ~/update-manager-0.196.13/UpdateManager/Core/utils.py that includes function ensure_enough_room_for_kernel() that only informs the user if there isn't enough space for a kernel upgrade. It has not been implemented in _main_, I figure the main package devs would want to do that themselves, be it to use for removing the oldest kernel version, or having the user pick from a list of installed kernels which to remove. Thanks.     -Tyler Dinsmoor <pappad@airmail.cc>
2015-05-31 12:16:57 Ubuntu Foundations Team Bug Bot tags trusty patch trusty
2015-05-31 12:17:06 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2015-05-31 12:43:02 Tyler Dinsmoor attachment added diff output between original and updated utils.py uploaded earlier https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1460396/+attachment/4407537/+files/utils_diff.txt
2015-06-02 15:08:20 Brian Murray update-manager (Ubuntu): status New Triaged
2015-06-02 15:08:23 Brian Murray update-manager (Ubuntu): importance Undecided Medium
2016-05-27 15:54:08 Jarno Suni summary Old kernels filling up /boot, causing failed updates Software Updater does not guide user to remove old kernels when /boot is about to get full, causing failed updates
2016-06-06 14:00:58 Jarno Suni bug added subscriber Jarno Suni
2016-06-10 20:10:21 Peter bug added subscriber Peter
2017-03-20 09:26:57 Jarno Suni summary Software Updater does not guide user to remove old kernels when /boot is about to get full, causing failed updates Software Updater does not guide user to remove excessive kernels when there is too little space on /boot to install a kernel update.
2017-03-20 15:34:32 Peter removed subscriber Peter
2017-09-19 20:07:01 Brian Murray removed subscriber Ubuntu Review Team
2017-09-19 20:07:16 Brian Murray marked as duplicate 1477455