You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the following deprecated, cask taps tapped: caskroom/caskUntap them with `brew untap`.Warning: Some installed formulae are deprecated or disabled.You should find replacements for the following formulae: openssl@1.1 python@3.8Warning: You have unlinked kegs in your Cellar.Leaving kegs unlinked can lead to build-trouble and cause formulae that depend onthose kegs to fail to run properly once built. Run `brew link` on these: glib numpy kubernetes-cli gnupgWarning: You have an unnecessary local Cask tap.This can cause problems installing up-to-date casks.Please remove it by running: brew untap homebrew/caskWarning: You have an unnecessary local Core tap!This can cause problems installing up-to-date formulae.Please remove it by running: brew untap homebrew/coreWarning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
echo'export PATH="/usr/local/sbin:$PATH"'>>~/.zshrc
Warning: Your Xcode (13.4.1) is outdated.
Please update to Xcode 14.2 (or delete it).
Xcode can be updated from the App Store.
Verification
My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
I ran brew update twice and am still able to reproduce my issue.
HOMEBREW_VERSION: 4.2.20
ORIGIN: https://github.com/Homebrew/brew
HEAD: c2ed3327c605c3e738359c9807b8f4cd6fec09eb
Last commit: 7 days ago
Core tap HEAD: d6500a8912b02f838d9edf36263f6487fb8af34d
Core tap last commit: 41 minutes ago
Core tap JSON: 06 May 12:13 UTC
Core cask tap HEAD: 8f1cdf8d25c0f626b622362cedaf76c4c428c6f5
Core cask tap last commit: 32 minutes ago
Core cask tap JSON: 06 May 12:13 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 13.1.6 build 1316
Git: 2.32.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 12.7.4-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 13.4.1
What were you trying to do (and why)?
I was just trying to call apachectl status (or with sudo) and I get the error
/usr/local/bin/apachectl: line 95: lynx: command not found
The following command does not return anything, so this dependency, which seems to be needed, was not installed when I installed httpd, so I think this is a bug
brew list | grep lynx
My MacOS (Monterey) already comes with an apache server, but I didn't want to use this one, so I installed it with brew too. Now, it seems that apachectl is automatically referring to the brew's httpd, because of the order of the exported paths (I suppose). Anyway, I don't know if this has anything to do with the issue.
I saw this discussion https://github.com/orgs/Homebrew/discussions/2960, but I still don't get why after 2 years this has not yet been solved and what the official solution is and why. If I do brew reinstall $(brew deps httpd) httpd , it does not solve the issue, because, indeed, lynx will not appear in brew deps httpd
Doing brew install lynx does seem to solve this specific issue, but then shouldn't the httpd formula depend on lynx and so automatically install it, if it uses it?
What happened (include all command output)?
/usr/local/bin/apachectl: line 95: lynx: command not found
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I was just trying to call
apachectl status
(or withsudo
) and I get the errorThe following command does not return anything, so this dependency, which seems to be needed, was not installed when I installed
httpd
, so I think this is a bugMy MacOS (Monterey) already comes with an apache server, but I didn't want to use this one, so I installed it with brew too. Now, it seems that
apachectl
is automatically referring to the brew'shttpd
, because of the order of the exported paths (I suppose). Anyway, I don't know if this has anything to do with the issue.I saw this discussion https://github.com/orgs/Homebrew/discussions/2960, but I still don't get why after 2 years this has not yet been solved and what the official solution is and why. If I do
brew reinstall $(brew deps httpd) httpd
, it does not solve the issue, because, indeed, lynx will not appear inbrew deps httpd
Doing
brew install lynx
does seem to solve this specific issue, but then shouldn't thehttpd
formula depend onlynx
and so automatically install it, if it uses it?What happened (include all command output)?
What did you expect to happen?
No error
Step-by-step reproduction instructions (by running
brew
commands)brew install httpd php
apachectl status
The text was updated successfully, but these errors were encountered: