Re: Outreachy'18
Thanks!Working on it :) On Wed, 7 Mar 2018 at 3:04 AM, Ricardo Wurmuswrote: > > 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 > >
Re: Outreachy'18
Konrad Hinsenwrites: > 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
Re: Outreachy'18
Reshu Singhwrites: > 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
Re: Outreachy'18
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
Re: Outreachy'18
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 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 > > > >
Re: Outreachy'18
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.
Re: Outreachy'18
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.
Re: Outreachy'18
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
Re: Outreachy'18
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.
Outreachy'18
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".