all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Myles English <mylesenglish@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Arch Linux locale-gen tries to use /run/current-system
Date: Thu, 12 May 2016 20:53:12 +0300	[thread overview]
Message-ID: <874ma32mev.fsf@gmail.com> (raw)
In-Reply-To: <87d1osqhjy.fsf@gmail.com> (Myles English's message of "Thu, 12 May 2016 00:52:01 +0100")

Myles English (2016-05-12 02:52 +0300) wrote:

> Hello,
>
> I am trying guix on Arch Linux.  While updating the system package to
> glibc 2.23 I get this error:
>
> $ locale-gen
> Generating locales...
>   en_GB.UTF-8...cannot create temporary file:
>   /run/current-system/locale/2.22/locale-archive.nfq78F: No such file or
>   directory

"locale-gen" script runs "localedef" command (which is from "glibc"
package).  So I think that the Guix's localedef is started.  My guess is
you installed "glibc" into your guix user profile, and
"~/.guix-profile/bin" takes preference over other directories in your
$PATH.  Could you check "which localedef"?

If it's true, why did you install glibc in your profile?  I think it is
not needed.

OTOH if my guess is correct, this environment problem should happen only
for your user, but the root user shouldn't have localedef in its PATH.
So you probably keep your user environment during system update (maybe
with "sudo -E pacman -S ..." or something similar), right?  How did you
start pacman?

-- 
Alex

  reply	other threads:[~2016-05-12 17:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 23:52 Arch Linux locale-gen tries to use /run/current-system Myles English
2016-05-12 17:53 ` Alex Kost [this message]
2016-05-14 18:20   ` Myles English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ma32mev.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mylesenglish@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.