This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
123691
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
lortav72 [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
2.22



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:

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:

cpan> 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


thanks
lorenzo


Thanks for the report! It's very nice to see a bug reported that is older than 20 years. Fixed in the repository in commit b5f9ae3c.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.