Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: How to fix Perl Installation after system upgrade

by monsignor (Acolyte)
on Nov 03, 2022 at 20:29 UTC ( #11147955=note: print w/replies, xml ) Need Help??


in reply to Re: How to fix Perl Installation after system upgrade
in thread How to fix Perl Installation after system upgrade

@Corion Thanks very much for the reply.

Now what is the easiest way to fix this?

Can anyone see a problem with simply taking this list of all the installed perl modules and running apt reinstall list-of-modules

You mentioned "XS" -- does that have any connection to xs in the module names (in my list)? Would just reinstalling those fix the issue?

What about perlbrew? I have perlbrew installed.

Do perlbrew config files contain any important data that needs to be preserved? (Other than a list of installed modules?)

How can I compile a list of any modules that are installed in perlbrew?

It seems to me that this should be a mechanical process to recreate a fresh installation, or am I missing something?

Thanks again for the assist!

  • Comment on Re^2: How to fix Perl Installation after system upgrade

Replies are listed 'Best First'.
Re^3: How to fix Perl Installation after system upgrade
by Fletch (Bishop) on Nov 04, 2022 at 05:56 UTC

    The ďautobundleĒ command for CPAN will help with whatís installed but if you installed with the package manager thatís probably as good a place to start; however itís possible youíve possibly gotten your Perl install into a state it (CPAN) may not run.

    This kind of wonkiness is why if youíre doing anything serious with perl itís going to be much more controlled (by which I mean under your control) to make a separate install from the OSí (using perlbrew or from source) and only install after-market modules into that copy (and/or a local::lib dir) using CPAN (or cpanp or cpanm) rather than being subject to the package managerís whims.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2023-06-05 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (25 votes). Check out past polls.

    Notices?