all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Yoshinori Arai <kumagusu08@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guix package -i error on another account after system reconfigure
Date: Tue, 22 Jan 2019 13:25:59 +0100	[thread overview]
Message-ID: <87pnsodgko.fsf@elephly.net> (raw)
In-Reply-To: <20190122112014.cgmuyoyemulvwwdp@WaraToNora>


Yoshinori Arai <kumagusu08@gmail.com> writes:

> I mean New Account is new user account that is added by last system
> reconfiguration.
>
> user1 --- old account is made at first installation
>
> user1@hostname ~$ which guix
> /home/user1/.config/guix/current/bin/guix
>
> user1@hostname ~$ ls -l /var/guix/profiles/per-user/user1/current-guix
> /var/guix/profiles/per-user/user1/current-guix -> current-guix-5-link
>
> user1@hostname ~$ ls -l /var/guix/profiles/per-user/yoshi/current-guix-5-link
> /var/guix/profiles/per-user/yoshi/current-guix-5-link ->
>                  /gnu/store/xh71xqfcbbwsaqakvf6787pdwclkqv6w-profile
>
> user2, user3 are new users.
> after su user2 ...
>
> user2@hostname ~$ which guix
> /run/current-system/profile/bin/guix
>
> user2@hostname ~$ ls -l /var/guix/profiles/per-user/user2/
> current-guix -> current-guix-1-link
> current-guix-1-link -> /gnu/store/1qwy6c7b4axjaz8fyy1plg29p47slina-profile
>
> This status is after guix pull but finished on error.
>
> su user3 ...
>
> user3@hostname ~$ which guix
> /run/current-system/profile/bin/guix
>
> user3@hostname ~$ ls -l /var/guix/profiles/per-user/user3/
>      current-guix -> current-guix-0-link
>
> ls -l /var/guix/profiles/per-user/user3/current-guix-0-link
> ls: '/var/guix/profiles/per-user/user3/current-guix-0-link' にアクセスできません:
> そのようなファイルやディレクトリはありません --- can't access. no file or
> directory.
>
> This status is before guix pull.
>
> I will delete new users by userdell command and also delete
> /var/guix/profile/per-user/user2,user3 then do system reconfigure again before
> full reinstallation.

You don’t need to delete those user accounts.

The new users are using the system-wide Guix at
/run/current-system/profile/bin/guix, which appears to be broken.  So
you could let user2 and user3 use user1’s Guix, which you said is
working fine.

as user2 just run

    /var/guix/profiles/per-user/user1/current-guix/bin/guix pull

and you should then get a new Guix that works fine.

Same with reconfigure.  Run that with the working Guix to get a new Guix
for the whole system which doesn’t suffer from this problem.

-- 
Ricardo

  reply	other threads:[~2019-01-22 20:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21  7:13 guix package -i error on another account after system reconfigure Yoshinori Arai
2019-01-21  8:17 ` Ricardo Wurmus
2019-01-22  2:17   ` Yoshinori Arai
2019-01-22  6:49     ` Ricardo Wurmus
2019-01-22  7:20       ` Yoshinori Arai
2019-01-22  7:48         ` Ricardo Wurmus
2019-01-22 11:20           ` Yoshinori Arai
2019-01-22 12:25             ` Ricardo Wurmus [this message]
2019-01-23  1:16               ` Yoshinori Arai

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=87pnsodgko.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=kumagusu08@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.