On Sun, May 25, 2003 at 04:50:03PM -0400, Matt Zimmerman wrote: > On Sun, May 25, 2003 at 09:56:04PM +0200, Andreas Tille wrote: > > > I want to package GnuMed which is a Python application accessing > > PostgreSQL server. > > > > http://bugs.debian.org/166282 > > > > It comes with a Python bootstrap routine. That means the postinst script > > would need a working Python and PostgreSQL server installed. > > > > I think I would solve this by a simple check whether Python and PostgreSQL > > are working. If not I would use a Debconf message to tell the user, what > > to do after installation of all prerequsites is done. If there is any > > better way to accomplish this I would be happy for hints. > > For python, you only need to declare Depends: python to ensure that python > is installed and configured when your postinst runs.
Wouldn't you need predepends?