Skip to main content
added 270 characters in body
Source Link

Try executing brew with bothadding the --verbose and --debug flags.following environment variables

export HOMEBREW_VERBOSE=1
export HOMEBREW_DEBUG=1
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_INSTALL_FROM_API=1

In this case, the path to the formula file was wrong, but the output without the debug flag was worthless. Here's the error when I include the --debug flag:

user@host ~ %  brew reinstall --verbose --debug ./wget-1.24.5.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::NullLoader): loading ./wget-1.24.5.rb
Warning: No available formula with the name "./wget-1.24.5.rb".

I fixed the issue by changing the ./ to the actual path where the wget-1.24.5.rb file lives.

And I was able to fix the attempts to download the formula.jws.json file with curl with the HOMEBREW_NO_INSTALL_FROM_API environment variable.

Finally, I realized that if you download the bottle, you don't even need the formula. You can link to it directly

brew reinstall --verbose --debug path/to/wget-1.24.5.ventura.bottle.tar.gz

Try executing brew with both the --verbose and --debug flags.

In this case, the path to the formula file was wrong, but the output without the debug flag was worthless. Here's the error when I include the --debug flag:

user@host ~ %  brew reinstall --verbose ./wget-1.24.5.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::NullLoader): loading ./wget-1.24.5.rb
Warning: No available formula with the name "./wget-1.24.5.rb".

I fixed the issue by changing the ./ to the actual path where the wget-1.24.5.rb file lives.

Try adding the following environment variables

export HOMEBREW_VERBOSE=1
export HOMEBREW_DEBUG=1
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_INSTALL_FROM_API=1

In this case, the path to the formula file was wrong, but the output without the debug flag was worthless. Here's the error when I include the --debug flag:

user@host ~ %  brew reinstall --verbose --debug ./wget-1.24.5.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::NullLoader): loading ./wget-1.24.5.rb
Warning: No available formula with the name "./wget-1.24.5.rb".

I fixed the issue by changing the ./ to the actual path where the wget-1.24.5.rb file lives.

And I was able to fix the attempts to download the formula.jws.json file with curl with the HOMEBREW_NO_INSTALL_FROM_API environment variable.

Finally, I realized that if you download the bottle, you don't even need the formula. You can link to it directly

brew reinstall --verbose --debug path/to/wget-1.24.5.ventura.bottle.tar.gz
Source Link

Try executing brew with both the --verbose and --debug flags.

In this case, the path to the formula file was wrong, but the output without the debug flag was worthless. Here's the error when I include the --debug flag:

user@host ~ %  brew reinstall --verbose ./wget-1.24.5.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::NullLoader): loading ./wget-1.24.5.rb
Warning: No available formula with the name "./wget-1.24.5.rb".

I fixed the issue by changing the ./ to the actual path where the wget-1.24.5.rb file lives.