Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo: command not found in setup.sh with root user #687

Closed
hilookas opened this issue Sep 14, 2022 · 0 comments
Closed

sudo: command not found in setup.sh with root user #687

hilookas opened this issue Sep 14, 2022 · 0 comments
Labels
bug Something isn't working done: wait for stable This issue was done, but we are waiting to push it for the master branch.

Comments

@hilookas
Copy link
Contributor

Description:

I am newbie to arch linux. To test the kworkflow in arch linux, I installed arch linux with only root user.

When I run setup.sh, it gives an error:

sudo: command not found

How to Reproduce:

  1. Fresh install of arch linux
  2. Using root as login user
  3. ./setup.sh --install

Expected behavior:

Install package without sudo.

Screenshots:

[root@archlinux kworkflow]# ./setup.sh --install
Checking dependencies ...
Can we install the following dependencies ccache rsync perl-io-socket-ssl perl-authen-sasl python-pip lzop lzip librsvg texlive-bin python-virtualenv graphviz imagemagick python-sphinx dunst libpulse pulseaudio python-docutils qemu ? [y/N]: yes
./setup.sh: line 85: sudo: command not found
Can we install the following pip dependencies "sphinx-book-theme" "jinja2>=3" ? [y/N]: ^C

System information:

  • OS: Arch Linux
  • kw Version: unstable
  • Bash Version: 5.1.16(1)
@hilookas hilookas added the bug Something isn't working label Sep 14, 2022
hilookas added a commit to hilookas/kworkflow that referenced this issue Sep 14, 2022
After this commit, setup.sh will check if it is running as root and
install packages without sudo if so.

Closes kworkflow#687

Signed-off-by: lookas <i@18kas.com>
@rodrigosiqueira rodrigosiqueira added the done: wait for stable This issue was done, but we are waiting to push it for the master branch. label Sep 18, 2022
Kamorst pushed a commit to Kamorst/kworkflow that referenced this issue Oct 4, 2022
After this commit, setup.sh will check if it is running as root and
install packages without sudo if so.

Closes kworkflow#687

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: lookas <i@18kas.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done: wait for stable This issue was done, but we are waiting to push it for the master branch.
Projects
None yet
Development

No branches or pull requests

2 participants