From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Arai Subject: Re: guix package -i error on another account after system reconfigure Date: Tue, 22 Jan 2019 20:20:14 +0900 Message-ID: <20190122112014.cgmuyoyemulvwwdp@WaraToNora> References: <20190121071341.mlcux7on7mdulrwd@WaraToNora> <87fttme860.fsf@elephly.net> <20190122021735.hv67pfgujfgmazfn@WaraToNora> <87y37dchkz.fsf@elephly.net> <20190122072028.2k4snc46qk4utfub@WaraToNora> <87tvi1ceus.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glu6l-0003ss-B3 for help-guix@gnu.org; Tue, 22 Jan 2019 06:20:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glu6k-0003yu-EE for help-guix@gnu.org; Tue, 22 Jan 2019 06:20:43 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:42261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glu6k-0003pH-6T for help-guix@gnu.org; Tue, 22 Jan 2019 06:20:42 -0500 Received: by mail-pl1-x635.google.com with SMTP id y1so11316228plp.9 for ; Tue, 22 Jan 2019 03:20:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <87tvi1ceus.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix On Tue, Jan 22, 2019 at 08:48:27AM +0100, Ricardo Wurmus wrote: > > Yoshinori Arai writes: > > > I don't know how to find different version of guix which belong to new account. > > Because I don't do guix pull yet on new account. > > > > OK, There are no problem on old account. > > The new account could use the old account’s version of Guix to run “guix > pull”, no? > > > I will do full reinstall of guixsd with new configuration. > > Reinstallation is rarely a useful thing to do. > > -- > Ricardo > Hello, Ricardo. 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.