I am attempting to update my KDE Fedora. When I run Discover and check updates, it states 1,038 packages will be upgrade 5.6 Gib. However, I am unable to install the updates “Not enough space to perform the update; only 501..2 MiB space are available”.
I am running this on a VM so enlarged the disk to 70Gb (adding over 10Gb) but the problem remained. How do I solve this issue so I can update? Thanks.
It looks like the virtual disk may have been expanded, but the partition/filesystem itself may not have been resized yet. The outputs above will show whether you are using Btrfs, ext4, XFS, or LVM, so we can suggest the correct resize command safely.
Thanks for your help. I feel I had a “Homer Simpson” moment since I am new to Fedora (I come from the Windows world).
It turns out that Fedora never installed on the virtual hard disk since the “Install to Hard Disk” wizard never created a partition. Once I created a 70Gb partition and volume, I installed Fedora and restarted. Now I have tons of space and was able to install all 1,038 updates!
I did exactly what you stated multiple times but it was never installing on the virtual disk until I created the partition. I stupidly assumed the installer/wizard would create the partition but it does not.
There might be some mixup in terminoligy. For a typical installation on a Virtual Machine you get
[root@test-kde ~]# lsblk /dev/vda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
vda 253:0 0 19G 0 disk
├─vda1 253:1 0 600M 0 part /boot/efi
├─vda2 253:2 0 2G 0 part /boot
├─vda3 253:3 0 13.5G 0 part /home
│ /
└─vda4 253:4 0 2.9G 0 part
[root@test-kde ~]#
vda is the disk unit that you create when you create the virtual machine. vda1, vda2, vda3 and vda4 are the partitions and they will normally be created by the os installer. Typically, the installer will create 3 partitions: one for the ESP, one for grub2 and finally one for the operating system itself.
The Fedora installer will not normally use partitions which already exists on the disk before installing, but you could if you know what you are doing.