Skip to content

brew install external/tap/formula when external/tap is not tapped fails with "No available formula or cask" #8830

Description

@SimonBarendse

Bug report

  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

Install the secrethub-cli in the Docker container linuxbrew/brew:latest.

What happened (include command output)

The formulae was not found (Error: No available formula or cask with the name "secrethub/tools/secrethub-cli".)

Command output
brew install secrethub/tools/secrethub-cli      
==> Tapping secrethub/tools
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/secrethub/homebrew-tools'...
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 182 (delta 12), reused 0 (delta 0), pack-reused 127
Receiving objects: 100% (182/182), 30.87 KiB | 1.19 MiB/s, done.
Resolving deltas: 100% (39/39), done.
Tapped 1 formula (27 files, 136.6KB).
Error: No available formula or cask with the name "secrethub/tools/secrethub-cli".
==> Searching for similarly named formulae...
This similarly named formula was found:
secrethub-cli
To install it, run:
  brew install secrethub-cli
  

What you expected to happen

Successful installation of the CLI, just like when using the linuxbrew/brew:2.5.2 image.

Step-by-step reproduction instructions (by running brew commands)

docker run linuxbrew/brew brew install secrethub/tools/secrethub-cli

Output of brew config and brew doctor commands

# brew doctor
Your system is ready to brew.
# brew config
HOMEBREW_VERSION: 2.5.2-69-g2331927
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2331927a3498e1107aef13f76f1ed2b8309be4b0
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: ebc6339d1832683cb3d9e14ae0f7e2b049102299
Core tap last commit: 5 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: N/A
Git: 2.28.0 => /bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 5.4.0-48-generic x86_64 GNU/Linux
OS: Ubuntu 20.04.1 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: N/A
glibc: N/A
gcc: N/A
xorg: N/A

Metadata

Metadata

Assignees

Labels

outdatedPR was locked due to age

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions