dnf/yum Fails with "Aborted (core dumped)" Due to Empty Module File
Issue
When running a yum
or dnf
command, such as dnf erase wget
, the operation fails with the following error message:
# dnf erase wget
/usr/include/c++/8/bits/basic_string.h:1127: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::front() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&]: Assertion '!empty()' failed.
Aborted (core dumped)
Environment
- Red Hat Enterprise Linux 8
- dnf/yum
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.