Re: dnf : Failed to set locale, defaulting to C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 4 Nov 2018 19:51:40 +0200
Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx> wrote:

> Hi! I just upgraded fron f28 and when using dnf i get :
> Failed to set locale, defaulting to C
> 
> but i have :
> [root@t420 ~]# rpm -qa | grep glibc-langpack
> glibc-langpack-en-2.28-9.fc29.x86_64
> 
> Does anyone have any idea what's going on?

No idea, you should be good to go.  Some things to try.

What's in /etc/locale.conf?  If it isn't defined properly, you should
set it to the locale you desire.  e.g.
LANG="en_US.UTF-8"

What shows for LANG when you type
locale
at a prompt?  There should be a UTF-8 on the end of that.  I saw that
some people were able to fix this by reinstalling glibc-langpack-en.

You could also try rebuilding the locale def as UTF-8 with
localedef -f UTF-8 -i en_US en_US.UTF-8
if your desired locale is en_US.  Adjust for your locale accordingly.

You could try forcing it with
echo "export LANG=en_US.UTF-8" >> $HOME/.bashrc
so that your shell environment always has lang set to en_US.UTF-8
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux