Subject: | cpan client -- r command always reports 'All modules are up to date..' |
Date: | Mon, 20 Nov 2017 20:44:29 +0100 |
To: | bug-CPAN [...] rt.cpan.org |
From: | lorenzo taviani <lortav72 [...] gmail.com> |
hello and thanks for watching,
while in cpan interactive program r command prints evrytime a false message:
Show quoted text
cpan> r SDL
Database was generated on Mon, 20 Nov 2017 16:20:27 GMT
All modules are up to date for SDL
While the module is not installed:
cpan -D SDL
..
F/FR/FROGGS/SDL-2.546.tar.gz
Installed:
CPAN: 2.546 Not up to date
Tobias Leich (FROGGS)
froggs@cpan.org
It also prints 'All module are up to date' for not existing modules:
Show quoted textcpan> r NotExistingModule
Database was generated on Mon, 20 Nov 2017 16:20:27 GMT
All modules are up to date for NotExistingModule
This was verified with various strawberry portable:
strawberry-perl-5.26.1.1-32bit-portable
strawberry-perl-5.26.0.2-64bit-portable
strawberry-perl-5.24.2.1-64bit-portable
strawberry-perl-5.22.3.1-64bit-portable
strawberry-perl-5.20.3.3-64bit-portable
All cpan configuarations ( reviewed with o conf ) relative to working dirs
( build_dir cpan_home histfile keep_source_where make
make_install_make_command patch prefs_dir ) are correct; absolute paths
pointing to the current running version. Also @INC is correct for every
portable distribution with strawberry prepended to it. The same for the PATH
environment variable.
The behaviour was referred to also to happen in Linux with perl 5.20
See http://www.perlmonks.org/?node_id=1203824 for more details.
thanks
lorenzo