Comment 5 for bug 504198

Reiger (jm-ouwerkerk) wrote :

In (my) aptitude output, I find a dpkg post-invoke error which may be the cause why this locale generation does not appear to work correctly:

Processing triggers for python-support ...
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi'
E: Sub-process returned an error code
A package failed to install. Trying to recover:

FWIW: the quoted fi delimiter does not have a semi-colon.