weixin_55496936
禾禾、
采纳率100%
2021-02-24 14:51

我用过哪镜像源下载的brew一直报错,怎么半?

已采纳

MacBook-Pro ~ % 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: Suspicious https://github.com/Homebrew/brew git origin remote found.

The current git origin is:

  https://mirrors.ustc.edu.cn/brew.git

 

With a non-standard origin, Homebrew won't update properly.

You can solve this by setting the origin remote:

  git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew

 

Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.

The current git origin is:

  https://mirrors.ustc.edu.cn/homebrew-core.git

 

With a non-standard origin, Homebrew won't update properly.

You can solve this by setting the origin remote:

  git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

 

Warning: You have uncommitted modifications to Homebrew/brew.

If this is a surprise to you, then you should stash these modifications.

Stashing returns Homebrew to a pristine state but can be undone

should you later need to do so for some reason.

  cd /usr/local/Homebrew && git stash && git clean -d -f

 

Uncommitted files:

   M .dockerignore

   M .editorconfig

   M .github/ISSUE_TEMPLATE.md

   M .github/ISSUE_TEMPLATE/bug.yml

   M .github/ISSUE_TEMPLATE/config.yml

   M .github/ISSUE_TEMPLATE/feature.yml

   M .github/PULL_REQUEST_TEMPLATE.md

   M .github/codecov.yml

   M .github/dependabot.yml

   M .github/workflows/docker.yml

   M .github/workflows/doctor.yml

   M .github/workflows/sorbet.yml

   M .github/workflows/spdx.yml

   M .github/workflows/tests.yml

   M .github/workflows/triage-issues.yml

   M .github/workflows/triage.yml

   M .github/workflows/update-manpage.yml

   M .github/workflows/vendor-gems.yml

   M .gitignore

   M .vale.ini

   M .vscode/extensions.json

   M .vscode/settings.json

   M .yardopts

   M CHANGELOG.md

   M CONTRIBUTING.md

   M Dockerfile

   M LICENSE.txt

   M Library/.rubocop.yml

   M Library/.rubocop_cask.yml

   M Library/.rubocop_rspec.yml

   M Library/Homebrew/.bundle/config

   M Library/Homebrew/.rubocop.yml

   M Library/Homebrew/.rubocop_todo.yml

   M Library/Homebrew/Gemfile

   M Library/Homebrew/Gemfile.lock

   M Library/Homebrew/PATH.rb

   M Library/Homebrew/README.md

   M Library/Homebrew/archive.rb

   M Library/Homebrew/ast_constants.rb

   M Library/Homebrew/bintray.rb

   M Library/Homebrew/brew.rb

   M Library/Homebrew/brew.sh

   M Library/Homebrew/build.rb

   M Library/Homebrew/build_environment.rb

   M Library/Homebrew/build_options.rb

   M Library/Homebrew/bundle_version.rb

   M Library/Homebrew/cache_store.rb

   M Library/Homebrew/cask.rb

   M Library/Homebrew/cask/artifact.rb

   M Library/Homebrew/cask/artifact/abstract_artifact.rb

   M Library/Homebrew/cask/artifact/abstract_flight_block.rb

   M Library/Homebrew/cask/artifact/abstract_uninstall.rb

   M Library/Homebrew/cask/artifact/app.rb

   M Library/Homebrew/cask/artifact/artifact.rb

   M Library/Homebrew/cask/artifact/audio_unit_plugin.rb

   M Library/Homebrew/cask/artifact/binary.rb

   M Library/Homebrew/cask/artifact/colorpicker.rb

   M Library/Homebrew/cask/artifact/dictionary.rb

   M Library/Homebrew/cask/artifact/font.rb

   M Library/Homebrew/cask/artifact/input_method.rb

   M Library/Homebrew/cask/artifact/installer.rb

   M Library/Homebrew/cask/artifact/internet_plugin.rb

   M Library/Homebrew/cask/artifact/manpage.rb

   M Library/Homebrew/cask/artifact/mdimporter.rb

   M Library/Homebrew/cask/artifact/moved.rb

   M Library/Homebrew/cask/artifact/pkg.rb

   M Library/Homebrew/cask/artifact/postflight_block.rb

   M Library/Homebrew/cask/artifact/preflight_block.rb

   M Library/Homebrew/cask/artifact/prefpane.rb

   M Library/Homebrew/cask/artifact/qlplugin.rb

   M Library/Homebrew/cask/artifact/relocated.rb

   M Library/Homebrew/cask/artifact/screen_saver.rb

   M Library/Homebrew/cask/artifact/service.rb

   M Library/Homebrew/cask/artifact/stage_only.rb

   M Library/Homebrew/cask/artifact/suite.rb

   M Library/Homebrew/cask/artifact/symlinked.rb

   M Library/Homebrew/cask/artifact/uninstall.rb

   M Library/Homebrew/cask/artifact/vst3_plugin.rb

   M Library/Homebrew/cask/artifact/vst_plugin.rb

   M Library/Homebrew/cask/artifact/zap.rb

   M Library/Homebrew/cask/audit.rb

   M Library/Homebrew/cask/auditor.rb

   M Library/Homebrew/cask/cache.rb

   M Library/Homebrew/cask/cask.rb

   M Library/Homebrew/cask/cask.rbi

   M Library/Homebrew/cask/cask_loader.rb

   M Library/Homebrew/cask/caskroom.rb

   M Library/Homebrew/cask/cmd.rb

   M Library/Homebrew/cask/cmd/abstract_command.rb

   M Library/Homebrew/cask/cmd/audit.rb

   M Library/Homebrew/cask/cmd/fetch.rb

   M Library/Homebrew/cask/cmd/info.rb

   M Library/Homebrew/cask/cmd/install.rb

   M Library/Homebrew/cask/cmd/list.rb

   M Library/Homebrew/cask/cmd/reinstall.rb

   M Library/Homebrew/cask/cmd/uninstall.rb

   M Library/Homebrew/cask/cmd/upgrade.rb

   M Library/Homebrew/cask/cmd/zap.rb

   M Library/Homebrew/cask/config.rb

   M Library/Homebrew/cask/denylist.rb

   M Library/Homebrew/cask/download.rb

   M Library/Homebrew/cask/dsl.rb

   M Library/Homebrew/cask/dsl/appcast.rb

   M Library/Homebrew/cask/dsl/base.rb

   M Library/Homebrew/cask/dsl/caveats.rb

   M Library/Homebrew/cask/dsl/conflicts_with.rb

   M Library/Homebrew/cask/dsl/container.rb

   M Library/Homebrew/cask/dsl/depends_on.rb

   M Library/Homebrew/cask/dsl/postflight.rb

   M Library/Homebrew/cask/dsl/preflight.rb

   M Library/Homebrew/cask/dsl/uninstall_postflight.rb

   M Library/Homebrew/cask/dsl/uninstall_preflight.rb

   M Library/Homebrew/cask/dsl/version.rb

   M Library/Homebrew/cask/exceptions.rb

   M Library/Homebrew/cask/installer.rb

   M Library/Homebrew/cask/macos.rb

   M Library/Homebrew/cask/metadata.rb

   M Library/Homebrew/cask/pkg.rb

   M Library/Homebrew/cask/quarantine.rb

   M Library/Homebrew/cask/staged.rb

   M Library/Homebrew/cask/staged.rbi

   M Library/Homebrew/cask/topological_hash.rb

   M Library/Homebrew/cask/url.rb

   M Library/Homebrew/cask/utils.rb

   M Library/Homebrew/cask_dependent.rb

   M Library/Homebrew/caveats.rb

   M Library/Homebrew/checksum.rb

   M Library/Homebrew/cleaner.rb

   M Library/Homebrew/cleanup.rb

   M Library/Homebrew/cli/args.rb

   M Library/Homebrew/cli/args.rbi

   M Library/Homebrew/cli/named_args.rb

   M Library/Homebrew/cli/parser.rb

   M Library/Homebrew/cmd/--cache.rb

   M Library/Homebrew/cmd/--caskroom.rb

   M Library/Homebrew/cmd/--cellar.rb

   M Library/Homebrew/cmd/--env.rb

   M Library/Homebrew/cmd/--prefix.rb

   M Library/Homebrew/cmd/--repository.rb

   M Library/Homebrew/cmd/--version.rb

   M Library/Homebrew/cmd/analytics.rb

   M Library/Homebrew/cmd/autoremove.rb

   M Library/Homebrew/cmd/casks.sh

   M Library/Homebrew/cmd/cleanup.rb

   M Library/Homebrew/cmd/commands.rb

   M Library/Homebrew/cmd/completions.rb

   M Library/Homebrew/cmd/config.rb

   M Library/Homebrew/cmd/deps.rb

   M Library/Homebrew/cmd/desc.rb

   M Library/Homebrew/cmd/doctor.rb

   M Library/Homebrew/cmd/fetch.rb

   M Library/Homebrew/cmd/formulae.sh

   M Library/Homebrew/cmd/gist-logs.rb

   M Library/Homebrew/cmd/help.rb

   M Library/Homebrew/cmd/home.rb

   M Library/Homebrew/cmd/info.rb

   M Library/Homebrew/cmd/install.rb

   M Library/Homebrew/cmd/leaves.rb

   M Library/Homebrew/cmd/link.rb

   M Library/Homebrew/cmd/list.rb

   M Library/Homebrew/cmd/log.rb

   M Library/Homebrew/cmd/migrate.rb

   M Library/Homebrew/cmd/missing.rb

   M Library/Homebrew/cmd/options.rb

   M Library/Homebrew/cmd/outdated.rb

   M Library/Homebrew/cmd/pin.rb

   M Library/Homebrew/cmd/postinstall.rb

   M Library/Homebrew/cmd/readall.rb

   M Library/Homebrew/cmd/reinstall.rb

   M Library/Homebrew/cmd/search.rb

   M Library/Homebrew/cmd/shellenv.sh

   M Library/Homebrew/cmd/tap-info.rb

   M Library/Homebrew/cmd/tap.rb

   M Library/Homebrew/cmd/uninstall.rb

   M Library/Homebrew/cmd/unlink.rb

   M Library/Homebrew/cmd/unpin.rb

   M Library/Homebrew/cmd/untap.rb

   M Library/Homebrew/cmd/update-report.rb

   M Library/Homebrew/cmd/update-reset.sh

   M Library/Homebrew/cmd/update.sh

   M Library/Homebrew/cmd/upgrade.rb

   M Library/Homebrew/cmd/uses.rb

   M Library/Homebrew/cmd/vendor-install.sh

   M Library/Homebrew/commands.rb

   M Library/Homebrew/compat.rb

   M Library/Homebrew/compilers.rb

   M Library/Homebrew/completions.rb

   M Library/Homebrew/completions.rbi

   M Library/Homebrew/completions/bash.erb

   M Library/Homebrew/completions/fish.erb

   M Library/Homebrew/completions/zsh.erb

   M Library/Homebrew/config.rb

   M Library/Homebrew/context.rb

   M Library/Homebrew/cxxstdlib.rb

   M Library/Homebrew/data/spdx/spdx_exceptions.json

   M Library/Homebrew/data/spdx/spdx_licenses.json

   M Library/Homebrew/debrew.rb

   M Library/Homebrew/debrew/irb.rb

   M Library/Homebrew/dependable.rb

   M Library/Homebrew/dependable.rbi

   M Library/Homebrew/dependencies.rb

   M Library/Homebrew/dependencies_helpers.rb

   M Library/Homebrew/dependencies_helpers.rbi

   M Library/Homebrew/dependency.rb

   M Library/Homebrew/dependency_collector.rb

   M Library/Homebrew/deprecate_disable.rb

   M Library/Homebrew/description_cache_store.rb

   M Library/Homebrew/descriptions.rb

   M Library/Homebrew/dev-cmd/audit.rb

   M Library/Homebrew/dev-cmd/bottle.rb

   M Library/Homebrew/dev-cmd/bump-cask-pr.rb

   M Library/Homebrew/dev-cmd/bump-formula-pr.rb

   M Library/Homebrew/dev-cmd/bump-revision.rb

   M Library/Homebrew/dev-cmd/bump-unversioned-casks.rb

   M Library/Homebrew/dev-cmd/bump.rb

   M Library/Homebrew/dev-cmd/cat.rb

   M Library/Homebrew/dev-cmd/command.rb

   M Library/Homebrew/dev-cmd/create.rb

   M Library/Homebrew/dev-cmd/dispatch-build-bottle.rb

   M Library/Homebrew/dev-cmd/edit.rb

