删除 openjdk 时 remove 了一大堆软件. 可能由于这个原因导致使用 git svn 命令时出现类似下面的错误.
sam@sam-CW65S:pics$ git svn rebase
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /home/sam/share/perl/5.18.2 /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/sam/share/perl/5.18.2/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /home/sam/share/perl/5.18.2/Git/SVN/Utils.pm line 6.
Compilation failed in require at /home/sam/share/perl/5.18.2/Git/SVN.pm line 33.
BEGIN failed--compilation aborted at /home/sam/share/perl/5.18.2/Git/SVN.pm line 33.
Compilation failed in require at /usr/local/libexec/git-core/git-svn line 25.
BEGIN failed--compilation aborted at /usr/local/libexec/git-core/git-svn line 25.
检查 git, subversion 都已安装好了. 查了一圈. 怀疑是 svn 的某个组件被删除了.
于是 sudo apt-get install subversion-
加上 tab-tab 试了一下, 安装下面这个包, 问题就解决了.
sudo apt-get install subversion-tools