Description of problem: I have /var/cache mounted as tmpfs, as it turned out, it's not big enough when trying to install kernel-debug package and dnf keeps downloading it in an endless loop. Yum handles this situation gracefully and tells me there is not enough space. Version-Release number of selected component (if applicable): dnf-0.3.11-3.git7bdc9e1.fc19.noarch How reproducible: 100% Steps to Reproduce: 1. mount /var/cache (in my case 512M) 2. try to install kernel-debug (or any other big package) 3. watch it loop! Actual results: endless loop Expected results: what yum does
Zdenek this seems to be a download thing would you take a look? Thanks!
This is what yum says: Error downloading packages: 1:akmod-nvidia-325.15-1.fc19.1.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/19/rpmfusion-nonfree-updates/packages * free 6.5 M * needed 8.3 M kernel-debug-devel-3.11.6-200.fc19.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/19/updates/packages * free 6.5 M * needed 8.4 M 1:xorg-x11-drv-nvidia-libs-325.15-1.fc19.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/19/rpmfusion-nonfree-updates/packages * free 6.5 M * needed 21 M
Yep, there's no free space check in dnf.. I wonder if we should add it, or just improve the error handling (that's mostly librepo stuff). In general, other programs might eat disk space just after we run the check, so it's not sufficient.
Fixed in head: https://github.com/Tojaj/librepo/commit/45318a31d1f98ab923848adaef758c57edd8dfbc
I guess this can be closed now, Tomas?
librepo-1.0.0-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/librepo-1.0.0-4.fc19
Package librepo-1.0.0-4.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing librepo-1.0.0-4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1971/librepo-1.0.0-4.fc19 then log in and leave karma (feedback).
librepo-1.0.0-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.