Closed brianjking closed 6 years ago
Run brew doctor --debug
and brew tap
and paste their output here.
@MikeMcQuaid
brew doctor --debug
Checking check_access_cache
Checking check_access_cellar
Checking check_access_homebrew_repository
Checking check_access_lock_dir
Checking check_access_logs
Checking check_access_prefix_directories
Checking check_access_site_packages
Checking check_brew_git_origin
Checking check_build_from_source
Checking check_clt_minimum_version
Checking check_clt_up_to_date
Checking check_coretap_git_origin
Checking check_dyld_vars
Checking check_filesystem_case_sensitive
Checking check_for_anaconda
Checking check_for_bad_curl
Checking check_for_bad_python_symlink
Checking check_for_beta_xquartz
Checking check_for_config_scripts
Checking check_for_external_cmd_name_conflict
Checking check_for_gettext
Checking check_for_git
Checking check_for_iconv
Checking check_for_installed_developer_tools
Checking check_for_multiple_volumes
Checking check_for_non_prefixed_coreutils
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb
Checking check_for_non_prefixed_findutils
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/findutils.rb
Checking check_for_other_frameworks
Checking check_for_other_package_managers
Checking check_for_pydistutils_cfg_in_home
Checking check_for_stray_dylibs
Checking check_for_stray_headers
Checking check_for_stray_las
Checking check_for_stray_pcs
Checking check_for_stray_static_libs
Checking check_for_symlinked_cellar
Checking check_for_tap_ruby_files_locations
Checking check_for_unlinked_but_not_keg_only
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/ab.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/opt/ab/.brew/ab.rb
Error: Calling keg_only :provided_by_osx is disabled!
Use keg_only :provided_by_macos instead.
/usr/local/Homebrew/Library/Homebrew/formula.rb:1015:in `keg_only?'
Or, even better, submit a PR to fix it!
& brew tap
output is below:
brew tap
bradp/vv
caskroom/cask
caskroom/fonts
cloudfoundry/tap
dart-lang/dart
homebrew/apache
homebrew/bundle
homebrew/core
homebrew/dupes
homebrew/gui
homebrew/php
homebrew/services
homebrew/versions
homebrew/x11
linode/cli
neovim/neovim
osx-cross/avr
rogual/neovim-dot-app
tomanthony/brews
youtux/livecheck
zyedidia/micro
@brianjking You need to run brew untap
on:
homebrew/apache
homebrew/dupes
homebrew/gui
homebrew/php
homebrew/versions
homebrew/x11
In this case the issue is that your homebrew/apache tap has been set to an old revision.
@MikeMcQuaid Still having the same error in brew doctor
showing even after running brew untap
on the taps you specified. Any additional steps to take?
Thanks!
@brianjking brew update-reset
may fix it.
@MikeMcQuaid Ran brew update-reset
successfully. Followed it by multiple brew update
and then brew upgrade
, still seeing same error with brew doctor
.
Here's the output of brew doctor --debug
again...
brew doctor --debug 13:50 19.04.18
Checking check_access_cache
Checking check_access_cellar
Checking check_access_homebrew_repository
Checking check_access_lock_dir
Checking check_access_logs
Checking check_access_prefix_directories
Checking check_access_site_packages
Checking check_brew_git_origin
Checking check_build_from_source
Checking check_clt_minimum_version
Checking check_clt_up_to_date
Checking check_coretap_git_origin
Checking check_dyld_vars
Checking check_filesystem_case_sensitive
Checking check_for_anaconda
Checking check_for_bad_curl
Checking check_for_bad_python_symlink
Checking check_for_beta_xquartz
Checking check_for_config_scripts
Checking check_for_external_cmd_name_conflict
Checking check_for_gettext
Checking check_for_git
Checking check_for_iconv
Checking check_for_installed_developer_tools
Checking check_for_multiple_volumes
Checking check_for_non_prefixed_coreutils
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb
Checking check_for_non_prefixed_findutils
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/findutils.rb
Checking check_for_other_frameworks
Checking check_for_other_package_managers
Checking check_for_pydistutils_cfg_in_home
Checking check_for_stray_dylibs
Checking check_for_stray_headers
Checking check_for_stray_las
Checking check_for_stray_pcs
Checking check_for_stray_static_libs
Checking check_for_symlinked_cellar
Checking check_for_tap_ruby_files_locations
Checking check_for_unlinked_but_not_keg_only
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/Formula/ab.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/opt/ab/.brew/ab.rb
Error: Calling keg_only :provided_by_osx is disabled!
Use keg_only :provided_by_macos instead.
/usr/local/Homebrew/Library/Homebrew/formula.rb:1015:in `keg_only?'
Or, even better, submit a PR to fix it!
& brew tap
bradp/vv
caskroom/cask
caskroom/fonts
cloudfoundry/tap
dart-lang/dart
homebrew/bundle
homebrew/core
homebrew/services
linode/cli
neovim/neovim
osx-cross/avr
rogual/neovim-dot-app
tomanthony/brews
youtux/livecheck
zyedidia/micro
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/Formula/ab.rb
Can you paste the output of ls -lha /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/Formula/ab.rb
?
@MikeMcQuaid
ls -lha /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/Formula/ab.rb
ls: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/Formula/ab.rb: No such file or directory
@brianjking Odd. brew uninstall --force ab
may be necessary but note if you're using that formula it's no longer provided by any official tap (but is part of the httpd
formula).
macOS provides ab
.
@MikeMcQuaid Thank you! Finally back up and running...
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
brew doctor
command and receive the error below:brew config
outputs the information below. RunningMacOS 10.12.6
Attempted to search Stack Overflow, Open & Closed issues on this repository and
homebrew-core
repository, & Google and couldn't find any specific information on how I should go about resolving this.Prior to submitting issue I reviewed the common issues and troubleshooting pages as well as tried to run
brew update
multiple times,brew doctor
still reports the same issue.Thank you!