[Pkg-qof-maintainers] Bug#387196: circular dependency
Neil Williams
linux at codehelp.co.uk
Wed Sep 13 22:01:26 UTC 2006
Goedson Teixeira Paixao wrote:
> 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.
OK, thanks. If something like this happens again, I'll do it that way.
For the current situation, the next upload of pilot-qof does depend on
libqof-backend-qsf0 and libqof1 and is due in a day or so. The next
upload of libqof1 no longer depends on the backends itself - breaking
the circle and closing the bug. Is that sufficient or does the next
release of libqof1 still need to conflict with pilot-qof <= 0.1.1-1 ?
(0.1.1-1 is in experimental and does not know anything about the qsf
backend.)
The next upload of pilot-qof is 0.1.1-2 (simple change from experimental
back to unstable in debian/changelog and the addition of
libqof-backend-qsf0 to Depends: in debian/control.)
The next upload of libqof1 is likely to be 0.8.0-1 but this won't be
ready until after pilot-qof 0.1.1-2 reaches testing. Does there still
need to be an interim upload of libqof1 with the conflict?
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-qof-maintainers/attachments/20060913/0eb065e9/signature.pgp
More information about the Pkg-qof-maintainers
mailing list