[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debhelper for python-central, problems with prerm/postinst (was: Python modules not installed correctly with pycentral)



(Vincent, please don't send me copies of messages sent to this list.
This is spelled out on the mailing-list code of conduct
<URL:http://www.debian.org/MailingLists/#codeofconduct>.)

Vincent Bernat <bernat@luffy.cx> writes:

> OoO En cette nuit striée d'éclairs du lundi 07 janvier 2008, vers 02:06,
> Ben Finney <bignose+hates-spam@benfinney.id.au> disait:
> 
> > Should the default placement of 'dh_pycentral' be changed so that
> > 'pycentral' is run early enough for programs in the package that
> > depend on the installed modules?
> 
> Well, if you can change the order for postinst, you will get wrong order
> in prerm.
> 
> See:
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386970
>  http://lists.debian.org/debian-release/2006/10/msg00073.html
> 
> This is not specific to cdbs in fact, so it applies to you too.

Hmm, that's a wrinkle I hadn't thought of. Thank you for showing me
that discussion.

So, how do Python-language packagers work around this bug currently?

-- 
 \         "If nature has made any one thing less susceptible than all |
  `\    others of exclusive property, it is the action of the thinking |
_o__)                          power called an idea" —Thomas Jefferson |
Ben Finney


Reply to: