In retrospect, it is not surprising the that 'yum update perl\*' replaced modules we upgraded or installed in /usr/lib/perl5/5.8.8. I would like to be able to patch without changing the modules our developers use.

Is installing modules in site_perl by setting installdir=site sufficient protection or are there module elements that will still be clobbered by Red Hat? Using site_perl keeps the modules in the default @INC path.

Is there an automated way to get the source files of the installed modules?

Cpan shell settings.

Developers' Requirements

Environment RHEL 5.6-5.8. Linux 2.6.18-308.el5 x86_64 x86_64 x86_64 GNU/Linux perl, v5.8.8 built for x86_64-linux-thread-multi
root# yum list installed perl\* Loaded plugins: downloadonly, rhnplugin, security, verify Installed Packages perl.x86_64 4:5.8.8-32.el5_5.2 perl-BSD-Resource.x86_64 1.28-1.fc6.1 perl-Compress-Zlib.x86_64 1.42-1.fc6 perl-Convert-ASN1.noarch 0.20-1.1 perl-DBD-MySQL.x86_64 3.0007-2.el5 perl-DBI.x86_64 1.52-2.el5 perl-HTML-Parser.x86_64 3.55-1.fc6 perl-HTML-Tagset.noarch 3.10-2.1.1 perl-IO-Socket-SSL.noarch 1.01-1.fc6 perl-LDAP.noarch 1:0.33-3.fc6 perl-Net-SSLeay.x86_64 1.30-4.fc6 perl-SGMLSpm.noarch 1.03ii-16.2.1 perl-String-CRC32.x86_64 1.4-2.fc6 perl-TermReadKey.x86_64 2.30-4.el5 perl-URI.noarch 1.35-3 perl-XML-NamespaceSupport.noarch 1.09-1.2.1 perl-XML-Parser.x86_64 2.34-6.1.2.2.1 perl-XML-SAX.noarch 0.14-8 perl-libwww-perl.noarch 5.805-1.1.1 perl-libxml-perl.noarch 0.08-1.2.1

In reply to How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations? by Perm

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.