<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ubuntu 更新时提示locale错误的解决方法]]></title><description><![CDATA[<p dir="auto">在更细系统是有时会出现下面的错误</p>
<pre><code>perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_PAPER = "zh_CN.UTF-8",
	LC_ADDRESS = "zh_CN.UTF-8",
	LC_MONETARY = "zh_CN.UTF-8",
	LC_NUMERIC = "zh_CN.UTF-8",
	LC_TELEPHONE = "zh_CN.UTF-8",
	LC_IDENTIFICATION = "zh_CN.UTF-8",
	LC_MEASUREMENT = "zh_CN.UTF-8",
	LC_CTYPE = "en_US.UTF-8",
	LC_TIME = "zh_CN.UTF-8",
	LC_NAME = "zh_CN.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
</code></pre>
<p dir="auto">这是由于系统默认语言没有设置。可以执行下面的指令进行设置</p>
<pre><code>sudo dpkg-reconfigure locales
</code></pre>
<p dir="auto">根据界面中的提示选择语言就可以了。</p>
]]></description><link>http://community.bwbot.org/topic/516/ubuntu-更新时提示locale错误的解决方法</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 22:36:13 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/topic/516.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Aug 2018 01:13:28 GMT</pubDate><ttl>60</ttl></channel></rss>