I get the same error on an lenny system, which pulls cherokee packages from squeeze via apt-preferences.
The upgrade waas from 0.99.9-1 to 0.99.11-1. After libcherokee-config0 was upgraded to 0.99.11-1, I got the error. When I tried to remove it, the same error was also produced. I'm pasting it below: Removing libcherokee-config0 ... Usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f|-p] update-python-modules: error: /usr/share/python-support/libcherokee-config0.private is not a directory dpkg: error processing libcherokee-config0 (--remove): subprocess pre-removal script returned error exit status 2 Usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f|-p] update-python-modules: error: /usr/share/python-support/libcherokee-config0.private is not a directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: libcherokee-config0 E: Sub-process /usr/bin/dpkg returned an error code (1) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org