Yesterday I discovered my server had problems running apt upgrade. It seemed that the /boot partition was 100% full. I removed some old kernels manually since running apt autoremove didn't work either. Apt apparently needs some free space to work.
Now, /boot is 98% full, which is still critical in my opinion. I have ran apt upgrade and apt autoremove. I rebooted and ran apt autoremove again, but old kernels does not seem to go away automatically. What am I doing wrong? I'm started to wonder if running apt update | apt upgrade is considered dangerous for my server if this could result in an unstable situation. I know for fact that if /boot is full my server won't boot normally. How do I fix this without the need to manually remove old kernels from time to time?
Now, /boot is 98% full, which is still critical in my opinion. I have ran apt upgrade and apt autoremove. I rebooted and ran apt autoremove again, but old kernels does not seem to go away automatically. What am I doing wrong? I'm started to wonder if running apt update | apt upgrade is considered dangerous for my server if this could result in an unstable situation. I know for fact that if /boot is full my server won't boot normally. How do I fix this without the need to manually remove old kernels from time to time?