Re: uninstalling issue of a local Debian package
* Florian Rothmaier <frothmai@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?
As a side note, if the module name is "gavo", then the policy-compliant binary
package name is "python-gavo".
--
Jakub Wilk
Reply to: