본문 바로가기
IT

ubuntu server : sudo apt upgrade 할 때마다 나타나는 에러 메시지

by Oh.mogilalia 2019. 7. 6.

sudo apt update 할 때마다 나타나는 에러 메시지
--------------------------------------------------------------------------------

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "ko_KR.UTF-8",
LC_MONETARY = "ko_KR.UTF-8",
LC_ADDRESS = "ko_KR.UTF-8",
LC_TELEPHONE = "ko_KR.UTF-8",
LC_NAME = "ko_KR.UTF-8",
LC_MEASUREMENT = "ko_KR.UTF-8",
LC_IDENTIFICATION = "ko_KR.UTF-8",
LC_NUMERIC = "ko_KR.UTF-8",
LC_PAPER = "ko_KR.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_ALL to default locale: No such file or directory
---------------------------------------------------------------------------------
mogibu@mogibu:/home$ export LANGUAGE=en_US.UTF-8
mogibu@mogibu:/home$ export LC_ALL=en_US.UTF-8
mogibu@mogibu:/home$ locale-gen en_US.UTF-8
Generating locales...
 en_US.UTF-8... up-to-date
Generation complete.
mogibu@mogibu:/home$ dpkg-reconfigure locales
/usr/sbin/dpkg-reconfigure must be run as root
mogibu@mogibu:/home$ sudo dpkg-reconfigure locales
Generating locales...
 en_AG.UTF-8... done
 en_AU.UTF-8... done
 en_BW.UTF-8... done
 en_CA.UTF-8... done
 en_DK.UTF-8... done
 en_GB.UTF-8... done
 en_HK.UTF-8... done
 en_IE.UTF-8... done
 en_IN.UTF-8... done
 en_NG.UTF-8... done
 en_NZ.UTF-8... done
 en_PH.UTF-8... done
 en_SG.UTF-8... done
 en_US.UTF-8... up-to-date
 en_ZA.UTF-8... done
 en_ZM.UTF-8... done
 en_ZW.UTF-8... done
Generation complete.
mogibu@mogibu:/home$

'IT' 카테고리의 다른 글

득템 조립PC  (1) 2019.11.22
certbot renew  (0) 2019.07.06
certbot renew  (0) 2019.06.10
certbot renew 주기  (0) 2019.03.17
워드프레스 업그레이드  (0) 2019.03.16