Not the original reporter, but I see it too: # dpkg -r solfege (Reading database ... 216078 files and directories currently installed.) Removing solfege ... usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f]
update-python-modules: error: /usr/share/solfege is not in the python-support directory. dpkg: error processing solfege (--remove): subprocess pre-removal script returned error exit status 2 Errors were encountered while processing: solfege Ron
#! /bin/sh # prerm script for solfege # # see: dh_installdeb(1) set -e PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'` dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2 # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. # Automatically added by dh_installdocs if [ "$1" = remove ] || [ "$1" = upgrade ] && \ which install-docs >/dev/null 2>&1; then install-docs -r solfege fi # End automatically added section # Automatically added by dh_python if which update-python-modules >/dev/null 2>&1; then update-python-modules -c -b /usr/share/solfege /usr/share/solfege fi # End automatically added section exit 0