Literally cant even run ./installfog.sh -_-
-
I am beyond confused at this point.
I’ve git cloned the fog distro to my system. followed instruction (sudo -i | cd /root/fogproject/bin | ./installfog.sh)
I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.
“Please switch to a proper root environment to run the installer! Use ‘sudo -i’ or ‘su -’ (skip the ’ and note the hyphen at the end of the su command as it is important to load root’s environment).”
im lost here.
Arch linux (EndeavorOS, KDE plasma), everything up to date, everything should be compatible.
Edit: disregard this post. i went and asked the EndeavorOS community about fixes for this and was told, in this order:
- try sudo -i and su -
- try sudo - and su -i
- make sure you’re in the right directory
- is sudo installed?
i then, out of frustration, logged in as root, and ran the commands from root. and was told “ewww your using root!”
they couldnt get their heads around that it wasnt an EBKAC error, and while im not a super experienced linux user, even i could tell they were grasping at straws trying to explain basic concepts.
I’ll re-try this with CentOS and let y’all know how it goes.
-
@tacOS try:
cd /root/fogproject/bin sudo ./installfog.sh
-
@Tom-Elliott said in Literally cant even run ./installfog.sh -_-:
@tacOS try:
cd /root/fogproject/bin sudo ./installfog.sh
“Please switch to a proper root environment to run the installer! Use ‘sudo -i’ or ‘su -’ (skip the ’ and note the hyphen at the end of the su command as it is important to load root’s environment).”
Same error.
-
@tacOS updated main post, turning off notifications on this post.
-
@tacOS said in Literally cant even run ./installfog.sh -_-:
I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.
It’s a workaround but I managed to continue by editing installfog.sh and deleting the if-fi block that has this message. I think it’s using a very specific way of testing that might not work in every distro ( like the previous block that checks if the user ID is 0 to see if it’s root and it won’t work on distros that randomize the root’s ID). I’m working on Garuda Linux (Arch based), and I’ve hit another wall at the end with TFT but at least it’s installed.