SVN cannot set LC_CTYPE locale

后端 未结 12 2445
醉话见心
醉话见心 2021-01-30 03:39

I started getting the following error whenever i use SVN in my server:

svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_CTYPE is UT         


        
12条回答
  •  野性不改
    2021-01-30 04:23

    I got the issue when I connect to a remote ssh server (ssh is used by svnserve -> svn update command).

    The reason is that the remote server does not have the language pack available which is set in $LANG on the local server.

    You can check the installed language packs by 'locale -a'. The $LANG language must be configured on the remote server.

    E.g.

    Local server: LANG=en_US.UTF-8

    Remote server: locale -a -> only de_DE.UTF-8 is available

    Resolution: Just install missing language pack on remote server: dpkg-reconfigure locales;

    btw: the selected default language does not matter.

提交回复
热议问题