perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "zh_TW.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").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
網路上看到很多解決方法而我是這樣解的...
到/etc/default 編輯 locale 前必須先更改權限(777很危險之後再改回來)
ubuntu@ip-172-31-28-55:/etc/default$ sudo chmod 777 locale
ubuntu@ip-172-31-28-55:/etc/default$ vim locale
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
再執行就過了....卡好久shot
沒有留言:
張貼留言