-
Good morning, I am having an issue after clicking install as seen here. It is showing several lines where "sudo: command not found" It also will not let me perform the sudo command for chmod but will allow me to just chmod as I am signed in as root. Any ideas what I am doing wrong? I'm new to ssh and terminal stuff. Thanks in advance! Thank you for using the Njord Menu system. A printout of data entered will be displayed to you This account is named steam and will act as a service account only----------------NONROOT STEAM ACCOUNT PASSWORD--------------Password must be 6 Characters or more
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The lines with errors are trying to execute apt/dpkg commands and not finding them. Are you running some custom ubuntu derivative that has replaced apt with some other package manager? In a default Ubuntu install these are critical components and cannot be safely removed. The only other thing I can think of would be a broken environment that doesn't include /usr/bin in the $PATH. |
Beta Was this translation helpful? Give feedback.
-
I probably should have mentioned I’m running the official Ubuntu release in docker. No changes. Just a fresh container environment. |
Beta Was this translation helpful? Give feedback.
-
Your docker container is not a complete OS install, it's missing components like the package manager. If you want to install packages inside a docker container, you'll have to consult the docker documentation for info on installing apt/dpkg and any other applications that are missing in your container and used by the script. You can run scripts like this to see the actual commands being attempted (warning, very verbose): This project might be a better starting point for you if you're focused on learning to use docker to host Valheim: https://github.com/lloesche/valheim-server-docker |
Beta Was this translation helpful? Give feedback.
Your docker container is not a complete OS install, it's missing components like the package manager. If you want to install packages inside a docker container, you'll have to consult the docker documentation for info on installing apt/dpkg and any other applications that are missing in your container and used by the script. You can run scripts like this to see the actual commands being attempted (warning, very verbose):
bash -x ./njordmenu.sh
This project might be a better starting point for you if you're focused on learning to use docker to host Valheim: https://github.com/lloesche/valheim-server-docker