unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Outreachy'18
@ 2018-03-06 19:34 Reshu Singh
  2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Reshu Singh @ 2018-03-06 19:34 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 338 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 19:34 Outreachy'18 Reshu Singh
@ 2018-03-06 20:06 ` Konrad Hinsen
  2018-03-06 20:28   ` Outreachy'18 Ricardo Wurmus
  2018-03-06 20:54   ` Outreachy'18 Tobias Geerinckx-Rice
  2018-03-06 20:32 ` Outreachy'18 Ricardo Wurmus
  2018-03-06 21:16 ` Outreachy'18 Clément Lassieur
  2 siblings, 2 replies; 10+ messages in thread
From: Konrad Hinsen @ 2018-03-06 20:06 UTC (permalink / raw)
  To: Reshu Singh, guix-devel

On 06/03/2018 20:34, Reshu Singh wrote:

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

The instructions for installing Guix on a Ubuntu system are at:

   https://www.gnu.org/software/guix/manual/guix.html#Binary-Installation

There is no reference to any shell script there, so I wonder what you 
are trying to accomplish using your script?

Konrad.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
@ 2018-03-06 20:28   ` Ricardo Wurmus
  2018-03-06 20:54   ` Outreachy'18 Tobias Geerinckx-Rice
  1 sibling, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2018-03-06 20:28 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: guix-devel, Reshu Singh


Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

> On 06/03/2018 20:34, Reshu Singh wrote:
>
>> I am trying to install GUIX for ubuntu using sh script. I have named
>> the script "guix-install.sh".I created the sh file in nano and ran
>> using bash guix-install.sh Encountering an error "guix-install.sh:
>> line 249: /home/reshu/.guix-profile/etc/profile: No such file or
>> directory".
>
> The instructions for installing Guix on a Ubuntu system are at:
>
>   https://www.gnu.org/software/guix/manual/guix.html#Binary-Installation
>
> There is no reference to any shell script there, so I wonder what you
> are trying to accomplish using your script?

The script is pretty new and not mentioned in the manual for the current
version of Guix.

-- 
Ricardo

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 19:34 Outreachy'18 Reshu Singh
  2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
@ 2018-03-06 20:32 ` Ricardo Wurmus
  2018-03-06 21:00   ` Outreachy'18 Gábor Boskovits
  2018-03-06 21:16 ` Outreachy'18 Clément Lassieur
  2 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2018-03-06 20:32 UTC (permalink / raw)
  To: Reshu Singh; +Cc: guix-devel


Hi Reshu,

> I am trying to install GUIX for ubuntu using sh script. I have named the
> script "guix-install.sh".I created the sh file in nano and ran using bash
> 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 “sudo su -” first to switch to
the root account.

(I’m not sure if the root account is usable on Ubuntu.)

If the script doesn’t work for you, I’m afraid you’d 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
  2018-03-06 20:28   ` Outreachy'18 Ricardo Wurmus
@ 2018-03-06 20:54   ` Tobias Geerinckx-Rice
  2018-03-06 20:59     ` Outreachy'18 Tobias Geerinckx-Rice
  2018-03-06 21:34     ` Outreachy'18 Ricardo Wurmus
  1 sibling, 2 replies; 10+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-06 20:54 UTC (permalink / raw)
  To: Reshu Singh, Konrad Hinsen; +Cc: guix-devel, Guix-devel

Reshu, Konrad,

Welcome to Guix! I hope you enjoy your stay :-)

On 2018-03-06 21:06, Konrad Hinsen wrote:
> On 06/03/2018 20:34, Reshu Singh wrote:
> 
>> I am trying to install GUIX for ubuntu using sh script. I have named 
>> the script "guix-install.sh". I created the sh file in nano and ran 
>> using bash guix-install.sh.

Creating and/or editing a script should not be necessary; 
guix-install.sh is part of Guix, and you should be able to simply run 
‘sudo bash ./etc/guix-install.sh’ from your Guix tree.

>> Encountering an error "guix-install.sh: line 249: 
>> /home/reshu/.guix-profile/etc/profile: No such file or directory".
> 
> The instructions for installing Guix on a Ubuntu system are at:

There's nothing wrong with Reshu's preference.

>   
> https://www.gnu.org/software/guix/manual/guix.html#Binary-Installation

That said, you should consider installing Guix manually using the guide 
above, instead of using a script:

- The installation script is still quite new and probably won't work in 
all cases.
- Error reporting is primitive, as you've experienced, which makes it 
hard for us to help.
- Manually installing isn't *that* difficult, and most importantly:
- Understanding the concepts involved will serve as a valuable 
introduction to hacking on Guix.

> There is no reference to any shell script there, so I wonder what you
> are trying to accomplish using your script?

