See https://github.com/rpm-software-management/dnf/blob/70118b5500a3f3ab01c681fb76162bd3478978f5/dnf/i18n.py#L85 def setup_locale(): try: dnf.pycomp.setlocale(locale.LC_ALL, '') except locale.Error as e: # default to C locale if we get a failure. print('Failed to set locale, defaulting to C', file=sys.stderr) os.environ['LC_ALL'] = 'C' dnf.pycomp.setlocale(locale.LC_ALL, 'C') Can we please try to defaulting to C.utf-8 instead? That would be more in line with https://fedoraproject.org/wiki/Changes/Reset-locale-if-not-available Thanks.
This needs to be done carefully, there is no C.UTF-8 locale on RHEL 7.
Sure. I was thinking something like: try: dnf.pycomp.setlocale(locale.LC_ALL, '') except locale.Error: try: dnf.pycomp.setlocale(locale.LC_ALL, 'C.utf-8') except locale.Error: dnf.pycomp.setlocale(locale.LC_ALL, 'C')
PR: https://github.com/rpm-software-management/dnf/pull/1377
dnf-4.2.5-1.fc29 libdnf-0.31.0-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2612a121ba
dnf-4.2.5-1.fc29, libdnf-0.31.0-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2612a121ba
No F30 update, just F29?
dnf-4.2.5-1.fc29, libdnf-0.31.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
I see F31 and F29 build (and update), but no F30.
dnf-4.2.5-1.fc30 libdnf-0.31.0-3.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-324f611364
I added this bug to Fedora 30 update now, sorry about the confusion.
dnf-4.2.5-1.fc30, libdnf-0.31.0-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-324f611364
dnf-4.2.5-1.fc30, libdnf-0.31.0-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.