Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: CPAN error: There seems to be running another CPAN process

by ferreira (Chaplain)
on Jun 26, 2007 at 19:23 UTC ( [id://623473]=note: print w/replies, xml ) Need Help??


in reply to CPAN error: There seems to be running another CPAN process

I don't think your fears are justified: I saw it happen a lot. It may happen when you kill the cpan script abruptly ("kill -9") or even shutdown the machine without leaving the shell. The lock file remains there and you may overwrite it without consequences.

It there is really another CPAN process alive, you may look for it in the process list and resume it from there. No horrendous thing comes from overwriting the lockfile. If something gets corrupt, it's only at CPAN local directory (which you find via "o conf cpan_home" and may clean up from bad files at your wish).

As a side note, the latest CPAN (1.902) is even better and offers a degraded mode to let you in without overwriting the lockfile.

  • Comment on Re: CPAN error: There seems to be running another CPAN process

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-26 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found