So I may or may not have broken my Perl/CPAN installation. I honestly don't use either that much, but I need to use it now to run a game server on my VPS. The instructions say to downgrade Perl to 5.14.4, with these commands:

sudo cpan App::perlbrew perlbrew init perlbrew install perl-5.14.4 perlbrew switch perl-5.14.4
I ran the first one, and I get this error:
Loading internal null logger. Install Log::Log4perl for logging messag +es Reading '/Metadata' Database was generated on Mon, 01 Apr 2019 07:17:03 GMT Running install for module 'App::perlbrew' Checksum for yes/authors/id/G/GU/GUGOD/App-perlbrew-0.86.tar.gz ok Cannot gzopen yes/authors/id/G/GU/GUGOD/App-perlbrew-0.86.tar.gz: cann +ot open file 'yes/authors/id/G/GU/GUGOD/App-perlbrew-0.86.tar.gz': No + such file or directory Cannot gzopen yes/authors/id/G/GU/GUGOD/App-perlbrew-0.86.tar.gz: cann +ot open file 'yes/authors/id/G/GU/GUGOD/App-perlbrew-0.86.tar.gz': No + such file or directory Directory 'yes/GUGOD-lhfQ4l' has gone. Cannot continue.
I tried to do this same thing a couple months ago, and when I was configuring CPAN, I kind of just held enter for most of the options. It's foggy, but I think some of those were asking which the directory to save stuff in was, to which I guess the default answer was just "yes". This broke cpan already so I gave up on the project, then a few months later I must've deleted the "yes" folder it made. I can no longer use CPAN. I tried uninstalling Perl but I guess that breaks stuff on Ubuntu so I didn't. A few months later, I'd like to try to install this game server again, but I'm running into the same issue. How do I fix my CPAN installation?


In reply to Fixing my CPAN installation by IoIxD

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.