Centos 6.5输出的kpm恢复是乱码

时间:2014-09-01 18:16:22

标签: .net centos6 xterm

在Centos 6.5上运行kpm恢复会返回乱码输出:

$ kpm restore
Restoring packages for %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m/vagrant/project.json%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mvagrant%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >= 1.0.0
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mMicrosoft.AspNet.Mvc%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >= 6.0.0
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mNowin.vNext%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >=
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mKestrel%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >= 1.0.0
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mmscorlib%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >=
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mSystem%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >=
Attempting to resolve dependency %?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mSystem.Core%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m >=

1 个答案:

答案 0 :(得分:0)

这是一个与TTY颜色有关的问题,它通过尝试使用颜色较少的不同TERM来修复(我的是xterm-256color):

$ export TERM=xterm-color