Hi,

On sam, 2008-03-01 at 22:48 +0100, Piotr Ożarowski wrote:
> Installing a package that doesn't contain /usr/share/python-support/PACKAGE
> directory (f.e. with Python extension only) is not possible due to
> postinst failure (update-python-modules postinst script):

This is expected. This directory is needed because python-support needs
the list of all installed packages and obtains it by
listing /usr/share/python-support.

> same thing while reinstalling (or removing) such package:
> 
> | Preparing to replace python-jinja-dbg 1.2-2 (using 
> .../python-jinja-dbg_1.2-2_amd64.deb) ...
> | WARNING: /usr/share/python-support/python-jinja-dbg does not exist.
> |          Some bytecompiled files may be left behind.
> | Traceback (most recent call last):
> |   File "/usr/sbin/update-python-modules", line 265, in ?
> |     args.remove(arg)

Now this is a real bug, the package should remove even when something
goes wrong. I’ll upload a fix shortly.

> BTW: I removed empty /usr/share/python-support/PACKAGE in debian/rules,
> dh_pysupport is not removing it by default

This is intentional. I’ll document in the README that this directory
shouldn’t be removed.

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.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to