I have installed a .net command package called dotnet-deb (link)
This is all working fine, save for when my CI build runs, I get:
bash: line 112: dotnet-deb: command not found
The solution I've seen posted in various places says to edit /etc/sudoers with the following changes:
cat /etc/sudoers
#Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
However, when I opened my /etc/sudoers it was entirely empty. So I added the config values in, saved it and reran my build but it's not fixed this issue. I'm still not very experienced with Linux and so I'm now wondering how to go about attempting to fix this.
What would be the recommended fix? Why would my /etc/sudoers be empty?
I'm running the latest version of the PopOS distro.
GitLab Runner CommandHow is gitlab-runner related?I have installed a .net command packageWhere? Inside CI runner or on host?This is all working fineWhat exactly is "working fine"? What do you mean?when my CI build runsHow does your CI build runs? Please post an gitalb.ci-yml file. Please post how have you configured your gitlab-runner? What gitlab-runner executor aer you usingThe solution I'veIs "the solutions" related to dotnet?when I opened my /etc/sudoersHow did you opened the file? Inside CI or on the host running gitlab-runner? What program did you use? - KamilCuk