Josselin Mouette <j...@debian.org> writes:

> Le samedi 26 juin 2010 à 22:30 +0200, Marc Haber a écrit :
>> On Sat, 26 Jun 2010 15:20:46 +0200, Josselin Mouette <j...@debian.org>
>> wrote:
>> >Furthermore, I’d be interested to know how to fix such a “shortcoming”
>> >in our software. If both A and B depend on each other, A.postinst must
>> >be executed before B.postinst, and vice versa.
>> 
>> That's only one kind of circular dependency, and the one making the
>> problems. When you look at the circular dependencies, for example
>> within the exim4 or the aide packages, you see that the dependencies
>> defined in there aren't _that_ strict.
>
> You could say it’s not problematic all the time - that’s the case of
> fcron/exim4, which is only a problem for users installing fcron. But it
> is a real one: if fcron requires exim to be running to work correctly,
> while exim requires fcron to be running to work correctly, you’re
> doomed.
>
> In this case, there’s a solution: exim needs (f)cron installed on the
> system, but it doesn’t need it to be configured and running. But there’s
> simply no way for dpkg to know that, since the semantics of dependencies
> don’t express that order.
>
> For aide, I just don’t see the point: it’s the simplest, straight
> example of an unjustified 2-packages circular dependency.

It would be nice to introduce a Post-Depends. Post-Depends means the
depended on package needs to be installed but is not needed for
maintainer script. As such the order in which packages are configured is
not restricted.

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vd90k7ji....@frosties.localdomain

Reply via email to