学无止境
分类: 其他UNIX
2013-09-11 16:00:48
使用swinstall安装depot包时报错,GUI或TUI无法启动,设置了LANG=C仍然不行。
host1[#/]export LANG=C
host1[#/]swinstall -s /tmp/jdk.depot
NOTE: The interactive UI was invoked, since no software was
specified
ERROR: Either Graphic User Interface(GUI) or Terminal User
Interface(TUI) cannot be started. In order to execute this
command, you have to modify your DISPLAY or use English
version TUI with LANG="" or LANG=C.
检查了环境变量,发现设置了以下环境变量:
LC_ALL=zh_CN.GB18030
将该环境变量unset,重新执行swinstall即可。
unset LC_ALL