Subject: | database missing module with undeclared version |
The cpan client cannot find YAML::Any:
--
$ cpan YAML::Any
CPAN: Term::ANSIColor loaded ok (v3.01)
CPAN: File::HomeDir loaded ok (v0.98)
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Wed, 28 Sep 2011 23:40:25 GMT
Warning: Cannot install YAML::Any, don't know what it is.
Try the command
i /YAML::Any/
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.972101)
--
Even though it is listed in 02packages.details.txt.gz:
YAML::Any 0.72 I/IN/INGY/YAML-0.73.tar.gz
However the latest release of YAML (0.76)
the YAML::Any package does not specify a $VERSION.
cpandb does not index the module:
--
*sqlite> SELECT d.dist_name, d.dist_vers, m.mod_name, m.mod_vers FROM
mods m INNER JOIN dists d ON d.dist_id = m.dist_id WHERE d.dist_name =
'YAML';
dist dist_vers mod_ mod_
---- ------------- ---- ----
YAML 0.76 YAML 0.76
YAML 0.76 Test::YAML 0.74
YAML 0.76 YAML::Mo
--
YAML-0.76 actually contains a number of other modules that are not saved
in the DB:
--
*$ zgrep INGY/YAML-0
/home/rando/.cpan/sources/modules/02packages.details.txt.gz
Test::YAML 0.74 I/IN/INGY/YAML-0.76.tar.gz
YAML 0.76 I/IN/INGY/YAML-0.76.tar.gz
YAML::Any 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Base 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Dumper 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Dumper::Base 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Error 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Loader 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Loader::Base 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Marshall 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Mo undef I/IN/INGY/YAML-0.76.tar.gz
YAML::Node 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Tag 0.72 I/IN/INGY/YAML-0.73.tar.gz
YAML::Types 0.72 I/IN/INGY/YAML-0.73.tar.gz
--
See Also: https://metacpan.org/release/YAML
According to the 02packages file YAML::Any used to have a version (back
in 0.73) but it doesn't any more.