Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: I nuked script.pm. Now postgres don't want to talk to me

by davido (Cardinal)
on Apr 12, 2017 at 15:22 UTC ( [id://1187781]=note: print w/replies, xml ) Need Help??


in reply to I nuked strict.pm. Now postgres don't want to talk to me

Was this system Perl? Is it Debian? If so: (Stack Exchange) Unix & Linux: How can I completely reinstall Perl on Debian without having functional Perl?

It sounds like that's pretty much where you are at.

In the future you may consider leaving system-Perl alone and using perlbrew or plenv. Either one of those would allow you to use a totally different install of Perl (and Perl libraries) for your own projects, and leave the system Perl alone for the system. It does turn out to be a safer "best practice".

Better yet, set up containers in the future.


Dave

  • Comment on Re: I nuked script.pm. Now postgres don't want to talk to me

Replies are listed 'Best First'.
Re^2: I nuked script.pm. Now postgres don't want to talk to me
by pvaldes (Chaplain) on Apr 12, 2017 at 17:16 UTC

    Some notes:

    In order to have the perl commmand working again I had to restore Strict.pm and Tabs.pm (called by diagnostics), chmod o+r them, and restore exec for other (chmod o+x) in several parent directories.

    in order to restore psql I had to reinstall again libsocket-perl to upgrade socket object version, restore Glob.pm, and chmod o+r them

    By now is working and I'm learning, so is a happy end. Revenge against CPAN pending. There is nothing like putting yourself in troubles and out of your commandfort zone sometimes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-24 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found