NOTE: corrected kubuntu versions.
I was trying to upgrade my kubuntu 18.10 to 19.04 but failed due to a lack of free space on my root partition. I have different partitions for root and home directories. So I tried to free up additional space and according to filelight () utility I have already free space of 5.5GB which would be enough to do the upgrade. However, when I run the command df -h it shows only about 3.9GB of free space.
So, why are the numbers so different? How can I achieve df -h showing the correct size of free space on the root partition?
I think, that the upgrade process internally uses df -h to calculate the amount of free space and that's the reason why cannot upgrade my system.
Any help appreciated. If you have any questions, please ask!
Kind regards, Max.
62 Answers
Thanks for all the comments and hints! I finally fixed the problem using tune2fs by resetting all reserved blocks on my root partition and now df -h also reports 5.5GB of free space
sudo tune2fs -m 0 /dev/sdb1This source also helped me a lot.
The solutio here is:
sudo resize2fs /dev/sda3Dolphin and
df -h /home/Showing the same values
1