To install Guix using the official installation script, I suspect...

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 20:54   ` Outreachy'18 Tobias Geerinckx-Rice
@ 2018-03-06 20:59     ` Tobias Geerinckx-Rice
  2018-03-06 21:34     ` Outreachy'18 Ricardo Wurmus
  1 sibling, 0 replies; 10+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-03-06 20:59 UTC (permalink / raw)
  To: Reshu Singh; +Cc: guix-devel, Guix-devel

On 2018-03-06 21:54, Tobias Geerinckx-Rice wrote:
> you should be able to simply run ‘sudo bash ./etc/guix-install.sh’

...sent seconds before Ricardo's correction arrived, of course :-)

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 20:32 ` Outreachy'18 Ricardo Wurmus
@ 2018-03-06 21:00   ` Gábor Boskovits
  0 siblings, 0 replies; 10+ messages in thread
From: Gábor Boskovits @ 2018-03-06 21:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel, Reshu Singh

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

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 the
> > script "guix-install.sh".I created the sh file in nano and ran using bash
> > 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 “sudo su -” first to switch to
> the root account.
>
> (I’m 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’t work for you, I’m afraid you’d 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
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1959 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 19:34 Outreachy'18 Reshu Singh
  2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
  2018-03-06 20:32 ` Outreachy'18 Ricardo Wurmus
@ 2018-03-06 21:16 ` Clément Lassieur
  2 siblings, 0 replies; 10+ messages in thread
From: Clément Lassieur @ 2018-03-06 21:16 UTC (permalink / raw)
  To: Reshu Singh; +Cc: guix-devel

Reshu Singh <reshusinghhh@gmail.com> writes:

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

Hi Reshu,

This is a known bug, see
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30728.

Clément

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 20:54   ` Outreachy'18 Tobias Geerinckx-Rice
  2018-03-06 20:59     ` Outreachy'18 Tobias Geerinckx-Rice
@ 2018-03-06 21:34     ` Ricardo Wurmus
  2018-03-07  4:02       ` Outreachy'18 Reshu Singh
  1 sibling, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2018-03-06 21:34 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: guix-devel, Reshu Singh


Hi Tobias,

> That said, you should consider installing Guix manually using the
> guide above, instead of using a script:
>
> - The installation script is still quite new and probably won't work
> in all cases.
> - Error reporting is primitive, as you've experienced, which makes it
> hard for us to help.
> - Manually installing isn't *that* difficult, and most importantly:
> - Understanding the concepts involved will serve as a valuable
> introduction to hacking on Guix.

These are good points.

I should clarify that I suggested to Reshu to use the script to get
started a little more quickly.  This is for making a first recorded
contribution, which is a requirement for all who want to become an
Outreachy intern.

--
Ricardo

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Outreachy'18
  2018-03-06 21:34     ` Outreachy'18 Ricardo Wurmus
@ 2018-03-07  4:02       ` Reshu Singh
  0 siblings, 0 replies; 10+ messages in thread
From: Reshu Singh @ 2018-03-07  4:02 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

Thanks!Working on it :)

On Wed, 7 Mar 2018 at 3:04 AM, Ricardo Wurmus <rekado@elephly.net> wrote:

>
> Hi Tobias,
>
> > That said, you should consider installing Guix manually using the
> > guide above, instead of using a script:
> >
> > - The installation script is still quite new and probably won't work
> > in all cases.
> > - Error reporting is primitive, as you've experienced, which makes it
> > hard for us to help.
> > - Manually installing isn't *that* difficult, and most importantly:
> > - Understanding the concepts involved will serve as a valuable
> > introduction to hacking on Guix.
>
> These are good points.
>
> I should clarify that I suggested to Reshu to use the script to get
> started a little more quickly.  This is for making a first recorded
> contribution, which is a requirement for all who want to become an
> Outreachy intern.
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>

[-- Attachment #2: Type: text/html, Size: 1414 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-03-07  4:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-06 19:34 Outreachy'18 Reshu Singh
2018-03-06 20:06 ` Outreachy'18 Konrad Hinsen
2018-03-06 20:28   ` Outreachy'18 Ricardo Wurmus
2018-03-06 20:54   ` Outreachy'18 Tobias Geerinckx-Rice
2018-03-06 20:59     ` Outreachy'18 Tobias Geerinckx-Rice
2018-03-06 21:34     ` Outreachy'18 Ricardo Wurmus
2018-03-07  4:02       ` Outreachy'18 Reshu Singh
2018-03-06 20:32 ` Outreachy'18 Ricardo Wurmus
2018-03-06 21:00   ` Outreachy'18 Gábor Boskovits
2018-03-06 21:16 ` Outreachy'18 Clément Lassieur

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).