oracle / oracle/oci-cli

Cannot install - OSError: [Errno 36] File name too long:

Open
#921 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

I try to install cli with this but I get this error. I didn't find another way to install it.

bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"

Can you reduce the name ? Or a temporary fix?

We are stuck now, we cannot use anything from our side

ERROR: Could not install packages due to an OSError: [Errno 36] File name too long: '/home/mint/.local/lib/python3.10/site-packages/oci_cli/help_text_producer/data_files/man/database-management_managed-database_enable-autonomous-database-management-feature-autonomous-database-diagnostics-and-management-feature-details.1'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the installation command from scripts/install/install.sh and inspect the generated path under oci_cli/help_text_producer/data_files/man. Determine why the database-management manpage filename exceeds the filesystem limit, then verify that installation completes without the reported Errno 36 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.