oracle / oci-cli

Command Line Interface for Oracle Cloud Infrastructure

Home Page:https://cloud.oracle.com/cloud-infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu 20.04.6 VM Installation Issue

diwakarsingh95 opened this issue · comments

I'm trying to install cli on Ubuntu 20.04.6 VM using bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"
Getting following error:

Traceback (most recent call last):
  File "/tmp/oci_cli_install_tmp_oSJp", line 722, in <module>
    main()
  File "/tmp/oci_cli_install_tmp_oSJp", line 670, in main
    install_native_dependencies_for_ubuntu()
  File "/tmp/oci_cli_install_tmp_oSJp", line 590, in install_native_dependencies_for_ubuntu
    exec_command(cmd)
  File "/tmp/oci_cli_install_tmp_oSJp", line 141, in exec_command
    subprocess.check_call(command_list, cwd=cwd, env=env)
  File "/usr/lib/python3.8/subprocess.py", line 359, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: ''