在嘗試git add -i
導致以下錯誤,當(1.8.1.2)錯誤:Git的交互方式將
Can't locate Error.pm in @INC (@INC contains: /usr/share/perl/5.14.2
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl
.) at /usr/share/perl5/Git.pm line 101.
BEGIN failed--compilation aborted at /usr/share/perl5/Git.pm line 101.
Compilation failed in require at /usr/lib/git-core/git-add--interactive line 7.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-add--interactive line 7.
我已經在所有添加文件手動或任何其他git的操作過程中,沒有任何問題是Perl是不是找到Error.pm
的正確版本,或者它沒有附帶我的git軟件包。
我還沒有嘗試在一段時間內做一個交互式添加,所以我不能說這是什麼時候開始的。
@uDaY顯然,我必須等待2天才能接受我自己的回答。 –
s/be'cpan Error.pm'? – cerberos
@cerberos是的,無論是用'cpan'還是'cpanm',只要你安裝了Error.pm就可以再次工作。 :-) –