[Python-modules-team] Bug#483197: Bug#483197: Pre-depends are no solution

Josselin Mouette joss at debian.org
Thu Jul 24 17:00:53 UTC 2008


Le jeudi 24 juillet 2008 à 18:52 +0200, Bernd Zeimetz a écrit :
> Josselin Mouette wrote:
> > Sorry, I indeed misread it, and the package had disappeared in the
> > mirror pulse at the time I was looking at it. (Well, you are wrong in
> > thinking Pre-Depends *would* fix the issue, but since you don’t use them
> > that’s fine :)
> 
> Why would a Pre-Dependency on python not fix the problem? As log as
> pyversions -d works (which is the case when Python is installed and
> configured), using it to retrieve the default version will work.

Pre-Depends only change what is available for the preinst script, not
the postinst.

Except in the case of a dependency loop, a Depends: already guarantees
that at postinst time, the package in question is already installed and
configured. If a Depends is not enough, there’s no reason why a
Pre-Depends would.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20080724/1b9a5edc/attachment.pgp 


More information about the Python-modules-team mailing list