linutil icon indicating copy to clipboard operation
linutil copied to clipboard

\033[31mTo run me, You need: curl groups sudo\033[0m

Open AstridC42 opened this issue 1 year ago • 9 comments

The bug: after fresh install of arch on vm, trying to run the linutil and when selecting any option it's say "\033[31mTo run me, You need: curl groups sudo\033[0m"

Steps to reproduce the behavior:

  1. Go to terminal on a fresh vm installation and open linutil
  2. Click on anything
  3. see the error

Screenshots

image

Additional context

tried to install arch a few time and get the same result, using vm fusion and utm for the vm and on both platforms got this message, I also tried the arm version of arch and the same happened. didn't see this message before. and yes I verified that curl and make and all the other basics are installed

AstridC42 avatar Aug 29 '24 23:08 AstridC42

Did you ensure "groups" and "Sudo" is installed . You can install them by running:

Sudo Pacman -s Sudo groups

rudra-code-creator avatar Sep 03 '24 23:09 rudra-code-creator

Yes, they are indeed installed

AstridC42 avatar Sep 04 '24 03:09 AstridC42

Did you ensure "groups" and "Sudo" is installed.

You also need cURL. See the error message.

4yman-0 avatar Sep 13 '24 11:09 4yman-0

This also was installed, this is why this is so confusing to me


From: 4yman @.> Sent: Friday, September 13, 2024 2:31:18 PM To: ChrisTitusTech/linutil @.> Cc: Elijah Bitton @.>; Author @.> Subject: Re: [ChrisTitusTech/linutil] \033[31mTo run me, You need: curl groups sudo\033[0m (Issue #211)

Did you ensure "groups" and "Sudo" is installed.

You also need cURL. See the error message.

— Reply to this email directly, view it on GitHubhttps://github.com/ChrisTitusTech/linutil/issues/211#issuecomment-2348717449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHDJPXFGZDCONHPC2M533WDZWLEINAVCNFSM6AAAAABNLMXT2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBYG4YTONBUHE. You are receiving this because you authored the thread.Message ID: @.***>

AstridC42 avatar Sep 15 '24 12:09 AstridC42

You need to install which

It is due to the following function call that returns error message as which is not found

https://github.com/ChrisTitusTech/linutil/blob/1a17dbf2ac7ad5b7fcae91544596cb9c697b6d20/tabs/common-script.sh#L10-L12

jeevithakannan2 avatar Sep 15 '24 12:09 jeevithakannan2

I will try this

AstridC42 avatar Sep 15 '24 12:09 AstridC42

Also it is probably a good idea to make sure "base-devel" is installed

rudra-code-creator avatar Sep 15 '24 12:09 rudra-code-creator

This will be fixed in https://github.com/ChrisTitusTech/linutil/pull/394

jeevithakannan2 avatar Sep 15 '24 13:09 jeevithakannan2

Also it is probably a good idea to make sure "base-devel" is installed

I encountered the same error when I didn't have which. It is related to which not installed. When the function is called it returns an error message (as which is not found in system) therefore resulting in the message To run me, You need: curl groups sudo

https://github.com/ChrisTitusTech/linutil/blob/1a17dbf2ac7ad5b7fcae91544596cb9c697b6d20/tabs/common-script.sh#L62-L71

jeevithakannan2 avatar Sep 15 '24 13:09 jeevithakannan2

/close I believe it's fixed in #394.

adamperkowski avatar Sep 19 '24 15:09 adamperkowski