Deploy a Fedora rawhide VM, export TEMPDIR envirnment variable, then dnf install. [root@35b330dc-4283-4c95-821e-dafbdb9fb168 ~]# export TEMPDIR=/tmp/tmp.lfheix [root@35b330dc-4283-4c95-821e-dafbdb9fb168 ~]# dnf install podman skopeo Updating and loading repositories: Beaker tasks 100% | 47.4 MiB/s | 3.7 MiB | 00m00s Repositories loaded. filesystem error: temp_directory_path: No such file or directory [/tmp/tmp.lfheix] [root@35b330dc-4283-4c95-821e-dafbdb9fb168 ~]# rpm -q dnf5 dnf5-5.2.11.0-1.fc43.x86_64 The same configuration works on Fedora 41 and 42. Reproducible: Always Steps to Reproduce: 1.Deploy a Fedora rawhide VM 2. export TEMPDIR envirnment variable 3. dnf install podman skopeo Actual Results: Failed Expected Results: Successful
Did the specified /tmp/tmp.lfheix directory existed?
The error message comes from std::filesystem::temp_directory_path() call to a standard C++ library <https://en.cppreference.com/w/cpp/filesystem/temp_directory_path>. See Notes section there to the list of environment variables affecting the behavior. An error on unusable location for temporary files is a correct behavior. Maybe DNF5 could wrap it to provide localized version, but in general the message is explanatory, I think. What DNF5 should definitely do is documenting the environment variables in dnf5(8) manual.
(In reply to Petr Pisar from comment #1) > Did the specified /tmp/tmp.lfheix directory existed? Thanks for looking this issue. /tmp/tmp.lfheix does not exist in my case.
FEDORA-2025-ef5e387d5d (dnf5-5.2.12.0-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef5e387d5d
FEDORA-2025-7f78913002 (dnf5-5.2.12.0-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-7f78913002
FEDORA-2025-7f78913002 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7f78913002` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7f78913002 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-ef5e387d5d has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ef5e387d5d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef5e387d5d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-7f78913002 (dnf5-5.2.12.0-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-ef5e387d5d (dnf5-5.2.12.0-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.