Isn't Errno.pm a core module? Then why do you have it in /usr/local/share?

The only reason to account for that situation that I can think of is that you installed a new perl version in /usr/local and the system is using this new perl now.

In that case it might help to rename the newer perl to perl5.8.8 (or delete it, since it probably is an alias to perl5.8.8 anyway). Let the system use and update its old perl. In your homedirs ~/bin you can put an alias to perl5.8.8. Provided that your home bin is first in your PATH your non-root scripts will then use the newer perl.

IMPORTANT: The only script that you must call as root with perl5.8.8 instead of the system perl is cpan (if you want the perl modules in /usr/local and not in your homedir). You might even patch the cpan script with 'use 5.8.8' so that you don't forget it.

This should probably also help your cpio upgrade getting through.

This is also the method I would employ on your remote machine. Install a newer perl in /usr/local and make sure through renaming that root and the system doesn't use it. Let the system care for the system perl, only your web scripts (in other words the web server) and the cpan script should use the newer perl.


In reply to Re^3: TT2 and FB between two different installations by jethro
in thread TT2 and FB between two different installations by LesleyB

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.