Bug 2222143

Summary: dnf5 makecache --refresh results in Aborted (core dumped)
Product: [Fedora] Fedora Reporter: raob
Component: dnf5Assignee: rpm-software-management
Status: POST --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: jkolarik, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description raob 2023-07-12 00:28:39 UTC
root@machinename:~# dnf makecache  --refresh 
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot create directory: Not a directory [/var/cache/libdnf5/fastestmirror.cache/attrs]
Aborted (core dumped)


Reproducible: Always

Steps to Reproduce:
1.  See details above.
2.  That's all.
3.


Expected Results:  
Fedora rawhide openh264 (From Cisco) - x86_64                                                                                                                                                                                                                                   2.9 kB/s | 989  B     00:00    
Fedora - Rawhide - Developmental packages for the next Fedora release                                                                                                                                                                                                           169 kB/s |  19 kB     00:00    
Fedora - Modular Rawhide - Developmental packages for the next Fedora release                                                                                                                                                                                                    57 kB/s |  24 kB     00:00    
Metadata cache created.

Comment 1 Jan Kolarik 2023-07-13 11:15:44 UTC
Fixed now by the upstream PR: https://github.com/rpm-software-management/dnf5/pull/717.