Posted By

fontanon on 08/13/08


Tagged

push launchpad bazaar bzr


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Juanje


Breaking the lock to avoid Errno 39 when bazaar-pushing on Launchpad


 / Published in: Bash
 

I've got terrible problems pushing on Launchpad with bazaar. Some errors as Errno 39 made me sick!

There is a simple answer: an atomic bazaar operation was not succesfully completed and a kind of lock prevents to push anymore.

The solution: break that lock!

  1. user@machine:~/bzr/$ cd myproject
  2. user@machine:~/bzr/myproject$ bzr break-lock sftp://launchpad_user@bazaar.launchpad.net/~launchpad_user/+junk/myproject
  3. held by launchpad_user on host machine [process #17538]
  4. locked 49 hours, 22 minutes ago? [y/n]: y
  5. user@machine:~/bzr/myproject$ bzr push sftp://launchpad_user@bazaar.launchpad.net/~launchpad_user/+junk/myproject --use-existing-dir

Report this snippet  

You need to login to post a comment.