(Now I need a different message and to remember to uncheck encryption.)
Earlier today I ran setup.exe to update Cygwin and packages. Now when I
try to use git add -p (one of its iterative modes) I get an error from
Perl (I assume) that it cannot find Error.pm in @INC
(I should really learn to not update things)
Here's the full output:
$ git add -p
Can't locate Error.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 .) at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
Compilation failed in require at /usr/libexec/git-core/git-add--interactive line 7.
BEGIN failed--compilation aborted at /usr/libexec/git-core/git-add--interactive line 7.
I have seen large changes regarding Perl on the cygwin-announce list so
perhaps it was split off into some other package. I searched for error
in setup.exe and saw that I do have perl-Error installed.
Can anyone help me try to solve this?