ITADN

`brew search` does not show matching casks on linux

#22667Closeddawidd6 创建于 2026-06-11
D
dawidd6commented
### `brew doctor` output ```shell linuxbrew@4585e5188d0e:~$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: You have an unnecessary local Core tap! This can cause problems installing up-to-date formulae. Please remove it by running: brew untap homebrew/core ``` ### Verification - [x] I ran `brew update` twice and am still able to reproduce my issue. - [x] My "`brew doctor` output" above says `Your system is ready to brew` or a definitely unrelated `Tier` message. - [x] This issue's title and/or description do not reference a single formula e.g. `brew install wget`. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead. ### `brew config` output ```shell HOMEBREW_VERSION: 6.0.0 ORIGIN: https://github.com/Homebrew/brew HEAD: 3d9e344622974a7f96da927fd0407e08581eb437 Last commit: 5 hours ago Branch: HEAD Core tap HEAD: 5a5ef525c6ace520a0157e26455ebe1de331b92e Core tap last commit: 4 hours ago HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_CASK_OPTS: [] HOMEBREW_DOWNLOAD_CONCURRENCY: 24 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_MAKE_JOBS: 12 HOMEBREW_REQUIRE_TAP_TRUST: set Homebrew Ruby: 4.0.5 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.5_1/bin/ruby CPU: dodeca-core 64-bit zen2 Clang: N/A Git: 2.54.0 => /bin/git Curl: 8.5.0 => /bin/curl Kernel: Linux 7.0.0-22-generic x86_64 GNU/Linux OS: Ubuntu 24.04.4 LTS Host glibc: 2.39 Host libstdc++: 6.0.33 /usr/bin/gcc-13: 13.3.0 /usr/bin/ruby: N/A glibc: N/A gcc@13: N/A gcc: N/A xorg: N/A ``` ### What were you trying to do (and why)? (technically `brew doctor` does not say "Your system is ready to brew", but it's the official Homebrew container) `brew search claude-code` should show `claude-code` cask on linux. But this cask is only an example, font casks also do not show in search results. ### What happened (include all command output)? ``` linuxbrew@4585e5188d0e:~$ brew search claude-code ==> Formulae claude-code-router claude-code-templates claude-cmd ``` (the same happens on my host too) ### What did you expect to happen? `claude-code` cask should also be shown in search results. ### Step-by-step reproduction instructions (by running `brew` commands) ```shell 1. Run a container from `ghcr.io/homebrew/brew` image. 2. Run `brew install claude-code`. 3. Observe the cask being fetched and installed. 4. Run `brew search claude-code`. 5. No `claude-code` in search results. ```
关闭于 2026-06-12 0 条评论