Bug 2222143 - dnf5 makecache --refresh results in Aborted (core dumped)
Summary: dnf5 makecache --refresh results in Aborted (core dumped)
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-12 00:28 UTC by raob
Modified: 2023-07-13 11:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.