Not enough space in disk seems to be a common problem while upgrading. My upgrade from 18.04 to 18.10 (in order to eventually go to 19.04) fails because I need 1050 Mb more than available, which I cannot free by erasing kernels.
I've tried sudo apt autoclean
and autoremove
; also I followed this answer, but I don't have a lot of installed kernels, just:
linux-headers-4.15.0-48
linux-headers-4.15.0-48-generic
linux-image-4.15.0-48-generic
Altogether, if purged, I'd free only about 200 Mb (not enough to upgrade).
The upgrade would be implemented in partition /dev/sda6
named /
:
Is resizing the partition the only (painful) solution?
Or how can I let the upgrade in other partition? How could I see what I have in that partition other than that kernel?