Forum Discussion

garz75's avatar
garz75
New Contributor
27 days ago

1password-cli brew installation/upgrade fails

Hi

Since I have updated brew today, any of these command fails : 

$ brew upgrade
$ brew upgrade 1password-cli
$ brew install 1password-cli
==> Fetching downloads for: 1password-cli
✔︎ Cask 1password-cli (2.32.0)                                                                                                                                                                                                                        [Verifying     8.8MB/  8.8MB]
Error: Cask '1password-cli' definition is invalid: invalid 'depends_on macos' value: unknown or unsupported macOS version: :"10.11"


It looks like an issue with the 1password-cli cask, that defines an older MacOS version that is no longer supported by brew... It is rather annoying because I don't want to uninstall 1password-cli ( I use it to store my development secrets: API keys, etc.) and I need a recent version of brew...

Please halp! Fred

$ uname -a
Darwin localhost 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11 21:16:05 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_X86_64 x86_64
$ op --version
2.31.1
$ brew config
HOMEBREW_VERSION: 4.6.20-112-gb652f7b
ORIGIN: https://github.com/Homebrew/brew
HEAD: b652f7b61019b6a8babb078dfcff13352bc4604d
Last commit: 74 minutes ago
Branch: main
Core tap HEAD: fdf138096bec1258922d3cd4ec1647d3923bf4bd
Core tap last commit: 47 minutes ago
Core tap JSON: 10 Nov 18:40 UTC
Core cask tap JSON: 10 Nov 18:40 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.ibhXfildbe/org.macosforge.xquartz:0
HOMEBREW_DOWNLOAD_CONCURRENCY: 16
HOMEBREW_EDITOR: emacs
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.5 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 17.0.0 build 1700
Git: 2.51.2 => /usr/local/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.7.1-x86_64
CLT: 26.1.0.0.1.1761104275
Xcode: N/A

 

1 Reply

  • garz75's avatar
    garz75
    New Contributor

    Hi,

    After upgrading/updating/cleaning again brew, I managed to also update 1password-cli. Other cask also had this issue (wireshark...) so I guess it is/was more a brew issue than a 1password-cli issue.

    Good day!