......

.....

 M Library/Homebrew/test/requirements/macos_requirement_spec.rb

   M Library/Homebrew/test/requirements_spec.rb

   M Library/Homebrew/test/resource_spec.rb

   M Library/Homebrew/test/rubocop_spec.rb

   M Library/Homebrew/test/rubocops/bottle/bottle_digest_indentation_spec.rb

   M Library/Homebrew/test/rubocops/bottle/bottle_format_spec.rb

   M Library/Homebrew/test/rubocops/bottle/bottle_order_spec.rb

   M Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb

   M Library/Homebrew/test/rubocops/cask/desc_spec.rb

   M Library/Homebrew/test/rubocops/cask/homepage_url_trailing_slash_spec.rb

   M Library/Homebrew/test/rubocops/cask/no_dsl_version_spec.rb

   M Library/Homebrew/test/rubocops/cask/shared_examples/cask_cop.rb

   M Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb

   M Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb

   M Library/Homebrew/test/rubocops/caveats_spec.rb

   M Library/Homebrew/test/rubocops/checksum/checksum_case_spec.rb

   M Library/Homebrew/test/rubocops/checksum/checksum_spec.rb

   M Library/Homebrew/test/rubocops/class/class_name_spec.rb

   M Library/Homebrew/test/rubocops/class/test_present.rb

   M Library/Homebrew/test/rubocops/class/test_spec.rb

   M Library/Homebrew/test/rubocops/components_order_spec.rb

   M Library/Homebrew/test/rubocops/components_redundancy_spec.rb

   M Library/Homebrew/test/rubocops/conflicts_spec.rb

   M Library/Homebrew/test/rubocops/dependency_order_spec.rb

   M Library/Homebrew/test/rubocops/deprecate_disable/date_spec.rb

   M Library/Homebrew/test/rubocops/deprecate_disable/reason_spec.rb

   M Library/Homebrew/test/rubocops/files_spec.rb

   M Library/Homebrew/test/rubocops/formula_desc_spec.rb

   M Library/Homebrew/test/rubocops/homepage_spec.rb

   M Library/Homebrew/test/rubocops/keg_only_spec.rb

   M Library/Homebrew/test/rubocops/lines/class_inheritance_spec.rb

   M Library/Homebrew/test/rubocops/lines_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/regex_case_insensitive_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/regex_extension_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/regex_if_page_match_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/regex_parentheses_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/skip_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/url_provided_spec.rb

   M Library/Homebrew/test/rubocops/livecheck/url_symbol_spec.rb

   M Library/Homebrew/test/rubocops/options_spec.rb

   M Library/Homebrew/test/rubocops/patches_spec.rb

   M Library/Homebrew/test/rubocops/provided_by_macos_spec.rb

   M Library/Homebrew/test/rubocops/text/assert_statements_spec.rb

   M Library/Homebrew/test/rubocops/text/comments_spec.rb

   M Library/Homebrew/test/rubocops/text/license_arrays_spec.rb

   M Library/Homebrew/test/rubocops/text/licenses_spec.rb

   M Library/Homebrew/test/rubocops/text/make_check_spec.rb

   M Library/Homebrew/test/rubocops/text/miscellaneous_spec.rb

   M Library/Homebrew/test/rubocops/text/mpi_check_spec.rb

   M Library/Homebrew/test/rubocops/text/option_declarations_spec.rb

   M Library/Homebrew/test/rubocops/text/python_versions_spec.rb

   M Library/Homebrew/test/rubocops/text/safe_popen_commands_spec.rb

   M Library/Homebrew/test/rubocops/text/shell_commands_spec.rb

   M Library/Homebrew/test/rubocops/text/shell_variables_spec.rb

   M Library/Homebrew/test/rubocops/text/strict_spec.rb

   M Library/Homebrew/test/rubocops/text_spec.rb

   M Library/Homebrew/test/rubocops/unless_multiple_conditions_spec.rb

   M Library/Homebrew/test/rubocops/urls/git_spec.rb

   M Library/Homebrew/test/rubocops/urls/git_strict_spec.rb

   M Library/Homebrew/test/rubocops/urls/pypi_spec.rb

   M Library/Homebrew/test/rubocops/urls_spec.rb

   M Library/Homebrew/test/rubocops/uses_from_macos_spec.rb

   M Library/Homebrew/test/rubocops/version_spec.rb

   M Library/Homebrew/test/sandbox_spec.rb

   M Library/Homebrew/test/search_spec.rb

   M Library/Homebrew/test/searchable_spec.rb

   M Library/Homebrew/test/settings_spec.rb

   M Library/Homebrew/test/software_spec/bottle_spec.rb

   M Library/Homebrew/test/software_spec/head_spec.rb

   M Library/Homebrew/test/software_spec_spec.rb

   M Library/Homebrew/test/spec_helper.rb

   M Library/Homebrew/test/style_spec.rb

   M Library/Homebrew/test/support/fixtures/bottles/testball_bottle-0.1.yosemite.bottle.tar.gz

   M Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip

   M Library/Homebrew/test/support/fixtures/cask/AppWithEmbeddedBinary.zip

   M Library/Homebrew/test/support/fixtures/cask/AppWithManpage.zip

   M Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-user-relative-target.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-multiple.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-url.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-x11-value.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/osdn-correct-url-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/osdn-incorrect-url-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-appcast.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb

   M Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb

   M Library/Homebrew/test/support/fixtures/cask/MyFancyApp.zip

   M Library/Homebrew/test/support/fixtures/cask/MyFancyPkg.zip

   M Library/Homebrew/test/support/fixtures/cask/NestedApp.dmg.zip

   M Library/Homebrew/test/support/fixtures/cask/caffeine-suite.zip

   M Library/Homebrew/test/support/fixtures/cask/caffeine.zip

   M Library/Homebrew/test/support/fixtures/cask/caffeines-subdir.zip

   M Library/Homebrew/test/support/fixtures/cask/caffeines.zip

   M Library/Homebrew/test/support/fixtures/cask/container.7z

   M Library/Homebrew/test/support/fixtures/cask/container.air

   M Library/Homebrew/test/support/fixtures/cask/container.cab

   M Library/Homebrew/test/support/fixtures/cask/container.dmg

   M Library/Homebrew/test/support/fixtures/cask/container.pkg

   M Library/Homebrew/test/support/fixtures/cask/container.rar

   M Library/Homebrew/test/support/fixtures/cask/container.tar.gz

   M Library/Homebrew/test/support/fixtures/cask/container.tar.xz.gpg

   M Library/Homebrew/test/support/fixtures/cask/container.xar

   M Library/Homebrew/test/support/fixtures/cask/naked_non_executable

   M Library/Homebrew/test/support/fixtures/cask/transmission-2.61.dmg

   M Library/Homebrew/test/support/fixtures/failball.rb

   M Library/Homebrew/test/support/fixtures/mach/fat.bundle

   M Library/Homebrew/test/support/fixtures/mach/fat.dylib

   M Library/Homebrew/test/support/fixtures/mach/i386.bundle

   M Library/Homebrew/test/support/fixtures/mach/i386.dylib

   M Library/Homebrew/test/support/fixtures/mach/x86_64.bundle

   M Library/Homebrew/test/support/fixtures/mach/x86_64.dylib

   M Library/Homebrew/test/support/fixtures/patches/noop-a.diff

   M Library/Homebrew/test/support/fixtures/patches/noop-b.diff

   M Library/Homebrew/test/support/fixtures/patches/noop-c.diff

   M Library/Homebrew/test/support/fixtures/receipt.json

   M Library/Homebrew/test/support/fixtures/receipt_old.json

   M Library/Homebrew/test/support/fixtures/sdks/big_sur/MacOSX.sdk/SDKSettings.json

   M Library/Homebrew/test/support/fixtures/sdks/high_sierra/MacOSX10.13.sdk/SDKSettings.plist

   M Library/Homebrew/test/support/fixtures/sdks/malformed/MacOSX10.15.sdk/SDKSettings.json

   M Library/Homebrew/test/support/fixtures/sdks/mojave_broken/MacOSX10.14.sdk/SDKSettings.json

   M Library/Homebrew/test/support/fixtures/tarballs/testball-0.1-linux.tbz

   M Library/Homebrew/test/support/fixtures/tarballs/testball-0.1-patches.tgz

   M Library/Homebrew/test/support/fixtures/tarballs/testball-0.1.tbz

   M Library/Homebrew/test/support/fixtures/test.diff

   M Library/Homebrew/test/support/fixtures/test.dmg.gz

   M Library/Homebrew/test/support/fixtures/test.eps

   M Library/Homebrew/test/support/fixtures/test.flac

   M Library/Homebrew/test/support/fixtures/test.gif

   M Library/Homebrew/test/support/fixtures/test.ico

   M Library/Homebrew/test/support/fixtures/test.jar

   M Library/Homebrew/test/support/fixtures/test.jpg

   M Library/Homebrew/test/support/fixtures/test.lha

   M Library/Homebrew/test/support/fixtures/test.lz

   M Library/Homebrew/test/support/fixtures/test.m4a

   M Library/Homebrew/test/support/fixtures/test.mp3

   M Library/Homebrew/test/support/fixtures/test.pcap

   M Library/Homebrew/test/support/fixtures/test.pdf

   M Library/Homebrew/test/support/fixtures/test.png

   M Library/Homebrew/test/support/fixtures/test.ps

   M Library/Homebrew/test/support/fixtures/test.svg

   M Library/Homebrew/test/support/fixtures/test.tiff

   M Library/Homebrew/test/support/fixtures/test.wav

   M Library/Homebrew/test/support/fixtures/testball.rb

   M Library/Homebrew/test/support/fixtures/testball_bottle.rb

   M Library/Homebrew/test/support/fixtures/testball_bottle_cellar.rb

   M Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb

   M Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb

   M Library/Homebrew/test/support/fixtures/updater_fixture.yaml

   M Library/Homebrew/test/support/helper/cask.rb

