When I try to run sudo dnf update from the console, for example, I get the result

Failed to set locale, defaulting to C

and many lines of incomprehensible when. How can this be fixed?

    1 answer 1

    Try export LC_ALL="C" in the console. This will solve your problem, but only for the current session.

    To solve this problem permanently, you can open the /etc/profile file and add export LC_ALL="C" at the very top