I was installing some stuff in a distrobox with `dnf` and got: ``` ... Running transaction check Tra

I was installing some stuff in a distrobox with
dnf
and got:
...
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  installing package nvidia-gpu-firmware-20240312-1.fc39.noarch needs 42MB more space on the /usr/lib/firmware/nvidia filesystem
  installing package linux-firmware-20240312-1.fc39.noarch needs 42MB more space on the /usr/lib/firmware/nvidia filesystem

Error Summary
-------------
Disk Requirements:
   At least 42MB more space needed on the /usr/lib/firmware/nvidia filesystem.
...


and the
dnf
installation failed.

df -h
shows space still left on the ssd, but I'm not sure how is the
/usr
directory mounted:
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay         930G  664G  263G  72% /
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs            32G   84K   32G   1% /dev/shm
efivarfs        128K   59K   65K  48% /sys/firmware/efi/efivars
/dev/dm-0       930G  664G  263G  72% /run/host/var
tmpfs            32G   36K   32G   1% /tmp
tmpfs           6.3G  1.1M  6.3G   1% /etc/hostname
/dev/dm-0       930G  664G  263G  72% /run/host
tmpfs            13G   11M   13G   1% /run/host/run
/dev/nvme0n1p2  974M  142M  766M  16% /run/host/boot
/dev/nvme0n1p1  599M   12M  588M   2% /run/host/boot/efi


Anyone have ideas how to increase space in
/usr
for the distrobox container?
Was this page helpful?