debinstall #8867 simultaneous ldi not possible [resolved]

I launched two "ldi publish" in parallel and got this

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/arthur/src/public/debinstall/", line 60, in run
    runfunc(options, args, parser)
  File "/home/arthur/src/public/debinstall/", line 54, in run
  File "/home/arthur/src/public/debinstall/", line 308, in process
    acquire_lock(LOCK_FILE, max_try=3, delay=5)
  File "/home/arthur/src/public/logilab/common/", line 252, in acquire_lock
    raise Exception('Unable to acquire %s' % lock_file)
Exception: Unable to acquire /var/lock/debinstall

It would be nice not to have a traceback, or better - be able to do two debinstalls at the same time (on lock per repo?)

done in2.2.4
load left0.000
closed by<not specified>