Bug 417774 (full-boot-after-update) - update breaks /boot
Summary: update breaks /boot
Status: RESOLVED UPSTREAM
Alias: full-boot-after-update
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL: https://github.com/hughsie/PackageKit...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-17 06:12 UTC by kdeuser
Modified: 2020-02-17 19:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdeuser 2020-02-17 06:12:47 UTC
SUMMARY
discover doesn't autoremove old images on linux updates and breaks /boot

STEPS TO REPRODUCE
1. update in discover when /boot is almost full of images

OBSERVED RESULT
discover displays "update-initramfs failed" and kernel panics on next boot because it can't mount the image.
booting with an older kernel from advanced options in grub and running `sudo apt autoremove` and `sudo update-initramfs` fixes that

EXPECTED RESULT
discover removes old kernels in /boot and linux works

SOFTWARE/OS VERSIONS
Linux: 5.3.0-28-generic (ubuntu)
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-02-17 19:59:20 UTC
Yikes, that's bad.

This is going to be PackageKit's fault though, not Discover. Please report upstream at https://github.com/hughsie/PackageKit/issues/