Skip Menu |

This queue is for tickets about the K CPAN distribution.

Report information
The Basics
Id: 76317
Status: resolved
Priority: 0/
Queue: K

People
Owner: WHITNEY [...] cpan.org
Requestors: calid1984 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cpan -i does not install latest version of module
This may be a cpan problem, not sure... see this link for ref: http://blogs.perl.org/users/alberto_simoes/2012/01/cpan-and-undef-versions-again.html Expected: cpan -i K installs latest version of module Actual: cpan -i K does not install latest version of module Reproduce: cpan -i K Resolve: ??? cpan reports module up to date (with undef version): $ cpan -i K CPAN: Storable loaded ok (v2.27) Reading '/home/nbkp1nr/.local/share/.cpan/Metadata' Database was generated on Mon, 26 Mar 2012 19:12:09 GMT CPAN: Module::CoreList loaded ok (v2.49_02) K is up to date (undef). $ cpan -D K CPAN: Storable loaded ok (v2.27) Reading '/home/nbkp1nr/.local/share/.cpan/Metadata' Database was generated on Mon, 26 Mar 2012 19:12:09 GMT K ------------------------------------------------------------------------- CPAN: Module::CoreList loaded ok (v2.49_02) (no description) W/WH/WHITNEY/K-0.02.tar.gz /home/nbkp1nr/lib/perl5/x86_64-linux/K.pm Installed: undef CPAN: undef up to date Whitney Jackson (WHITNEY) whitney@cpan.org
From: calid1984 [...] gmail.com
Manually installed latest version, but cpan doesn't understand the version of this one either: $ perldoc -l K /home/nbkp1nr/lib/perl5/x86_64-linux/K.pm $ cpan -D K CPAN: Storable loaded ok (v2.27) Reading '/home/nbkp1nr/.local/share/.cpan/Metadata' Database was generated on Mon, 26 Mar 2012 19:12:09 GMT K ------------------------------------------------------------------------- CPAN: Module::CoreList loaded ok (v2.49_02) (no description) W/WH/WHITNEY/K-0.02.tar.gz /home/nbkp1nr/lib/perl5/x86_64-linux/K.pm Installed: undef CPAN: undef up to date Whitney Jackson (WHITNEY) whitney@cpan.org Just to be sure, checked version with .04 explicitly as first version on include path: $ perldoc -l K /tmp/K-0.04/blib/lib/K.pm $ cpan -D K CPAN: Storable loaded ok (v2.27) Reading '/home/nbkp1nr/.local/share/.cpan/Metadata' Database was generated on Mon, 26 Mar 2012 19:12:09 GMT K ------------------------------------------------------------------------- CPAN: Module::CoreList loaded ok (v2.49_02) (no description) W/WH/WHITNEY/K-0.02.tar.gz /tmp/K-0.04/lib/K.pm Installed: undef CPAN: undef up to date Whitney Jackson (WHITNEY) whitney@cpan.org cpan version 1.9800
I uploaded v0.05 where the version and abstract are specified more completely. Hopefully, that will fix this.
From: calid1984 [...] gmail.com
cpan -D now shows correct version of manually installed module now, but still can't get the version from CPAN correctly. Off a clean install it still installs .02 However, cpan minus does not have this problem, and it correctly grabs the latest version... On Thu Apr 05 01:48:18 2012, WHITNEY wrote: Show quoted text
> I uploaded v0.05 where the version and abstract are specified more > completely. Hopefully, that will fix this.
This is to do with the fact that cpan is using a packages list that is a week and half old.