jooga:/etc# aptitude reinstall locales Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages will be REINSTALLED: locales 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "es_VE:es_ES:es:en_GB:en", LC_ALL = (unset), LANG = "es_VE" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up locales (2.3.6-15) ... dpkg (subprocess): unable to execute post-installation script: Exec format errordpkg: error processing locales (--configure): subprocess post-installation script returned error exit status 2 Setting up localeconf (0.9.4.1) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "es_VE:es_ES:es:en_GB:en", LC_ALL = (unset), LANG = "es_VE" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory dpkg: error processing localeconf (--configure): subprocess post-installation script returned error exit status 20 Errors were encountered while processing: locales localeconf grep: /etc/locale.nopurge: No such file or directory grep: /etc/locale.nopurge: No such file or directory grep: /etc/locale.nopurge: No such file or directory No /etc/locale.nopurge file present, exiting ... E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up localeconf (0.9.4.1) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "es_VE:es_ES:es:en_GB:en", LC_ALL = (unset), LANG = "es_VE" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory dpkg: error processing localeconf (--configure): subprocess post-installation script returned error exit status 20 Errors were encountered while processing: localeconf