{"id":1187,"date":"2020-09-08T21:06:53","date_gmt":"2020-09-08T13:06:53","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=1187"},"modified":"2025-04-01T16:27:45","modified_gmt":"2025-04-01T07:27:45","slug":"h2r6t5scbjuz7we","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2020\/09\/08\/h2r6t5scbjuz7we\/","title":{"rendered":"\u89e3\u51b3- CAN\u2019T EXEC \u201cLOCALE\u201d- NO SUCH FILE OR DIRECTORY AT -USR-SHARE-PERL5-DEBCONF-ENCODING.PM"},"content":{"rendered":"<p>\u95ee\u9898\uff1a<\/p>\n<p>apt-get\u65f6\u51fa\u73b0\u95ee\u9898\uff1a<\/p>\n<p>Can\u2019t exec \u201clocale\u201d: No such file or directory at \/usr\/share\/perl5\/Debconf\/Encoding.pm line 16.<\/p>\n<p>Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at \/usr\/share\/perl5\/Debconf\/Encoding.pm line 17.<\/p>\n<p>dpkg: warning: \u2018ldconfig\u2019 not found in PATH or not executable<\/p>\n<p>dpkg: error: 1 expected program not found in PATH or not executable<\/p>\n<p>Note: root\u2019s PATH should usually contain \/usr\/local\/sbin, \/usr\/sbin and \/sbin<\/p>\n<p>E: Sub-process \/usr\/bin\/dpkg returned an error code (2)<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<p>sudo apt-get download libc-bin<\/p>\n<p>dpkg -x libc-bin*.deb unpackdir\/<\/p>\n<p>sudo cp unpackdir\/sbin\/ldconfig \/sbin\/<\/p>\n<p>sudo apt-get install &#8211;reinstall libc-bin<\/p>\n<p>sudo apt-get -f install<\/p>\n<p>\uff08\u6743\u9650\u4e0d\u591f\u7684\u4f7f\u7528sudo\u5373\u53ef\uff09<\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\uff1a apt-get\u65f6\u51fa\u73b0\u95ee\u9898\uff1a Can\u2019t exec \u201clocale\u201d: No such file or directory at \/usr\/share\/perl5\/Debconf\/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at \/usr\/share\/perl5\/Debconf\/Encoding.pm line 17. dpkg: warning: \u2018ldconfig\u2019 not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root\u2019s &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-1187","post","type-post","status-publish","format-standard","hentry","category-b7fum8vqsuspg2y"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=1187"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1187\/revisions"}],"predecessor-version":[{"id":2152,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1187\/revisions\/2152"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=1187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=1187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=1187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}