Description of problem: I have followed https://fedoraproject.org/wiki/QA:Testcase_Workstation_Graphical_Upgrade and tried to download packages on a machine with low disk space (not enough to download all packages). I was not warned about insufficient disk space and GNOME Software started downloading packages. When the disk space ran out, GNOME Software announced an error "Sorry, this did not work" without any helpful details (not even saying this is about insufficient disk space). The packages were downloaded as root, so it really consumed all available space, including the 5% extra space usually reserved for root. The user doesn't seem to have any means to clean the PackageKit cache, so the computer might have serious issues working (or even logging in into desktop the next time it boots), unless the user immediately removes some of his/her files. Version-Release number of selected component (if applicable): gnome-software-3.20.3-0.191.20160425git.fc23.x86_64 libhif-0.2.3-0.145.20160427git.fc23.x86_64 PackageKit-1.1.1-1.fc23.x86_64 How reproducible: always Steps to Reproduce: 1. make sure you have low disk space on disk (e.g. 200MB) 2. click Download in gnome-software 3. see no warning, watch the disk space go to 0 (and wait a bit further until the root-reserved space is also filled up), and see gnome-software say "that didn't work" Actual results: user is not warned about insufficient disk space prior to download Expected results: user is warned about insufficient disk space prior to download, or the download is downright prevented
Created attachment 1157847 [details] error screenshot (details expanded)
libhif-0.2.2-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b1f3f0e14
libhif-0.2.2-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fd3bae6fc7
libhif-0.2.2-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fd3bae6fc7
libhif-0.2.2-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b1f3f0e14
libhif-0.2.2-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Tested with: PackageKit-1.1.1-2.fc23 libgusb-0.2.9-1.fc23 libhif-0.2.2-4.fc23 gnome-software-3.20.3-1.fc23 libappstream-glib-0.5.14-1.fc23 json-glib-1.2.0-1.fc23 The insufficient disk space is now checked when Download button is pressed and low space is correctly announced. We will want to fix this in F23 as well, though, reopening.
Verified fixed with libhif-0.2.2-4.fc23.
libhif-0.2.2-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.