linuxmint / mintupdate

The Linux Mint Update Manager
309 stars 152 forks source link

mintUpdate should check for available space on /boot before updating kernels #740

Open DirkHaar opened 2 years ago

DirkHaar commented 2 years ago

When installing kernel updates, mintUpdate does not check if there is enough space to install the kernel.

Screenshots n/a

To Reproduce Steps to reproduce the behavior:

  1. uninstall some current kernel
  2. fill /boot (e.g. with some nonsense as placeholder for real kernels)
  3. try to install kernel uninstalled in 1)
  4. See error

Expected behavior As /boot usually/often is kept a very small partition (recommendations vary, e.g. 1 GB) it should be checked if there is enough place to store the new kernel, at least via thumb rule.

Distribution:

Software version: 5.8.4

Logs: n/a

Crash report: n/a

Additional context n/a

Locale: n/a