At Sat, 8 Jul 2000 20:10:51 -0700, Joey Hess <joeyh@debian.org> wrote: > > Fumitoshi UKAI wrote: > > Hmm, I never try it that. > > Is it enough to check /var/lib/dpkg/lock is locked? > > Yes. It uses fcntl locking. Here is a simple program I have used to > check the lock: I took it in dpkg soure code, and it seems to be ok. This is merged in auto-apt 0.2.11 at http://www.debian.org/~ukai/auto-apt/ Thanks, Fumitoshi UKAI