[Pkg-qof-maintainers] Bug#387196: circular dependency

Goedson Teixeira Paixao goedson at debian.org
Wed Sep 13 16:24:45 UTC 2006


Em Qua, 2006-09-13 às 14:56 +0100, Neil Williams escreveu:
> 
> Was there a better way of handling this situation where libfoo is split
> out from libbar? libbar must depend on libfoo - the problem was that foo
> (a completely separate application) depended on libfoo and expected
> libfoo to include libbar as well.

If the dependency is created just not to break the foo-app (pilot-qof)
package, the right way of handling it would be rebuild the foo-app
package so it would get the dependencies right AND make libbar conflict
with older revisions of the foo-app package. So, in this specific case,
you would have (quoting only the relevant parts):

Package: pilot-qof
Version: 0.0.10-2
Depends: libqof-backend-qsf0, libqof1

Package: libqof1
Version: 0.7.1-1
Conflicts: pilot-qof (<= 0.0.10-1)

This would avoid the possibility of a broken upgrade.




-- 
Goedson Teixeira Paixao    http://mundolivre.wordpress.com/
Jabber ID: goedson at jabber.org        http://www.jabber.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
	assinada digitalmente
Url : http://lists.alioth.debian.org/pipermail/pkg-qof-maintainers/attachments/20060913/da753578/attachment.pgp


More information about the Pkg-qof-maintainers mailing list