huangwhMac:~ huangwh$ brew update
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp-sharp 100.0%
==> Pouring portable-ruby-2.3.7.leopard_64.bottle.tar.gz
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew-sharpdonations
Updated Homebrew from b4d43e9 to 922843f.
Updated 5 taps (homebrew/core, homebrew/nginx, homebrew/php, homebrew/services, homebrew/versions).
==> Migrating cache entries...
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/curlftpfs.rb
bad URI(is not URI?): :pserver:anonymous:@curlftpfs.cvs.sourceforge.net:/cvsroot/curlftpfs
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/global.rb
bad URI(is not URI?): :pserver:anonymous:@cvs.savannah.gnu.org:/sources/global
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/id3lib.rb
bad URI(is not URI?): :pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libowfat.rb
bad URI(is not URI?): :pserver:cvs:@cvs.fefe.de:/cvs
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mandoc.rb
bad URI(is not URI?): anoncvs@mandoc.bsd.lv:/cvs
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/myman.rb
bad URI(is not URI?): :pserver:anonymous:@myman.cvs.sourceforge.net:/cvsroot/myman
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ncp.rb
bad URI(is not URI?): :pserver:cvs:@cvs.fefe.de:/cvs
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/percona-toolkit.rb
no implicit conversion of nil into String
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/schroedinger.rb
no implicit conversion of nil into String
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/squid.rb
no implicit conversion of nil into String
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/terminator.rb
no implicit conversion of nil into String
Error: Failed to import: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-php/Formula/php71.rb
php71: cannot load such file -- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-php/Abstract/abstract-php
I don"t understand ruby,. This is supposed to be a new version of berw that can"t be installed when downloaded.
ask God for a solution. I can"t find anything relevant at all. I found it after google, but I don"t seem to have given a solution. Maybe my English is too bad to understand.
look at the problems on the Internet with brew doctor. As soon as the execution result comes out, there are a lot of problems
.huangwhMac:~ huangwh$ 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 or file an issue; just ignore this. Thanks!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn"t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libluajit-5.1.2.0.2.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn"t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/luajit.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn"t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libluajit-5.1.a
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
autoconf
cloog
freetype
gcc
gmp
gmp@4
intltool
isl
isl@0.11
libevent
libmpc
libmpc@0.8
libtool
mcrypt
memcached
mhash
mpfr
mpfr@2
neon
pcre
pkg-config
re2c
scons
subversion17
unixodbc
wget
Warning: An outdated version (2.8.2) of Git was detected in your PATH.
Git 2.14.3 or newer is required for Homebrew.
Please upgrade:
brew upgrade git
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
easy_install
easy_install-2.7
git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
phar
phar.phar
php
php-config
phpize
svn
svnadmin
svndumpfilter
svnlook
svnserve
svnsync
svnversion
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo "export PATH="/usr/local/bin:$PATH"" >> ~/.bash_profile
Warning: Homebrew"s sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
echo "export PATH="/usr/local/sbin:$PATH"" >> ~/.bash_profile
Warning: Your Xcode (7.3) is outdated.
Please update to Xcode 8.2.1 (or delete it).
Xcode can be updated from the App Store.
Warning: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/bin/nginx
/usr/local/bin/sublime
/usr/local/etc/bash_completion.d/_brew_services
/usr/local/include/gmp.h
/usr/local/include/gmpxx.h
/usr/local/include/isl/aff.h
/usr/local/include/isl/aff_type.h
/usr/local/include/isl/arg.h
/usr/local/include/isl/ast.h
/usr/local/include/isl/ast_build.h
/usr/local/include/isl/band.h
/usr/local/include/isl/blk.h
/usr/local/include/isl/config.h
/usr/local/include/isl/constraint.h
/usr/local/include/isl/ctx.h
/usr/local/include/isl/dim.h
/usr/local/include/isl/flow.h
/usr/local/include/isl/hash.h
/usr/local/include/isl/id.h
/usr/local/include/isl/ilp.h
/usr/local/include/isl/int.h
/usr/local/include/isl/list.h
/usr/local/include/isl/local_space.h
/usr/local/include/isl/lp.h
/usr/local/include/isl/map.h
/usr/local/include/isl/map_type.h
/usr/local/include/isl/mat.h
/usr/local/include/isl/multi.h
/usr/local/include/isl/obj.h
/usr/local/include/isl/options.h
/usr/local/include/isl/point.h
/usr/local/include/isl/polynomial.h
/usr/local/include/isl/polynomial_type.h
/usr/local/include/isl/printer.h
/usr/local/include/isl/schedule.h
/usr/local/include/isl/seq.h
/usr/local/include/isl/set.h
/usr/local/include/isl/set_type.h
/usr/local/include/isl/space.h
/usr/local/include/isl/stdint.h
/usr/local/include/isl/stream.h
/usr/local/include/isl/union_map.h
/usr/local/include/isl/union_map_type.h
/usr/local/include/isl/union_set.h
/usr/local/include/isl/union_set_type.h
/usr/local/include/isl/val.h
/usr/local/include/isl/val_gmp.h
/usr/local/include/isl/val_int.h
/usr/local/include/isl/vec.h
/usr/local/include/isl/version.h
/usr/local/include/isl/vertices.h
/usr/local/include/mpc.h
/usr/local/include/mpf2mpfr.h
/usr/local/include/mpfr.h
/usr/local/lib/libgmp.10.dylib
/usr/local/lib/libgmp.a
/usr/local/lib/libgmp.dylib
/usr/local/lib/libgmpxx.4.dylib
/usr/local/lib/libgmpxx.a
/usr/local/lib/libgmpxx.dylib
/usr/local/lib/libisl.10.dylib
/usr/local/lib/libisl.a
/usr/local/lib/libisl.dylib
/usr/local/lib/libmpc.3.dylib
/usr/local/lib/libmpc.a
/usr/local/lib/libmpc.dylib
/usr/local/lib/libmpfr.4.dylib
/usr/local/lib/libmpfr.a
/usr/local/lib/libmpfr.dylib
/usr/local/lib/pkgconfig/isl.pc
/usr/local/share/doc/mpfr
/usr/local/share/info/gmp.info
/usr/local/share/info/gmp.info-1
/usr/local/share/info/gmp.info-2
/usr/local/share/info/mpc.info
/usr/local/share/info/mpfr.info
what are all these problems?