I installed debian for a friend who is not techy. They've been accepting the updates as and when offered. Now their /boot is full. I'm assuming they need to run

apt autoremove --purge

Or similar. But is there a way you automate this? Otherwise debian with a boot partition seems to have a self destruct timer!

Advice appreciated!

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 weeks ago (1 child)

I think the OP is asking why Debian doesn't do it automatically. It can't just remove the old kernel immediately, because what if the new one fails to boot or otherwise doesn't work? It's good to keep an older kernel around so you can go back to it if necessary. In theory, they could implement some logic that automatically removes older kernels while keeping the latest one or two untouched.

But generally I agree it's the user's responsibility to make sure they have enough disk space available and to clean up when necessary.

  • source
  • parent
  • hideshow 1 child comment