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

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

by ferreira (Chaplain)
on Jun 26, 2007 at 19:23 UTC ( #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
Node Status?
node history
Node Type: note [id://623473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2020-10-31 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?