how to fix never ending password request with homebrew - homebrew
I'm trying to run brew upgrade, and when trying to uninstall a jdk package, it keeps asking for my password, taking it, and then asking for it again and again and never making progress. I am just wondering what's going on here and how to fix it?
(base) user#computer: ~ $
> brew upgrade
==> Casks with `auto_updates` or `version :latest` will not be upgraded
==> Upgrading 1 outdated package:
adoptopenjdk8 8,242:b08 -> 8,272:b10
==> Upgrading adoptopenjdk8
==> Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u272-b10/OpenJDK8U-jdk_x64_mac_hotspot_8u272b10.pkg
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/91154181533f41bf699ae50474345f17a588dd0524ba21698eed51461b2fdcdb--OpenJDK8U-jdk_x64_mac_hotspot_8u272b10.pkg
==> Verifying SHA-256 checksum for Cask 'adoptopenjdk8'.
==> Uninstalling packages:
net.adoptopenjdk.8.jdk
Password: # <- I entered my password here
Password: # <- and here
Password: # <- I tried entering it 10 times, WTF?
DEBUG OUTPUT
after adding the debug options, it looks like a new sudo command is being run at each password request... how many there are I wonder
> HOMEBREW_DEBUG=1 HOMEBREW_VERBOSE=1 brew upgrade
...
# many preamble lines left out, before ending with this:
==> Casks with `auto_updates` or `version :latest` will not be upgraded
==> Upgrading 1 outdated package:
adoptopenjdk8 8,242:b08 -> 8,275:b01
==> Started upgrade process for Cask adoptopenjdk8
==> Upgrading adoptopenjdk8
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading
==> Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.5.11\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/85196e84e33d19d6ed7c43cbeae1e3f26bfe061baf02e3f2802deeb1a4a7c8b4--OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
==> Checking quarantine support
/usr/bin/xattr
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/user/Library/Caches/Homebrew/downloads/85196e84e33d19d6ed7c43cbeae1e3f26bfe061baf02e3f2802deeb1a4a7c8b4--OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
/usr/bin/xattr -p com.apple.quarantine /Users/user/Library/Caches/Homebrew/downloads/85196e84e33d19d6ed7c43cbeae1e3f26bfe061baf02e3f2802deeb1a4a7c8b4--OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
==> /Users/user/Library/Caches/Homebrew/downloads/85196e84e33d19d6ed7c43cbeae1e3f26bfe061baf02e3f2802deeb1a4a7c8b4--OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg is quarantined
==> Downloaded to -> /Users/user/Library/Caches/Homebrew/downloads/85196e84e33d19d6ed7c43cbeae1e3f26bfe061baf02e3f2802deeb1a4a7c8b4--OpenJDK8U-jdk_x64_mac_hotspot_8u275b01.pkg
==> Verifying SHA-256 checksum for Cask 'adoptopenjdk8'.
==> Uninstalling artifacts
==> 2 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007fa30a2a3780 #cask=#<Cask::Cask:0x00007fa30a29ab08 #token="adoptopenjdk8", #sourcefile_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/.metadata/8,242:b08/20200414143743.728/Casks/adoptopenjdk8.rb>, #tap=nil, #block=#<Proc:0x00007fa30a29aa68#/usr/local/Caskroom/adoptopenjdk8/.metadata/8,242:b08/20200414143743.728/Casks/adoptopenjdk8.rb:1>, #default_config=#<Cask::Config:0x00007fa30a29aa40 #explicit={}>, #caskroom_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8>, #metadata_master_container_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/.metadata>, #config=#<Cask::Config:0x00007fa30a298e98 #explicit={}, #default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/user/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/user/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/user/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/user/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/user/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/user/Library/Fonts>, :servicedir=>#<Pathname:/Users/user/Library/Services>, :input_methoddir=>#<Pathname:/Users/user/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/user/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/user/Library/Screen Savers>}, #env={}>, #dsl=#<Cask::DSL:0x00007fa30897e6d8 #cask=#<Cask::Cask:0x00007fa30a29ab08 ...>, #token="adoptopenjdk8", #version="8,242:b08", #sha256="b24754532fdefc3ae03c56dce972803fc78fd2243bbab12fb412a93aabf05adc", #url=#<URL:0x00007fa30897d828 #uri=#<URI::HTTPS https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_mac_hotspot_8u242b08.pkg>, #using=nil, #tag=nil, #branch=nil, #revisions=nil, #revision=nil, #trust_cert=nil, #cookies=nil, #referer=nil, #header=nil, #user_agent=:default, #data=nil, #specs={:user_agent=>:default}>, #appcast=#<Cask::DSL::Appcast:0x00007fa30897d3a0 #uri=#<URI::HTTPS https://github.com/adoptopenjdk/openjdk8-binaries/releases.atom>, #parameters={}>, #name=["AdoptOpenJDK 8"], #homepage="https://adoptopenjdk.net/", #artifacts=#<SortedSet: {...}>, #staged_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/8,242:b08>, #language_eval=nil>>, #directives={:pkgutil=>"net.adoptopenjdk.8.jdk", :signal=>[]}>, #<Cask::Artifact::Pkg:0x00007fa30897c630 #cask=#<Cask::Cask:0x00007fa30a29ab08 #token="adoptopenjdk8", #sourcefile_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/.metadata/8,242:b08/20200414143743.728/Casks/adoptopenjdk8.rb>, #tap=nil, #block=#<Proc:0x00007fa30a29aa68#/usr/local/Caskroom/adoptopenjdk8/.metadata/8,242:b08/20200414143743.728/Casks/adoptopenjdk8.rb:1>, #default_config=#<Cask::Config:0x00007fa30a29aa40 #explicit={}>, #caskroom_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8>, #metadata_master_container_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/.metadata>, #config=#<Cask::Config:0x00007fa30a298e98 #explicit={}, #default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/user/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/user/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/user/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/user/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/user/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/user/Library/Fonts>, :servicedir=>#<Pathname:/Users/user/Library/Services>, :input_methoddir=>#<Pathname:/Users/user/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/user/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/user/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/user/Library/Screen Savers>}, #env={}>, #dsl=#<Cask::DSL:0x00007fa30897e6d8 #cask=#<Cask::Cask:0x00007fa30a29ab08 ...>, #token="adoptopenjdk8", #version="8,242:b08", #sha256="b24754532fdefc3ae03c56dce972803fc78fd2243bbab12fb412a93aabf05adc", #url=#<URL:0x00007fa30897d828 #uri=#<URI::HTTPS https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_mac_hotspot_8u242b08.pkg>, #using=nil, #tag=nil, #branch=nil, #revisions=nil, #revision=nil, #trust_cert=nil, #cookies=nil, #referer=nil, #header=nil, #user_agent=:default, #data=nil, #specs={:user_agent=>:default}>, #appcast=#<Cask::DSL::Appcast:0x00007fa30897d3a0 #uri=#<URI::HTTPS https://github.com/adoptopenjdk/openjdk8-binaries/releases.atom>, #parameters={}>, #name=["AdoptOpenJDK 8"], #homepage="https://adoptopenjdk.net/", #artifacts=#<SortedSet: {...}>, #staged_path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/8,242:b08>, #language_eval=nil>>, #path=#<Pathname:/usr/local/Caskroom/adoptopenjdk8/8,242:b08/OpenJDK8U-jdk_x64_mac_hotspot_8u242b08.pkg>, #stanza_options={}>}>
==> Uninstalling artifact of class Cask::Artifact::Uninstall
==> Uninstalling packages:
/usr/sbin/pkgutil --pkgs=net.adoptopenjdk.8.jdk
net.adoptopenjdk.8.jdk
/usr/sbin/pkgutil --files net.adoptopenjdk.8.jdk
/usr/sbin/pkgutil --pkg-info-plist net.adoptopenjdk.8.jdk
==> Deleting pkg directories
/usr/bin/stat -f \%Of -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/test/com/sun
/usr/bin/sudo -E -- /bin/chmod -- 777 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/test/com/sun
Password:
Sorry, try again.
Password:
/usr/bin/sudo -E -- /bin/rmdir -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/test/com/sun
Password:
/usr/bin/stat -f \%Of -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/src/com/sun
/usr/bin/sudo -E -- /bin/chmod -- 777 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/src/com/sun
Password:
Sorry, try again.
Password:
/usr/bin/sudo -E -- /bin/rmdir -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/jmx/jmx-scandir/src/com/sun
Password:
/usr/bin/stat -f \%Of -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/demo/jpda/com/sun/tools/example
/usr/bin/sudo -E -- /bin/chmod -- 777 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/demo/jpda/com/sun/tools/example
Password:
/usr/bin/sudo -E -- /bin/rmdir -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/demo/jpda/com/sun/tools/example
Password:
/usr/bin/stat -f \%Of -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/annotations/DependencyChecker/Plugins/src/plugins
/usr/bin/sudo -E -- /bin/chmod -- 777 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/annotations/DependencyChecker/Plugins/src/plugins
Password:
/usr/bin/sudo -E -- /bin/rmdir -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/annotations/DependencyChecker/Plugins/src/plugins
Password:
/usr/bin/stat -f \%Of -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/scripting/scriptpad/src/com
/usr/bin/sudo -E -- /bin/chmod -- 777 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/scripting/scriptpad/src/com
Password:
/usr/bin/sudo -E -- /bin/rmdir -- /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/sample/scripting/scriptpad/src/com
After adding the debug options it seemed as though all of the password required operations were changing permissions and deleting folders in the adoptopenjdk directory. I quit homebrew, deleted the adoptopenjdk directory, again ran brew upgrade and it proceeded with the upgrade of adoptopenjdk successfully, but did ask for my password two more times
Related
Homebrew installation failed
I was trying to install Homebrew today on my freshly setup Linux ubuntu. I installed curl and git as usual but when trying to install Homebrew, I got this in my Terminal: david#david-ThinkPad-T460p:~$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ==> Checking for `sudo` access (which may request your password)... ==> This script will install: /home/linuxbrew/.linuxbrew/bin/brew /home/linuxbrew/.linuxbrew/share/doc/homebrew /home/linuxbrew/.linuxbrew/share/man/man1/brew.1 /home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew /home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew /home/linuxbrew/.linuxbrew/Homebrew ==> HOMEBREW_BREW_GIT_REMOTE is set to a non-default URL: ... will be used as the Homebrew/brew Git remote. ==> HOMEBREW_CORE_GIT_REMOTE is set to a non-default URL: ... will be used as the Homebrew/homebrew-core Git remote. Press RETURN/ENTER to continue or any other key to abort: ==> /usr/bin/sudo /bin/chown -R david:david /home/linuxbrew/.linuxbrew/Homebrew ==> Downloading and installing Homebrew... fatal: '...' does not appear to be a git repository fatal: Konnte nicht vom Remote-Repository lesen. Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen und das Repository existiert. Failed during: git fetch --force origin Can anybody help me with that, as I'm pretty new to the subject and working with Linux at all?
Run unset HOMEBREW_BREW_GIT_REMOTE HOMEBREW_CORE_GIT_REMOTE Then run the installer again
What should I do with the password?
I tried to install the homebrew and I tried to put my computer password for the 'password' command. But I don't know why I even can't type one word or one number in terminal. I tried to type my password but it didn't work. Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 Password: Sorry, try again. Password:
InstallationError: Directory '/private/tmp/...' is not installable. Neither 'setup.py' nor 'pyproject.toml' found
I'm trying to make a brew formula work. It installs a python script with 2 dependencies on common libraries including psycopg2. The .tar.gz contains a working setup.py. My .rb Formula is as follows: class Asdf < Formula include Language::Python::Virtualenv homepage "https://my-homepage" url "https://github.com/asdf/asdf/raw/master/asdf-1.0.tar.gz" sha256 "a working sha" version "1.0" depends_on "python#2" depends_on "postgresql" bottle :unneeded resource "redacted" (etc) resource "psycopg2" do url "https://files.pythonhosted.org/packages/c0/07/93573b97ed61b6fb907c8439bf58f09957564cf7c39612cef36c547e68c6/psycopg2-2.7.6.1.tar.gz" sha256 "27959abe64ca1fc6d8cd11a71a1f421d8287831a3262bd4cacd43bbf43cc3c82" end def install virtualenv_install_with_resources end test do system bin/"asdf", "--help" end end I get the log output: ==> Installing asdf from asdf/asdf ==> Downloading https://github.com/asdf/asdf/raw/master/asdf-1.tar.gz Already downloaded: /Users/asdf/Library/Caches/Homebrew/downloads/sha--asdf-1.tar.gz ==> Downloading https://files.pythonhosted.org/packages/37/db/sha/virtualenv-16.4.3.tar.gz Already downloaded: /Users/asdf/Library/Caches/Homebrew/downloads/sha--virtualenv-16.4.3.tar.gz ==> python2 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/asdf--homebrew-virtualenv-20190327-8864-er08i7/target --install-scripts=/private/tmp/asdf--homebrew-vi ==> python2 -s /private/tmp/asdf--homebrew-virtualenv-20190327-8864-er08i7/target/bin/virtualenv -p python2 /usr/local/Cellar/asdf/1.0.0/libexec ==> Downloading https://files.pythonhosted.org/packages/c0/07/93573b97ed61b6fb907c8439bf58f09957564cf7c39612cef36c547e68c6/psycopg2-2.7.6.1.tar.gz Already downloaded: /Users/asdf/Library/Caches/Homebrew/downloads/2e85a2e4c99e7531cc7b15f878ebfe254082386c495a470b63a9711a8bbdafec--psycopg2-2.7.6.1.tar.gz ==> /usr/local/Cellar/asdf/1.0.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/asdf--psycopg2-20190327-8864-hnm0au/psycopg2-2.7.6.1 ==> /usr/local/Cellar/asdf/1.0.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/asdf-20190327-1234-1abce Last 15 lines from /Users/asdf/Library/Logs/Homebrew/asdf/05.pip: Created temporary directory: /private/tmp/pip-install-PAhyP8 Cleaning up... Removed build tracker '/private/tmp/pip-req-tracker-JFqLxc' Directory '/private/tmp/asdf-20190327-1234-1abcde' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. Exception information: Traceback (most recent call last): File "/usr/local/Cellar/asdf/1.0/libexec/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main status = self.run(options, args) File "/usr/local/Cellar/asdf/1.0/libexec/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 289, in run self.name, wheel_cache File "/usr/local/Cellar/asdf/1.0/libexec/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 269, in populate_requirement_set wheel_cache=wheel_cache File "/usr/local/Cellar/asdf/1.0/libexec/lib/python2.7/site-packages/pip/_internal/req/constructors.py", line 248, in install_req_from_line "nor 'pyproject.toml' found." % name InstallationError: Directory '/private/tmp/asdf-20190327-1234-1abcde' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/asdf/asdf/issues There's clearly a working setup.py file contained in the package. I can wget and inspect it. $ wget https://github.com/asdf/asdf/raw/master/asdf-1.0.tar.gz (etc etc) $ tar -ztvf asdf-1.0.tar.gz -rwxr-xr-x 0 asdf staff 5527 Mar 27 15:01 asdf.py -rw-r--r-- 0 asdf staff 1825 Mar 27 14:07 README.md -rw-r--r-- 0 asdf staff 505 Mar 27 15:07 setup.py And I can't find other references to this error. What could I be doing wrong?
The error was because homebrew expected all files including setup.py to be inside a subfolder called asdf-1/ within the .tar.gz
how can i make an pgAudit installation for my PostgreSQL10?
I wanted to install pgAudit on my CentOS 6 32-bit, I already installed PostgreSQL 10 + pgAdmin4 from PostgreSQL Linux run installer that I downloaded from DBEnterprise I followed the guide from here, here are the steps I followed : git clone https://github.com/postgres/postgres.git go into the folder by cd postgres and then git checkout REL_10_STABLE ./configure after that make install -s cd contrib Clone the pgAudit extension by git clone https://github.com/pgaudit/pgaudit.git cd pgaudit git checkout REL_10_STABLE make -s check make install I'm stuck at step 8. Here's the result : [root#localhost pgaudit]# make -s check ============== creating temporary instance ============== ============== initializing database system ============== pg_regress: initdb failed Examine /root/postgres/contrib/pgaudit/log/initdb.log for the reason. Command was: "initdb" -D "/root/postgres/contrib/pgaudit/./tmp_check/data" --no-clean --no-sync > "/root/postgres/contrib/pgaudit/log/initdb.log" 2>&1 make: *** [check] Error 2 I opened the initdb.log at /root/postgres/contrib/pgaudit/log/initdb.log like how it told me to, and it says : Running in no-clean mode. Mistakes will not be cleaned up. initdb: cannot be run as root Please log in (using, e.g., "su") as the (unprivileged) user that will own the server process. So I tried it again after I logged in as postgres, here's the result : bash-4.1$ make -s check make[3]: stat: ../../src/include/utils/errcodes.h: Permission denied /bin/sh: line 0: cd: utils/: Not a directory make[3]: *** [../../src/include/utils/errcodes.h] Error 1 make[2]: *** [submake-errcodes] Error 2 make[1]: *** [submake-libpgport] Error 2 make: *** [submake] Error 2 I'm really new to both Linux and PostgreSQL, so I don't know why it failed and what is the solution for this. Thanks in advance!
Look like your db user not having a login shell. You can try with: sudo -u postgres psql template Or: sudo -u postgres bash
Issues with brew doctor (homebrew)
I'm trying to uninstall/re-install my development dependencies via homebrew and brew doctor is giving me the following errors: Robs-MacBook-Pro:~ robcate$ 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 and just ignore them. Thanks! Warning: /usr/local/Cellar isn't writable. You should probably change the ownership and permissions of /usr/local/Cellar back to your user account. sudo chown -R $(whoami) /usr/local/Cellar Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected header files: /usr/local/include/node/ares.h /usr/local/include/node/ares_version.h /usr/local/include/node/nameser.h /usr/local/include/node/node.h /usr/local/include/node/node_buffer.h /usr/local/include/node/node_internals.h /usr/local/include/node/node_object_wrap.h /usr/local/include/node/node_version.h /usr/local/include/node/openssl/opensslconf.h /usr/local/include/node/uv-private/ngx-queue.h /usr/local/include/node/uv-private/stdint-msvc2008.h /usr/local/include/node/uv-private/tree.h /usr/local/include/node/uv-private/uv-bsd.h /usr/local/include/node/uv-private/uv-darwin.h /usr/local/include/node/uv-private/uv-linux.h /usr/local/include/node/uv-private/uv-sunos.h /usr/local/include/node/uv-private/uv-unix.h /usr/local/include/node/uv-private/uv-win.h /usr/local/include/node/uv.h /usr/local/include/node/v8-debug.h /usr/local/include/node/v8-preparser.h /usr/local/include/node/v8-profiler.h /usr/local/include/node/v8-testing.h /usr/local/include/node/v8.h /usr/local/include/node/v8stdint.h /usr/local/include/node/zconf.h /usr/local/include/node/zlib.h Robs-MacBook-Pro:~ robcate$ sudo chown -R $(robcate) /usr/local/Cellar -bash: robcate: command not found usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ... chown [-fhv] [-R [-H | -L | -P]] :group file ... Can anyone point me in the right direction to fix these?