Hi Jakub,

Am 28.10.2013 10:57, schrieb Jakub Wilk:
> * Florian Rothmaier <froth...@ari.uni-heidelberg.de>, 2013-10-27, 18:52:
>> "sudo apt-get remove python-gavodachs" deletes /usr/share/pyshared/gavo/ and 
>> /usr/lib/python2.6/dist-packages/gavo/ . Under 
>> /usr/lib/python2.7/dist-packages/gavo/ all symlinks are removed but the 
>> byte-compiled modules (.pyc) are still present.
> [...]
>> You'll find the code in a git repository at
>> http://anonscm.debian.org/gitweb/?p=debian-science/packages/gavodachs.git .
> 
> My guess is that the culprit is order of commands in prerm: *.pyc are removed 
> first, then the daemon is stopped, which causes recreation of *.pyc.
> 
> Could you edit debian/prerm, moving the #DEBHELPER# token from line 4 to the 
> end of the file, and see if it helps?
> 

thank you very much for your help. Your idea to move the #DEBHELPER#
token to the end of the script has solved my issue.

> 
> As a side note, if the module name is "gavo", then the policy-compliant 
> binary 
> package name is "python-gavo".
>

Thanks for adding this side note, too.

Best,
Florian
 


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/526e6fa4.7080...@ari.uni-heidelberg.de

Reply via email to