Optware / Optware-ng

279 stars 52 forks source link

glibc-locale error #236

Closed satfreak closed 6 years ago

satfreak commented 6 years ago

When installing glibc-locale, get the following error.

Configuring glibc-locale.
Generating locale-archive with default locales ... //opt/lib/ipkg/info/glibc-locale.postinst: line 11: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 12: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 13: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 14: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 15: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 16: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 17: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 18: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 19: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 20: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 21: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 22: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 23: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 24: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 25: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 26: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 27: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 28: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 29: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 30: /opt/bin/localedef: No such file or directory
//opt/lib/ipkg/info/glibc-locale.postinst: line 31: /opt/bin/localedef: No such file or directory

Because of this, bash is give a error bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8).

Could this be fixed please, would be great ?

alllexx88 commented 6 years ago

Fixed:

ipkg update
ipkg install glibc-locale

Thanks for the report

P.S. You can delete glibc-locale package after locales are generated

satfreak commented 6 years ago

You`re the best, thanks again.