Is it bit-rot? Does no one care? (Sorry, that's inappropriate).

I spent a lot of time getting all the important and optional dependencies for CPAN.pm installed this evening, including CPAN::SQLite, and its dependency, DBD::SQLite which I had to grab an older release of to get it to compile, but that's another adventure ...).

Now nothing will be recognized as a distribution, and before that state, I saw the following error:

EDIT:

This obviously an error from an instance of cpanplus, I am apparently tired and confused.

[ERROR] Dir '' does not exist Key 'dir' () is of invalid type for 'CPANPLUS::Internals::Utils::_chdi +r' provided by CPANPLUS::Module::Signature::check_signature at /usr/l +ocal/share/perl/5.28.1/CPANPLUS/Module/Signature.pm line 61. [ERROR] Dir '' does not exist Key 'dir' () is of invalid type for 'CPANPLUS::Internals::Utils::_chdi +r' provided by CPANPLUS::Dist::_resolve_prereqs at /usr/local/share/p +erl/5.28.1/CPANPLUS/Dist.pm line 835. Running [/usr/bin/perl -MCPANPLUS::Internals::Utils::Autoflush /root/. +cpanplus/5.28.1/build/25tEDk2MKd/File-TreeBuilder-0.02/Makefile.PL].. +. [ERROR] Could not run '/usr/bin/perl Makefile.PL': -- cannot continue [ERROR] Dir '' does not exist Key 'dir' () is of invalid type for 'CPANPLUS::Internals::Utils::_chdi +r' provided by CPANPLUS::Dist::MM::prepare at /usr/local/share/perl/5 +.28.1/CPANPLUS/Dist/MM.pm line 441. [ERROR] Could not chdir back to start dir '' [ERROR] Unable to create a new distribution object for 'File::TreeBuil +der' -- cannot continue

The genuine cpan error

$ cpan install File::TreeBuilder CPAN: Term::ANSIColor loaded ok (v4.06) CPAN: CPAN::SQLite loaded ok (v0.220) CPAN: YAML::Syck loaded ok (v1.34) Reading 8 yaml files from /home/somian/.cpan/build/ DONE Restored the state of none (in 0.0359 secs) Database was generated on Sat, 21 Dec 2024 02:14:45 GMT Could not expand [File::TreeBuilder]. Check the module name.

I was working on a Debian system and I was hoping for ease and straightfowardness. Aaaaaugh. Back to using cpanplus

EDIT

(which is perfectly good) which is also broken.

Versions info:
perl (v5.28.1), i686-linux-gnu-thread-multi-64int
CPAN v1.64
Dec 21, 2024 at 03:49 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes and eternally young
Donald Fagen -> I.G.Y.
(Slightly modified for inclusiveness)


In reply to My cpan is very broken by Intrepid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.