This is a feature.
When you install a distribution Foo, the dependencies of Foo are not automatically updated to the latest as long as it is satisfied (if Foo requires Bar 0.3 and if you have Bar 0.4, CPAN/CPANPLUS/cpanm won't update it to the latest of Bar).
That's exactly what --installdeps does.
--
Tatsuhiko Miyagawa
On Saturday, March 10, 2012 at 9:38 AM, Jean Véronis via RT wrote:
Show quoted text> Sat Mar 10 12:38:32 2012: Request 75674 was acted upon.
> Transaction: Ticket created by jeanv
> Queue: App-cpanminus
> Subject: installdeps doesn't look for most recent versions
> Broken in: 1.5007
> Severity: Normal
> Owner: Nobody
> Requestors: jean@veronis.fr (mailto:jean@veronis.fr)
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=75674 >
>
>
> I am not sure that this is a bug, but the behavior is not the one I expected. When you type
>
> cpanm --installdeps .
>
> it seems that cpanm doesn't try to install the lastest versions of modules that are already
> installed. I expected the command to behave like -i, i.e. install the latest.
>
> Apologies if I missed something or misundestood the documentation.