locale-gen just regenerates the locale - which I have. It's just that PostgreSQL doesn't see it. When I run locale-gen, it just shows that all locales (listed by locale -a) are "up to date".
It somehow got database created in locale that it can't now open:
$ psql psql: FATAL: database locale is incompatible with operating system DETAIL: The database was initialized with LC_COLLATE "en_GB.UTF-8", which is not recognized by setlocale(). HINT: Recreate the database with another locale or install the missing locale.
The thing is that system knows about en_GB:
Is it possible? Anyone encountered something like this before? If so - what can be done? I didn't found any way to "unpack" the archive with locales.