{"id":111,"date":"2012-08-08T13:57:55","date_gmt":"2012-08-08T16:57:55","guid":{"rendered":"http:\/\/www.l9web.com.br\/blog\/?p=111"},"modified":"2020-01-16T21:07:43","modified_gmt":"2020-01-17T00:07:43","slug":"perl-warning-setting-locale-failed","status":"publish","type":"post","link":"https:\/\/www.l9web.com.br\/blog\/?p=111","title":{"rendered":"perl: warning: Setting locale failed."},"content":{"rendered":"<p>O problema: Toda a vez que tentava instalar algo com o apt-get apareciam algumas mensagens:<\/p>\n<p>erl: warning: Setting locale failed.<br \/>\nperl: warning: Please check that your locale settings:<br \/>\nLANGUAGE = (unset),<br \/>\nLC_ALL = (unset),<br \/>\nLANG = &#8220;en_US.UTF-8&#8221;<br \/>\nare 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_MESSAGES 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>Eis a solu\u00e7\u00e3o, no console:<\/p>\n<p># locale-gen pt_BR pt_BR.UTF-8<\/p>\n<p>E depois:<\/p>\n<p># dpkg-reconfigure locales<\/p>\n<p><strong>Fonte e cr\u00e9ditos<\/strong>: http:\/\/pequenotux.blogspot.com.br\/2010\/03\/perl-warning-setting-locale-failed.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O problema: Toda a vez que tentava instalar algo com o apt-get apareciam algumas mensagens: erl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = &#8220;en_US.UTF-8&#8221; are supported and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[46,84,114,115,116,122,150,172,173,196],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-linux","tag-cannot","tag-failed","tag-lc_all","tag-lc_ctype","tag-lc_messages","tag-locale","tag-perl","tag-set","tag-setting","tag-warning"],"_links":{"self":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111"}],"collection":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":1,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}