From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: guix package -i error on another account after system reconfigure Date: Tue, 22 Jan 2019 13:25:59 +0100 Message-ID: <87pnsodgko.fsf@elephly.net> References: <20190121071341.mlcux7on7mdulrwd@WaraToNora> <87fttme860.fsf@elephly.net> <20190122021735.hv67pfgujfgmazfn@WaraToNora> <87y37dchkz.fsf@elephly.net> <20190122072028.2k4snc46qk4utfub@WaraToNora> <87tvi1ceus.fsf@elephly.net> <20190122112014.cgmuyoyemulvwwdp@WaraToNora> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm2Ov-0000Hb-Im for help-guix@gnu.org; Tue, 22 Jan 2019 15:12:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm2Ot-00072U-Jo for help-guix@gnu.org; Tue, 22 Jan 2019 15:12:00 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm2Ot-0006z6-70 for help-guix@gnu.org; Tue, 22 Jan 2019 15:11:59 -0500 In-reply-to: <20190122112014.cgmuyoyemulvwwdp@WaraToNora> 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: Yoshinori Arai Cc: help-guix Yoshinori Arai 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' =E3=81=AB=E3= =82=A2=E3=82=AF=E3=82=BB=E3=82=B9=E3=81=A7=E3=81=8D=E3=81=BE=E3=81=9B=E3=82= =93: > =E3=81=9D=E3=81=AE=E3=82=88=E3=81=86=E3=81=AA=E3=83=95=E3=82=A1=E3=82=A4= =E3=83=AB=E3=82=84=E3=83=87=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA=E3= =81=AF=E3=81=82=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 --- can't access. no fi= le 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 b= efore > full reinstallation. You don=E2=80=99t 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=E2=80=99s 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=E2=80=99t suffer from this problem. --=20 Ricardo