From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: postgres service Date: Tue, 14 Mar 2017 17:17:48 +0100 Message-ID: <87efxzn87n.fsf@gnu.org> References: 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]:36320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnp94-0002zm-3E for help-guix@gnu.org; Tue, 14 Mar 2017 12:17:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnp93-0006Dn-7F for help-guix@gnu.org; Tue, 14 Mar 2017 12:17:57 -0400 In-Reply-To: (catonano@gmail.com's message of "Thu, 9 Mar 2017 19:21:58 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix Hello! Catonano skribis: > I added a postgresql service to the list of my services, like this > > (services (cons* (postgresql-service #:locale "it_IT.UTF-8") > (gnome-desktop-service) > (xfce-desktop-service) > %desktop-services)) > > This is an excerpt of the "guix system reconfigure etc/config.scm" log > > ... > loading system objects' descriptions ... ok > creating collations ... sh: locale: command not found > ok > No usable system locales were found. > Use the option "--debug" to see details. > ... It looks like the =E2=80=98initdb=E2=80=99 attempts to invoke the =E2=80=98= locale=E2=80=99 command (from glibc), which it cannot find here. If this is correct, then we should add =E2=80=98locale=E2=80=99 to the PATH when invoking =E2=80=98initdb=E2= =80=99. Christopher: WDYT? Thanks,