Jump to content
  • 0
Sign in to follow this  
Chris Kurlinski

locale issue ....

Question

Doing a clean installation for my server, with the new profile setup.

But now I'm getting a locale issue...

Not sure how to fix it.

 

/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory

Available targets for the LANG variable:

  [1]   C

  [2]   POSIX

  [3]   en_US.utf8 *

  [ ]   (free form)

 
This is my eselect locale list output.
 
Here is my emerge --info
Portage 2.3.6-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.4, glibc-2.19, 4.0.0-rc6-kurly x86_64)

=================================================================

System uname: Linux-4.0.0-rc6-kurly-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2.0

KiB Mem:    32978660 total,  31607264 free

KiB Swap:    8388604 total,   8388604 free

Timestamp of tree: Unknown

ld GNU ld (Gentoo 2.24 p1.4) 2.24

app-shells/bash:          4.3_p30-r1

dev-lang/perl:            5.20.2

dev-lang/python:          2.7.9-r1000, 3.3.6-r1000

dev-util/cmake:           3.1.0

sys-apps/baselayout:      2.2.0-r6

sys-apps/openrc:          0.12.4-r4

sys-apps/sandbox:         2.6-r2

sys-devel/autoconf:       2.69

sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4, 1.14.1

sys-devel/binutils:       2.24-r3

sys-devel/gcc:            4.8.4

sys-devel/gcc-config:     1.8

sys-devel/libtool:        2.4.3-r2

sys-devel/make:           3.82-r4

sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)

sys-libs/glibc:           2.19

Repositories: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"

ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"

CBUILD="x86_64-pc-linux-gnu"

CFLAGS="-march=corei7-avx -O2 -pipe"

CHOST="x86_64-pc-linux-gnu"

CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"

CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"

CXXFLAGS="-march=corei7-avx -O2 -pipe"

DISTDIR="/usr/portage/distfiles"

FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"

FFLAGS="-march=corei7-avx -O2 -pipe"

GENTOO_MIRRORS="http://distfiles.gentoo.org"

INSTALL_MASK="/usr/lib/systemd/ /lib/systemd/"

LANG="en_US.utf8"

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"

MAKEOPTS="-j25"

PKGDIR="/usr/portage/packages"

PORTAGE_CONFIGROOT="/"

PORTAGE_TMPDIR="/var/tmp"

PORTDIR="/usr/portage"

PORTDIR_OVERLAY=""

SYNC="git://github.com/funtoo/ports-2012.git"

SYNC_USER="root"

USE="X a52 aac aacplus aalib acl adplug alac alsa amd64 amr amrenc apng audiofile berkdb bluray bzip2 cairo cdda cdio cdr celt consolekit cracklib crypt cxx dbus dc1394 dirac djvu dri dts dv dvd dvdr dvdread encode exif faac faad ffmpeg flac fluidsynth fpx gdbm gif gme gpm gsm gtk gtk3 hdri ico iconv icu iec61883 ieee1394 imagemagick introspection ios ipod ipv6 jack jbig jpeg jpeg2k kate lame lcms libass libguess libmpeg2 libnotify libtiger live lock mac mad matroska midi mikmod mjpeg mms mmx mng modplug modules mp3 mpeg mtp mudflap multilib musepack ncurses nls nptl nsplugin nuv ogg openexr opengl openmp opus pam pcre pdf png pnm policykit postproc pppd python quicktime readline resolvconf rtmp rtsp schroedinger session shorten sid sndfile sox speex sse sse2 ssl startup-notification svg taglib tcpd tga theora thunar tiff toolame truetype twolame udev unicode usbredir v4l vorbis vpx wav wavpack webp wildmidi win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

locale ---

 

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE=UTF-8
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=POSIX
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
 
emerge ---
/var/tmp/portage/x11-themes/gentoo-artwork-0.4.2-r1/temp/environment: line 56: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
/var/tmp/portage/media-libs/x264-0.0.20140308/temp/environment: line 71: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.60/temp/environment: line 101: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)

Share this post


Link to post
Share on other sites
  • 0

ok, it looks like you used eselect locale. It does generate the 02locale file. In Funtoo it's not needed, above mentioned locale is set in stage3, i. e present by default. it shouldn't be a problem, though, try to remove the file, run locale-gen. Try again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...