Author Topic: Note: ipkg cannot be used concurrently  (Read 1458 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Note: ipkg cannot be used concurrently
« on: August 27, 2004, 09:16:47 am »
I reflashed OZ3.3.6pre1 onto my C750 last night, and in a bit of a rush to install everything (and remove stuff I didnt want), I had two ssh terminals and aqpkg open and doing stuff.

Now it had dawned on me that perhaps running ipkg in more than one terminal was a bad idea, but I hadn't realised that aqpkg holds the status file (I assume) open until it's closed (actually this may not be strictly true - I had just removed some stuff using aqpkg and may well not have pressed the okay button to get rid of the status window).

Anyway with Z in this state I installed a bunch of packages using ssh, and started to get dependency errors. After doing this for a bit I ran 'ipkg status' and only had the 4 packages I'd just installed shown as installed.

As I said, just a note to mention this so no-one else gets caught out.


Si

P.S. I guess that using a lock-file for the ipkg data files is the way to fix this; it ought to be a relatively simple matter - after the write-up! ;-)
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva