From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko Subject: Re: How to Rescue GuixSD when guile and guix arebroken? Date: Fri, 21 Sep 2018 17:43:35 +0000 Message-ID: References: <871s9nugzx.fsf@elephly.net> <87sh22u93g.fsf@elephly.net> Reply-To: znavko Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3Pdl-0004Qz-EA for help-guix@gnu.org; Fri, 21 Sep 2018 13:54:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3PSy-0007o0-29 for help-guix@gnu.org; Fri, 21 Sep 2018 13:43:48 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]:34285) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g3PSx-0007l6-N4 for help-guix@gnu.org; Fri, 21 Sep 2018 13:43:43 -0400 In-Reply-To: <87sh22u93g.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\\@gnu.org" Hello, Ricardo Wurmus! > > Oh, you have =E2=80=9Cguix=E2=80=9D installed with Guix=E2=80=A6? Could y= ou please show me the > output of =E2=80=9Cwhich guix=E2=80=9D? You should be using > ~/.config/guix/current/bin/guix =E2=80=94 that directory should be first = on > PATH, and you probably shouldn=E2=80=99t install the =E2=80=9Cguix= =E2=80=9D package itself, > because it will necessarily be older than the version of Guix you used > to install it. > # which guix /root/.config/guix/current/bin/guix # echo $PATH /root/.config/guix/current/bin:/root/.guix-profile/bin:/root/.guix-profile/= sbin:/root/.guix-profile/bin:/run/setuid-programs:/run/current-system/profi= le/bin:/run/current-system/profile/sbin So, I can run `guix pull` ? One more question. Often I have troubles that installed by root packages ar= e not visible for root. I think this is because of PATH. So I have added th= is to /root/.bashrc , as these instructions appeared while I run `guix pack= age -i ATOM` : # tail -n 6 /root/.bashrc # my export PATH=3D"/root/.guix-profile/bin${PATH:+:}$PATH" export PATH=3D"/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$P= ATH" export PATH=3D"/root/.config/guix/current/bin${PATH:+:}$PATH" Is it right way? Does it work, when I run `su`? PS. Hope my mail will not appear in Maillist archive.