Hello

On Sun, Jul 03, 2005 at 04:39:04PM +0100, Colin Watson wrote:
> On Sun, Jul 03, 2005 at 04:57:58PM +0200, Ola Lundqvist wrote:
> > On Fri, Jun 24, 2005 at 05:21:51PM +0200, Bill Allombert wrote:
> > >  `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.
> > 
> > This phrasing is obviously wrong as you can install packages with
> > circular dependencies. This phrasing say exactly what Pre-Depends is.
> > 
> > Depends should be described as follows:
> > 
> >   `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 unpacked.
> 
> This is incorrect. Depends is as described in policy, with the addition
> that dpkg will arbitrarily break loops.
> 
> For the meaning of Pre-Depends, see policy.

I stand corrected.

Interesting. Maybe the arbitrary loop thing can be documented too in
the policy, or otherwise it should be not allowed. Interesting that
I have missed this delicate problem.

Actually I think that it should be two types of dependencies. One
for normal dependencies, that is just need the other software unpacked
to work, and one for must not be configured until other ones is
configured. This can probably help a lot.

Regards,

// Ola

> 
> -- 
> Colin Watson                                       [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to