Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How can I find installed packages in a broken Perlbrew?

by kcott (Archbishop)
on Dec 10, 2022 at 07:31 UTC ( [id://11148708]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can I find installed packages in a broken Perlbrew?
in thread How can I find installed packages in a broken Perlbrew?

"I changed ~/perl5 to ~/perl5-deactivated ... and that allowed me to run perl. ... If I change the directory back to perl5 ..."

Look in your PERLBREW_* environment variables. Perhaps you need to change instances of perl5-deactivated to perl5.

Also look in your ~/.bashrc (or equivalent). Maybe similar changes are needed there.

"~/perl5--deactivated/perlbrew$ bin/perlbrew version"

Is it ~/perl5-deactivated, or ~/perl5--deactivated, or something else?

— Ken

Replies are listed 'Best First'.
Re^4: How can I find installed packages in a broken Perlbrew?
by monsignor (Acolyte) on Dec 10, 2022 at 08:01 UTC

    Hi Ken

    I initially installed perlbrew and it created ~/perl, I did my upgrade and it ran into problems. The way I got things to the point that perl would run was to deactivate perlbrew by changing the name of the ~/perl directory. I didn't change anything else. When I start a shell I get errors because of the statements in the bashrc referencing a directory that doesn't exist.

    I don't know what is causing the library error I was getting. I don't know if just doing a reinstall of perlbrew over top of the old one (i.e. by changing the directory name back to ./perl will fix the problem and keep/upgrade any packages that I had previously installed. That's what I'm looking for guidance on.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found