Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some obscure reason, my /var/lib/locales/supported.d/local file contained an extra locale that typically should not be there (in my example, pl_PL.UTF-8 UTF-8).

I ran sudo dpkg-reconfigure locales, and the system reported:

Generating locales...
  el_GR.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
Generation complete.

that is, it verified that the rest of the locales are up-to-date; however, there was no mention of the pl_PL.UTF-8 locale. I don't know if it erased files related to the locale.

How can I make sure that there are no files left in the system for the pl_PL.UTF-8 locale?

share|improve this question
up vote 3 down vote accepted

Have you tried localepurge? (aptitude show localepurge)

share|improve this answer
This probably did the job. I'll select your answer as the answer after the next successful reboot :) – ΤΖΩΤΖΙΟΥ Oct 4 '10 at 22:02
Try bleechbit, it can free much more than localepurge. – Extender Oct 5 '10 at 3:20
@Extender: AFAIR bleechbit is a tool to free space from user data. – ΤΖΩΤΖΙΟΥ Oct 6 '10 at 12:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.