Bug#649834: detect if we are already up to date and if so stop

Alessandro Ghedini al3xbio at gmail.com
Mon Nov 28 20:23:05 UTC 2011


On Sat, Nov 26, 2011 at 09:48:43PM +0800, jidanni at jidanni.org wrote:
> >>>>> "AG" == Alessandro Ghedini <al3xbio at gmail.com> writes:
> AG> Did you try using the "--skip-installed" (or "--skip-satisfied") option?
> Didn't help:

I can reproduce your problem if I set the PERL5LIB env variable to nothing. 
To get the version check you should set PERL5LIB to whatever folder 
cpanminus installs to, so that the require function knows where to find the 
modules that cpanm needs to test. E.g.:

$ PERL5LIB=~/perl5/lib/perl5 PERL_CPANM_HOME=/tmp/no-backup/cpanm cpanm WebService::GData

But this is not a bug in cpanminus, it's just how perl and local::lib work,
see "perldoc perlrun" and "perldoc local::lib" for more information (yes,
probably a little note in the cpanm docs would be of some help too).

Let me know if this works or if you already do/have done this and cpanm
still doesn't work so that I try to think something else or just report this
upstream.

Cheers

-- 
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'





More information about the pkg-perl-maintainers mailing list