Hi dear GNUsteppers,
today I tried installing GNUstep on a fresh Ubuntu 24.04 copy. For this I used the command found on the GNUstep website: curl https://raw.githubusercontent.com/gnustep/tools-scripts/master/gnustep-web-install-dev | bash However the script failed to read my password, here is the output of the script: lars@Ubuntu-2404-VirtualBox:~$ curl https://raw.githubusercontent.com/gnustep/tools-scripts/master/gnustep-web-install-dev | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Install GNUstep 100 1863 100 1863 0 0 5909 0 --:--:-- --:--:-- --:--:-- 5914 .:;;::::;;: ..:;X@:;X@@S:t8%::. .;;88tStttttttttX8%88;: .:;% @tt%t;;;;;;;::;;@8X;;: ;:tS;ttt;;::;::;;t; 8SX @8; ..:;S@S;;t;;;:::::tX@ X :: :;:S::;;;;::;:;::;%8 8 .:. .;:t .:X :S::::::;;;:::tS@ X8%t .;S8S:::.SS:;:;::;:;;;;;;%X@ .. 8 8: :;; 8t %;8.::;;;:8888888X8 Xt:: .:;X SS888;;;;;;St%..... . 8:@: ;.:8 t8%;;::;;tXS . ;8S; .:8@ 8t88t@::;%SS . . S :. .:S%tt.t88@8.;St%; . @X%;:. ...:Xt;;;; X%@SXSS% . @ 8:; ;.:St;t8t.8t :X%%: . %:S t: ::S 8;t:t.;@S S:@@Xt:. .:%8:88t%: :XX8@;:;8@:.X:@.;%8 X@t;;tX%%8%.: :X8@88 : X:..::;:[email protected]:::.:::;: ::t@8X;S;.%8;tttSSt;::..:. ...:;:Xt.t@;;;::.. .;tS;:: IMPORTANT! You must update your .ssh directory so it contains your github ssh key Begin setup for linux sudo command is already present. Adding lars to sudoers... Please enter the root user's password. Password: su: Authentication failure ======== Create gnustep build directories ======== bash: line 44: git: command not found bash: line 45: ./tools-scripts/clone-essential-repos: No such file or directory ================ Install Dependencies ================ bash: line 49: ./tools-scripts/install-dependencies-linux: No such file or directory ================ Build ================ bash: line 53: ./tools-scripts/build-linux: No such file or directory ================ Post Installation ================ bash: line 57: ./tools-scripts/post-install-linux: No such file or directory Done… It looks like the script isn’t waiting for me to enter the password. I had a look what is going on and found this script: setup-linux: #!/bin/sh export USER=`whoami` if [ ! -e /usr/bin/sudo ]; then echo "Installing sudo..." if [ -e /usr/bin/apt ]; then su -c "apt install sudo" else su -c "rpm install sudo" fi else echo "sudo command is already present." fi if [ ! -e /etc/sudoers.d/${USER} ]; then echo "Adding ${USER} to sudoers..." echo "Please enter the root user's password." su -c 'echo "${USER} ALL=(ALL:ALL) ALL" > /etc/sudoers.d/${USER}' else echo "${USER} is already a member of sudo users." fi In this script I see the line: echo "Please enter the root user's password.“ followed by su -c which I think needs the password. However, the script isn’t waiting for me to enter the password. I am not that of an expert in bash, but shouldn’t be there some sort of „read“ in between both commands? Or I am missing something here? Kind regards, Lars
