I get this error each time I update the system using apt-get. What does this error mean? Any ideas on how to correct it? (I am running Ubuntu 11.10)
Usually this error means that you could have been changing between different languages (locales) and something has caused this to error erroneously.
You could try regenerating your list of locales with
For me the result was:
Then resetting your local locale with:
i.e. use one of the Locale values in the output above
In my case, the problem was that /usr/share/initramfs-tools/hooks/root_locale is expecting to see individual locale directories in /usr/lib/locale but locale-gen is configured to generate an archive file by default.
I fixed it by running: sudo locale-gen --purge --no-archive