.......

 

 

就一直报错的不知道怎么,新手实在是不懂这。

Warning: Broken symlinks were found. Remove them with `brew cleanup`:

  /usr/local/bin/2to3

  /usr/local/bin/2to3-3.9

  /usr/local/bin/easy_install-3.9

  /usr/local/bin/idle3

  /usr/local/bin/idle3.9

  /usr/local/bin/pip3

  /usr/local/bin/pip3.9

  /usr/local/bin/pydoc3

  /usr/local/bin/pydoc3.9

  /usr/local/bin/python3

  /usr/local/bin/python3-config

  /usr/local/bin/python3.9

  /usr/local/bin/python3.9-config

sxy.hh@shenxiangyuandeMacBook-Pro ~ %

还有这个说让使用brew cleanup命令清楚要怎么使用?我“brew cleanup /usr。。。”这样清楚一遍,可是doctor后还是报错出现这一栏。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • hjue 多鱼的夏天 2月前

    国内安装brew可以使用镜像进行加速,shell代码如下

    cd "$(brew --repo)"
     
    #https://github.com/Homebrew/brew
    git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
    
    cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
     
    #https://github.com/Homebrew/homebrew-core
    git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
    
    echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.bash_profile
    
    source ~/.bash_profile

    更详细的可以参考这个文章  https://zhuanlan.zhihu.com/p/111014448

    点赞 评论 复制链接分享