{"id":972,"date":"2011-12-28T10:01:40","date_gmt":"2011-12-28T09:01:40","guid":{"rendered":"http:\/\/blog.spanger.org\/?p=972"},"modified":"2011-12-28T10:08:32","modified_gmt":"2011-12-28T09:08:32","slug":"debian-updating-perl-locale-error","status":"publish","type":"post","link":"https:\/\/blog.spanger.org\/?p=972","title":{"rendered":"debian updating perl locale error"},"content":{"rendered":"<p>If you have <strong>errors<\/strong> like &#8212;><\/p>\n<p>PROBLEM (ERRORS):<br \/>\nperl: warning: Setting locale failed.<br \/>\nperl: warning: Please check that your locale settings:<br \/>\n\tLANGUAGE = (unset),<br \/>\n\tLC_ALL = (unset),<br \/>\n\tLC_CTYPE = &#8220;UTF-8&#8221;,<br \/>\n\tLANG = &#8220;en_US.UTF-8&#8221;<br \/>\n    are supported and installed on your system.<br \/>\nperl: warning: Falling back to the standard locale (&#8220;C&#8221;).<br \/>\nlocale: Cannot set LC_CTYPE to default locale: No such file or directory<br \/>\nlocale: Cannot set LC_ALL to default locale: No such file or directory<\/p>\n<p>&#8230;.while updating with aptitude update ; aptitude safe-upgrade then the <strong>solution<\/strong> to you problem is &#8211;> <\/p>\n<p>SOLUTION:<\/p>\n<pre><code># export LANGUAGE=en_US.UTF-8\r\n# export LANG=en_US.UTF-8\r\n# export LC_ALL=en_US.UTF-8\r\n# locale-gen en_US.UTF-8<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have errors like &#8212;> PROBLEM (ERRORS): perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = &#8220;UTF-8&#8221;, LANG = &#8220;en_US.UTF-8&#8221; are supported and installed on your system. perl: warning: Falling back to the standard locale (&#8220;C&#8221;). locale: Cannot set LC_CTYPE to default [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[87,90,88,89],"class_list":["post-972","post","type-post","status-publish","format-standard","hentry","category-linux-stuff","tag-export","tag-locale","tag-locale-gen","tag-perl"],"_links":{"self":[{"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=972"}],"version-history":[{"count":7,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/posts\/972\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=\/wp\/v2\/posts\/972\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/blog.spanger.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.spanger.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}