Error while installing on ubuntu 20.04.2

got :

main: line 210: command: -,: invalid option
command: usage: command [-pVv] command [arg …]
There was some problem while installing Dgraph. Please share the output of this script with us on https://discuss.dgraph.io so that we can resolve the issue for you.

after using :

curl https://get.dgraph.io -sSf | bash

on Ubuntu 20.04.2 LTS

any ideas?

Based on that, looks fine. Try again. Also try to open Bash before, maybe you are using another type of shell.

UPDATE:

Check if you have help command - not sure, but I think it is Bash only.

See command Man Page - Linux - SS64.com

thanks for the reply. Im using BASH. I have command - help command returns

help command
command: command [-pVv] command [arg …]
Execute a simple command or display information about commands.

Runs COMMAND with ARGS suppressing  shell function lookup, or display
information about the specified COMMANDs.  Can be used to invoke commands
on disk when a function with the same name exists.

Options:
  -p    use a default value for PATH that is guaranteed to find all of
        the standard utilities
  -v    print a description of COMMAND similar to the `type' builtin
  -V    print a more verbose description of each COMMAND

Exit Status:
Returns exit status of COMMAND, or failure if COMMAND is not found.

any other ideas would be appreciated.

i still get the error

Download complete.
Inflating binaries (password may be required).
main: line 210: command: -,: invalid option
command: usage: command [-pVv] command [arg …]
There was some problem while installing Dgraph. Please share the output of this script with us on https://discuss.dgraph.io so that we can resolve the issue for you.

Sorry, but I have no idea what could be happening. @dmai do you have?

what do you mean by this?

Looks like this error only happens if you’re installing Dgraph on top of an existing installation. This has just been fixed in the following PR. Thanks for letting us know!

1 Like

I pinged Daniel, to know if he have any idea about this. So, he fixed.

Cheers!

1 Like