OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: lardman on August 27, 2004, 09:16:47 am

Title: Note: ipkg cannot be used concurrently
Post by: lardman 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! ;-)