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

jidanni at jidanni.org jidanni at jidanni.org
Thu Nov 24 06:58:11 UTC 2011


Package: cpanminus
Version: 1.5004-1
Severity: wishlist
File: /usr/bin/cpanm

Can't this act like apt and tell that we are already up to date on the
second run?

$ export PERL_CPANM_HOME=/tmp/no-backup/cpanm; cpanm WebService::GData
!
! Can't write to /usr/local/share/perl/5.14.2 and /usr/local/bin: Installing modules to /home/jidanni/perl5
! To turn off this warning, you have to do one of the following:
!   - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.14.2 and /usr/local/bin)
|   - run me with --local-lib option e.g. cpanm --local-lib=~/perl5
!   - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file)
!   - Configure local::lib in your shell to set PERL_MM_OPT etc.
!
--> Working on WebService::GData
Fetching http://search.cpan.org/CPAN/authors/id/S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz ... OK
Configuring WebService-GData-0.0501 ... OK
Building and testing WebService-GData-0.0501 ... OK
Successfully installed WebService-GData-0.0501
1 distribution installed
$ export PERL_CPANM_HOME=/tmp/no-backup/cpanm; cpanm WebService::GData
!
! Can't write to /usr/local/share/perl/5.14.2 and /usr/local/bin: Installing modules to /home/jidanni/perl5
! To turn off this warning, you have to do one of the following:
!   - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.14.2 and /usr/local/bin)
|   - run me with --local-lib option e.g. cpanm --local-lib=~/perl5
!   - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file)
!   - Configure local::lib in your shell to set PERL_MM_OPT etc.
!
--> Working on WebService::GData
Fetching http://search.cpan.org/CPAN/authors/id/S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz ... OK
Configuring WebService-GData-0.0501 ... OK
Building and testing WebService-GData-0.0501 ... OK
Successfully installed WebService-GData-0.0501
1 distribution installed





More information about the pkg-perl-maintainers mailing list