Subject: | CPANPLUS & CPAN reporting -- and acting upon -- module status differently |
Date: | Thu, 27 Sep 2007 07:18:14 -0700 |
To: | bug-CPANPLUS [...] rt.cpan.org |
From: | snowcrash+cpan <schneecrash+cpan [...] gmail.com> |
hi,
I've installed Perl 588, CPANPLUS 0.82 & CPAN 1.92 on both OSX 10.4.10
& FreeBSD 6.2Rp7; this issue is 100% reproducible on
multiple-instances of both platforms.
Checking for available updates with "cpanp", i see,
CPAN Terminal> o
1 6.30 6.003002 Image::Magick JCRISTY
2 0.003001 0.003001 Net::DNS::Resolver::Programmable JMEHNLE
CPAN Terminal> q
Note the 'out of sequence' version paths,
6.30 --> 6.003002
0.003001 --> 0.003001
I've installed latest/up-to-date versions of, where,
Image::Magick was installed from an svn co (r8114) of branch/Image-Magick-6.3.5,
module_info Image::Magick
Name: Image::Magick
Version: 6.3.5
Directory: /usr/local/lib/perl/sitelib/darwin-thread-multi-2level
File: /usr/local/lib/perl/sitelib/darwin-thread-multi-2level/Image/Magick.pm
Core module: no
and, Net::DNS::Resolver::Programmable was installed cpanp,
module_info Net::DNS::Resolver::Programmable
Name: Net::DNS::Resolver::Programmable
Version: 0.003.1
Directory: /usr/local/lib/perl/sitelib
File: /usr/local/lib/perl/sitelib/Net/DNS/Resolver/Programmable.pm
Core module: no
But, checking the same installations with "cpan", i see,
Show quoted text
cpan> r
All modules are up to date for /./
1 installed module has a version number of 0
(use 'o conf show_zero_versions 1' to show them)
1200 installed modules have no parseable version number
(use 'o conf show_unparsable_versions 1' to show them)
Show quoted textcpan>
actually updating with,
cpanp -i Image::Magick Net::DNS::Resolver::Programmable
proceeds without apparent error, but afterwards, nothing's aparently changed,
CPAN Terminal> o
1 6.30 6.003002 Image::Magick JCRISTY
2 0.003001 0.003001 Net::DNS::Resolver::Programmable JMEHNLE
CPAN Terminal> q
I.e., "cpanp",
(a) shows modules that need updating that 'cpan' claims do not
(b) 'cpanp' offers updates to modules that actually decrease, or don't
change at all, the version # at all
(c) 'updates' aren't actually updating modules.