On Fri, 2012-05-25 at 08:30:28 +0100, Iain Lane wrote:
> Thanks a lot for your analysis. So it seems like this is the assumption
> that isn't being held here: that dependencies will be satisfied when
> postinst is run.

> It would be great if you could prepare a patch. This issue could come up
> whenever libgtk2.0-cil and monodoc-browser are upgraded in the same run,
> which certainly will happen with squeeze→wheezy upgrades. Since failing
> upgrades is really unfriendly, a patch for squeeze's dpkg seems required
> (or, if this proves to be too hard, we could work around it with my
> mentioned hack of having monodoc-browser register gtk# into the GAC
> itself, or || true the failing call since having outdated documentation
> indices isn't the end of the world).

I've prepared a minimal test case for the dpkg functional tests, and a
quick patch solving this, which checks that dependencies are satisfied
before processing the trigger, and otherwise deferring the package
to be trigproc()ed.

I'm running the entire pkg-tests now, and will be doing some cleanup
before pushing this, will also look into preparing a stable update
later on.

In any case I think you'll need to workaround this in your package
anway, as users are not usually required to have the latest stable
updates before dist-upgrading.

thanks,
guillem



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to