Package Details: oci-cli 3.39.1-1

Git Clone URL: (read-only, click to copy)
Package Base: oci-cli
Description: Command line interface for Oracle Cloud Infrastructure
Upstream URL:
Licenses: Apache-2.0 OR UPL-1.0
Submitter: meanjollies
Maintainer: meanjollies
Last Packager: meanjollies
Votes: 7
Popularity: 0.23
First Submitted: 2018-07-01 18:08 (UTC)
Last Updated: 2024-04-16 19:33 (UTC)

Latest Comments

meanjollies commented on 2024-03-19 13:52 (UTC)

Are you using an AUR helper that could be mangling the PKGBUILD? If not, you must have modified the PKGBUILD unintentionally. I cannot reproduce this, and can confirm that there are no colons, slashes, or hyphens in pkgver.

laasonen commented on 2024-03-19 12:34 (UTC)

I'm getting this error:

==> Making package: oci-cli 3.37.13-1 (2024-03-19T14:32:11 EET)
==> Retrieving sources...
  -> Downloading oci-cli-3.37.13.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5110k    0 5110k    0     0  3896k      0 --:--:--  0:00:01 --:--:-- 6772k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    oci-cli-3.37.13.tar.gz ... Passed
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.

meanjollies commented on 2023-02-16 17:40 (UTC)

@Omar007 This should be good now. Oracle re-released 3.23.0 that included changes.

Omar007 commented on 2023-02-16 17:11 (UTC) (edited on 2023-02-16 17:13 (UTC) by Omar007)

I'm getting a checksum mismatch with PKGBUILD at commit 87d381bc16ab (latest as of writing). The sha256sum for oci-cli-3.23.0.tar.gz on my end is 4786d4b0df43a22ff5224664477d2a3c4e8e04bc3815f48ff976cc8eb943794b. Can anyone confirm this mismatch?

meanjollies commented on 2021-12-30 20:06 (UTC)

The python-click 8.x issue should be resolved for now, thanks to this proposed workaround.

meanjollies commented on 2021-10-17 18:22 (UTC)

Pinning python-click to < 8 will not solve this, as [community] does not contain any 7.x releases. This is solely on Oracle to properly support python-click 8.x, which has been out for a year now. A PKGBUILD for a 7.x release can be found here. The concern with using this is that there are many other packages that depend on python-click that may be expecting at least one feature introduced in the 8.x release. It's a messy situation, and I'm not entirely sure how to resolve this, so I would be open to ideas.

jpetazzo commented on 2021-10-17 13:21 (UTC)

The dependency on Click should be pinned; the upstream file pins it to 7.1.2, but the latest version is 8.X, which is incompatible with the OCI CLI code.

This causes errors like the following:

ERROR: Profile '<DEFAULT>' not found in config file /home/.../.oci/config

See for details.

Thank you!

Cirelli94 commented on 2021-01-02 17:42 (UTC)

Thanks. I rebooted, reinstalled and the dependency problem it's solved.

meanjollies commented on 2020-12-31 16:06 (UTC) (edited on 2020-12-31 16:07 (UTC) by meanjollies)

@Cirelli94, you need to have the python-oci package installed as a dependency.

Cirelli94 commented on 2020-12-31 15:02 (UTC)

Hi! Is someone having a problem like:

$ oci -v
Traceback (most recent call last):
  File "/usr/bin/oci", line 33, in <module>
    sys.exit(load_entry_point('oci-cli==2.17.0', 'console_scripts', 'oci')())
  File "/usr/bin/oci", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/", line 77, in load
    module = import_module('module'))
  File "/usr/lib/python3.9/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/oci_cli/", line 11, in <module>
    from oci import fips
ModuleNotFoundError: No module named 'oci'

Thanks to the mantainer @meanjollies !