From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: locales gone Date: Thu, 13 Oct 2016 22:22:47 +0200 Message-ID: <87mvi880dk.fsf@gnu.org> References: <20160925233222.33804eb3@scratchpost.org> <87vaxe5197.fsf@gnu.org> <20161008160006.04ada83c@scratchpost.org> <87oa2rgbi9.fsf@gnu.org> <20161012223733.6e95ca41@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bumWn-00089Z-Nd for guix-devel@gnu.org; Thu, 13 Oct 2016 16:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bumWi-0006ly-VG for guix-devel@gnu.org; Thu, 13 Oct 2016 16:22:57 -0400 In-Reply-To: <20161012223733.6e95ca41@scratchpost.org> (Danny Milosavljevic's message of "Wed, 12 Oct 2016 22:37:33 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hi! Danny Milosavljevic skribis: > I read the docs you pointed me to - however, previously this worked fine = as-is. Also, I have a database that is inaccessible because the locale sudd= enly (sometimes) doesn't work anymore. It's not like I can change what loca= le it was created in without a time machine :) > > $ psql -U postgres template1 > psql: FATAL: database locale is incompatible with operating system > DETAIL: The database was initialized with LC_COLLATE "en_US.UTF-8", whi= ch is not recognized by setlocale(). > HINT: Recreate the database with another locale or install the missing l= ocale. What does this return: ldd $(which psql) | grep glibc ? If it says 2.22, then you need to add the 2.22 locale data to your OS, as per . HTH, Ludo=E2=80=99.