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

Bug#128868: debian-policy: Depends semantics unclear re circular depends



On Sat, Jan 12, 2002 at 07:08:21PM +1100, Peter Moulder wrote:
>  From section 7.2 `Binary Dependencies' of debian-policy:
> 
> #    `Depends'
> #         This declares an absolute dependency.  A package will not be
> #         configured unless all of the packages listed in its `Depends'
> #         field have been correctly configured.
> 
> Suppose that package A Depends on B, and package B Depends on A.
> 
> My reading of the above policy excerpt is that is that circular
> dependencies are not allowed, since it would be impossible to configure
> either A or B without first configuring the other.[*1]
> 
> Whereas, in fact, a number of dependency cycles do occur in Debian; a

According to a recent post by Wichert to -devel, a cyclic dependency
is OK, but all of the packages in the cycle have to be configured in
the same dpkg invocation.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

     Julian Gilbey, Dept of Maths,             Debian GNU/Linux Developer
      Queen Mary, Univ. of London         see http://people.debian.org/~jdg/
   http://www.maths.qmul.ac.uk/~jdg/           or http://www.debian.org/
        Visit http://www.thehungersite.com/ to help feed the hungry
                 Also: http://www.helpthehungry.org/



Reply to: