[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: pkg-order -- Specs and design



Manoj Srivastava <srivasta@datasync.com> writes:

> * The package should be able to read installed packages from
>   /var/lib/dpkg/status -- or one or more files in the samefomat
>   supplied by the user (*must* have the status field)

This could cause a race condition if somone is running dpkg/dselect at
the same time.  This could be handled by asking dpkg (or perhaps some
forthcoming library) for the status instead of reading the file
directly.  dpkg should be responsible for handling the locking.

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: