Apport now supports interactive package hooks

Martin Pitt martin.pitt at
Wed Jun 10 15:59:56 BST 2009

Hello fellow developers,

So far, Apport package hooks were limited to collecting data from the
local system. However, a lot of debugging recipes and standard bug
triage ping pong involves asking the reporter further questions which
need reponses from a human. This can range from a very simple
information message box “Now, please plug in the camera which is not
detected” until a complex decision tree based on the symptoms the user

As discussed at UDS Barcelona [1], Apport now supports this, as of
version 1.3 (just uploaded to Karmic). The GUI still leaves something
to be desired, and I plan to improve it. But the API for hooks won’t
change any more, so you can now begin to develop your interactive

Please see my blog [2] for how such an interactive hook might look
like, and [3] or [4] for the documentation.

I also updated

Enjoy, and don't hesitate to contact me for assistance, help, and
suggestions for improvements!



[3] /usr/share/doc/apport/package-hooks.txt

Martin Pitt                        |
Ubuntu Developer (  | Debian Developer  (
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : 

More information about the ubuntu-devel-announce mailing list