On Sun, Apr 16, 2006 at 05:57:54PM +0200, Josselin Mouette wrote:
> Le dimanche 16 avril 2006 ? 11:43 -0400, Justin Pryzby a ?crit :
> > > > The fontconfig prerm runs defoma, which apparently runs fc-cache,
> > > > which requires libfontconfig.so.1, but dependencies (apparently)
> > > > aren't respected for prerm (although policy seems to imply that they
> > > > are only not respected for postrm purge; this may be a policy bug).
> 
> > Could you comment on the correctness of the policy document?
> 
> When there are circular dependencies, such bugs happen, as apt and dpkg
> don't know in what order to remove the packages. According to Bill
> Allombert the only real fix is to remove all circular dependencies, but
> it may be possible to improve dpkg's behavior.
Ah.  It wasn't clear to me that this was the cause.  I just did a couple tests,
and policy appears to be correct in implying that Depends are satisfied during
prerm remove, but that this can break if a circular dependenency exists.
Perhaps the document should specifically mention this, or just prohibit
ciruclar depends?

Thanks
Justin


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

Reply via email to