[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix package -i error on another account after system reconfigure
From: |
Ricardo Wurmus |
Subject: |
Re: guix package -i error on another account after system reconfigure |
Date: |
Tue, 22 Jan 2019 13:25:59 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Yoshinori Arai <address@hidden> writes:
> I mean New Account is new user account that is added by last system
> reconfiguration.
>
> user1 --- old account is made at first installation
>
> address@hidden ~$ which guix
> /home/user1/.config/guix/current/bin/guix
>
> address@hidden ~$ ls -l /var/guix/profiles/per-user/user1/current-guix
> /var/guix/profiles/per-user/user1/current-guix -> current-guix-5-link
>
> address@hidden ~$ 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 ...
>
> address@hidden ~$ which guix
> /run/current-system/profile/bin/guix
>
> address@hidden ~$ 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 ...
>
> address@hidden ~$ which guix
> /run/current-system/profile/bin/guix
>
> address@hidden ~$ 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
- guix package -i error on another account after system reconfigure, Yoshinori Arai, 2019/01/21
- Re: guix package -i error on another account after system reconfigure, Ricardo Wurmus, 2019/01/21
- Re: guix package -i error on another account after system reconfigure, Yoshinori Arai, 2019/01/21
- Re: guix package -i error on another account after system reconfigure, Ricardo Wurmus, 2019/01/22
- Re: guix package -i error on another account after system reconfigure, Yoshinori Arai, 2019/01/22
- Re: guix package -i error on another account after system reconfigure, Ricardo Wurmus, 2019/01/22
- Re: guix package -i error on another account after system reconfigure, Yoshinori Arai, 2019/01/22
- Re: guix package -i error on another account after system reconfigure,
Ricardo Wurmus <=
- Re: guix package -i error on another account after system reconfigure, Yoshinori Arai, 2019/01/22