{"id":808,"date":"2021-09-11T12:00:00","date_gmt":"2021-09-11T04:00:00","guid":{"rendered":"https:\/\/cloudbool.com\/archive\/?p=808"},"modified":"2021-09-11T12:00:00","modified_gmt":"2021-09-11T04:00:00","slug":"dpkg-reconfigure-locales","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/dpkg-reconfigure-locales.html","title":{"rendered":"dpkg\u2013reconfigure locales\u547d\u4ee4\u95ee\u9898"},"content":{"rendered":"\n<p>\u4e4b\u524d\u8bb0\u5f55\u4e86<a href=\"https:\/\/cloudbool.com\/archive\/dpkg-reconfigure-command-not-found.html\">dpkg-reconfigure\u547d\u4ee4\u627e\u4e0d\u5230\u95ee\u9898\u89e3\u51b3<\/a>\uff0c\u8bf4\u7684\u662f\u89e3\u51b3dpkg-reconfigure\u547d\u4ee4\u627e\u4e0d\u5230\uff0c\u4f46\u662f\u6700\u8fd1\u770b\u7f51\u7ad9\u7edf\u8ba1\u7684\u5173\u952e\u8bcd\u641c\u7d22\u4fe1\u606f\u53d1\u73b0\uff0c\u5f88\u591a\u670b\u53cb\u5728\u641c\u7d22dpkg\u2013reconfigure locales\u547d\u4ee4\u627e\u4e0d\u5230\u6216\u8005\u4e0d\u5b58\u5728\uff0c\u6211\u8fd9\u91cc\u987a\u4fbf\u8bb0\u5f55\u4e00\u4e0bdpkg\u2013reconfigure locales\u547d\u4ee4\u627e\u4e0d\u5230\u3001dpkg\u2013reconfigure locales\u547d\u4ee4\u4e0d\u5b58\u5728dpkg-reconfigure: locale is not installed\u7b49\u95ee\u9898\u600e\u4e48\u89e3\u51b3\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u5173\u4e8edpkg-reconfigure\u547d\u4ee4\u53ef\u4ee5\u79fb\u6b65\u8fd9\u91cc\uff1a<a href=\"https:\/\/cloudbool.com\/archive\/dpkg-reconfigure-command-not-found.html\">dpkg-reconfigure\u547d\u4ee4\u627e\u4e0d\u5230\u95ee\u9898\u89e3\u51b3<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">locales\u4f5c\u7528<\/h1>\n\n\n\n<p>locales\u5728Debian\/Ubuntu\u53ca\u5176\u884d\u751f\u53d1\u884c\u7248\u4e2d\u7528\u4f5c\u533a\u57df\u8bbe\u7f6e\uff0c\u7528\u4e8e\u8bbe\u7f6e\u7528\u6237\u8bed\u8a00\u3001\u6240\u5728\u5730\u533a\u4ee5\u53ca\u5bf9\u5e94\u7684\u4e00\u4e9b\u533a\u57df\u53d8\u91cf\uff0c\u8fd9\u4e2a\u5305\u5982\u679c\u662f\u4f7f\u7528ISO\u955c\u50cf\u5b89\u88c5\u7684\uff0c\u9ed8\u8ba4\u4f1a\u81ea\u52a8\u5b89\u88c5\u4e0a\uff0c\u5982\u679c\u7cfb\u7edf\u6ca1\u6709\u5305\u542b\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install locales -y<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u8fc7\u5b8c\u5e94\u8be5\u4f1a\u63d0\u793a\u8bbe\u7f6elocales\uff0c\u5982\u679c\u5b89\u88c5\u5b8c\u4e4b\u540e\u60f3\u8981\u66f4\u6539\u76f8\u5173\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u91cd\u65b0\u8bbe\u7f6elocales\u76f8\u5173\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg-reconfigure locales<\/code><\/pre>\n\n\n\n<p>\u6267\u884c\u4e4b\u540e\u53ef\u4ee5\u4f7f\u7528\u7a7a\u683c\u9009\u62e9\uff0cTab\u952e\u8df3\u8f6c\u5149\u6807\uff0cOK\u5b8c\u6210\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">locales\u8bbe\u7f6e\u8fc7\u7a0b<\/h1>\n\n\n\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u56fd\u5185\u7528\u6237\u9009\u62e9en_US.UTF-8\u53cazh_CN.UTF-8\u5373\u53ef\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/x.cloudbool.com\/img\/202109\/YD1As5.png\" alt=\"\"\/><figcaption>Debian\/Ubuntu locales setting<\/figcaption><\/figure>\n\n\n\n<p>\u5982\u679c\u53ea\u662f\u7528\u4f5c\u670d\u52a1\u5668\uff0c\u4e0d\u9700\u8981\u4e2d\u6587\u7684\u8bdd\uff0c\u53ea\u9009\u4e2den_US.UTF-8\u4e5f\u884c\u3002<\/p>\n\n\n\n<p>\u9009\u62e9OK\u4e4b\u540e\uff0c\u4f1a\u8981\u6c42\u4e3a\u7cfb\u7edf\u8bbe\u7f6e\u4e00\u4e2a\u9ed8\u8ba4\u7684locale\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/x.cloudbool.com\/img\/202109\/oR0dtb.png\" alt=\"\"\/><figcaption>Debian\/Ubuntu default locale<\/figcaption><\/figure>\n\n\n\n<p>\u6211\u4e2a\u4eba\u4e60\u60ef\u9009\u62e9en_US.UTF-8\uff0c\u9009\u62e9zh_CN.UTF-8\u53ef\u4ee5\u5c06\u8bed\u8a00\u8bbe\u7f6e\u4e3a\u4e2d\u6587\uff0c\u4f46\u662f\u4e2a\u4eba\u611f\u89c9\u9009\u62e9\u4e2d\u6587\u7684\u8bdd\uff0c\u6709\u4e9b\u7ffb\u8bd1\u770b\u8d77\u6765\u4f1a\u5f88\u5947\u602a\uff0c\u56e0\u4e3a\u6211\u7edd\u5927\u90e8\u5206\u65f6\u95f4\u90fd\u662f\u5c06Linux\u7528\u4f5c\u670d\u52a1\u5668\u7cfb\u7edf\uff0c\u9009\u62e9en_US.UTF-8\u9ed8\u8ba4\u82f1\u6587\u8db3\u591f\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u8bb0\u5f55\u4e86dpkg-reconfigure\u547d\u4ee4\u627e\u4e0d\u5230\u95ee\u9898\u89e3\u51b3\uff0c\u8bf4\u7684\u662f\u89e3\u51b3dpkg-reconfigure\u547d\u4ee4\u627e &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/dpkg-reconfigure-locales.html\"> <span class=\"screen-reader-text\">dpkg\u2013reconfigure locales\u547d\u4ee4\u95ee\u9898<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[34,35,36,37,38,39],"class_list":["post-808","post","type-post","status-publish","format-standard","hentry","category-tech","tag-dpkg-reconfigure-locale-is-not-installed","tag-dpkg-reconfigure-locales-setting","tag-dpkg-reconfigure-locales-","tag-dpkg-reconfigure-locales"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}