Hi, while trying to fix my packaging, I found that my recent python-webunit package doesn't install cleanly. dpkg reports that the package be installed ("ii"), but I'd still like to get rid of the disconcerting error messages:
# dpkg -i python-webunit_1.3.8-4_all.deb Selecting previously deselected package python-webunit. (Reading database ... 42327 files and directories currently installed.) Unpacking python-webunit (from python-webunit_1.3.8-4_all.deb) ... Setting up python-webunit (1:1.3.8-4) ... [Errno 2] No such file or directory [Errno 2] No such file or directory It turns out that these two error messages are generated by the line pycentral pkginstall python-webunit in the generated postinst script. Running this command by hand yields: # pycentral -v pkginstall python-webunit pycentral: pycentral -v pkginstall python-webunit pycentral: reading /usr/share/pyshared-data/python-webunit pycentral: Using python-version from pkgconfig: all pycentral: avail=['2.5', '2.4'], pkg=all, install=['2.5', '2.4'] pycentral: install package python-webunit pycentral: link shared files python2.5/python-webunit [Errno 2] No such file or directory pycentral: no files to byte-compile pycentral: link shared files python2.4/python-webunit [Errno 2] No such file or directory pycentral: no files to byte-compile Trying to find out what pycentral actually should be doing, I get: # cat /usr/share/pyshared-data/python-webunit [python-package] format = 1 python-version = all [pycentral] version = 0.6.11 include-links = 0 [files] /usr/share/pyshared/webunit-1.3.8.egg-info=f /usr/share/pyshared/webunit=d /usr/share/pyshared/webunit/__init__.py=f /usr/share/pyshared/webunit/cookie.py=f /usr/share/pyshared/webunit/IMGSucker.py=f /usr/share/pyshared/webunit/HTMLParser.py=f /usr/share/pyshared/webunit/SimpleDOM.py=f /usr/share/pyshared/webunit/utility.py=f /usr/share/pyshared/webunit/webunittest.py=f /usr/share/pyshared/webunit/config.py=f /usr/share/pyshared/demo=d /usr/share/pyshared/demo/__init__.py=f /usr/share/pyshared/demo/google.py=f /usr/share/pyshared/demo/python_org.py=f # ls -al /usr/share/pyshared/webunit total 88 drwxr-xr-x 2 root root 4096 2009-08-26 14:05 . drwxr-xr-x 14 root root 4096 2009-08-26 14:05 .. -rw-r--r-- 1 root root 710 2003-07-22 03:01 config.py -rw-r--r-- 1 root root 3664 2003-10-31 07:26 cookie.py -rw-r--r-- 1 root root 15724 2004-01-21 23:47 HTMLParser.py -rw-r--r-- 1 root root 3802 2003-07-22 03:19 IMGSucker.py -rw-r--r-- 1 root root 22 2004-01-29 22:51 __init__.py -rw-r--r-- 1 root root 16033 2004-01-21 23:50 SimpleDOM.py -rw-r--r-- 1 root root 2682 2003-08-23 04:01 utility.py -rw-r--r-- 1 root root 25698 2004-01-29 22:51 webunittest.py What's the right way to fix this, please? So far, although the package installs fine, none of the modules can be used (ie, "import modulename" fails). TIA! Kind regards, --Toni++ -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org