From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: Outreachy'18 Date: Tue, 6 Mar 2018 22:00:22 +0100 Message-ID: References: <878tb5lzb8.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c065c302a408e0566c4bb4d" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJhB-0002f1-Gu for guix-devel@gnu.org; Tue, 06 Mar 2018 16:00:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etJhA-0003Xl-GA for guix-devel@gnu.org; Tue, 06 Mar 2018 16:00:25 -0500 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:41883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etJhA-0003Xd-9q for guix-devel@gnu.org; Tue, 06 Mar 2018 16:00:24 -0500 Received: by mail-io0-x22f.google.com with SMTP id q24so507077ioh.8 for ; Tue, 06 Mar 2018 13:00:24 -0800 (PST) In-Reply-To: <878tb5lzb8.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix-devel , Reshu Singh --94eb2c065c302a408e0566c4bb4d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-03-06 21:32 GMT+01:00 Ricardo Wurmus : > > Hi Reshu, > > > I am trying to install GUIX for ubuntu using sh script. I have named th= e > > script "guix-install.sh".I created the sh file in nano and ran using ba= sh > > guix-install.sh Encountering an error "guix-install.sh: line 249: > > /home/reshu/.guix-profile/etc/profile: No such file or directory". > > You need to run the script as the root user. It seems to not like to > run with sudo, so you would need to do =E2=80=9Csudo su -=E2=80=9D first = to switch to > the root account. > > (I=E2=80=99m not sure if the root account is usable on Ubuntu.) > > Yes, the root account is usable on Ubunt, but I did not try the script yet. > If the script doesn=E2=80=99t work for you, I=E2=80=99m afraid you=E2=80= =99d have to follow the > installation steps manually. As Konrad explained, the procedure is > described in the manual at > > https://www.gnu.org/software/guix/manual/guix.html#Binary- > Installation > > The script merely tries to automate these steps. > > Sorry for the bumpy ride! > > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > > > --94eb2c065c302a408e0566c4bb4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018= -03-06 21:32 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:=

Hi Reshu,

> I am trying to install GUIX for ubuntu using sh script. I have named t= he
> script "guix-install.sh".I created the sh file in nano and r= an using bash
> guix-install.sh Encountering an error "guix-install.sh: line 249:=
> /home/reshu/.guix-profile/etc/profile: No such file or directory&= quot;.

You need to run the script as the root user.=C2=A0 It seems to = not like to
run with sudo, so you would need to do =E2=80=9Csudo su -=E2=80=9D first to= switch to
the root account.

(I=E2=80=99m not sure if the root account is usable on Ubuntu.)


Yes, the root account is usable on Ubu= nt, but I did not try the script yet.
=C2=A0
If the script doesn=E2=80=99t work for you, I=E2=80=99m afraid you=E2=80=99= d have to follow the
installation steps manually.=C2=A0 As Konrad explained, the procedure is described in the manual at

=C2=A0 =C2=A0 =C2=A0 https://w= ww.gnu.org/software/guix/manual/guix.html#Binary-Installation=

The script merely tries to automate these steps.

Sorry for the bumpy ride!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net




--94eb2c065c302a408e0566c4bb4d--