Mac OS 12 beta4 系统安装 rsync 失败

Last login: Thu Aug** **5 10:11:11 on console

mb1@mb1 ~ % brew install rsync

Warning: You are using macOS 12.

We do not provide support for this pre-release version.

You will encounter build failures with some formulae.

Please create pull requests instead of asking for help on Homebrew's GitHub,

Twitter or any other official channels. You are responsible for resolving

any issues you experience while you are running this

pre-release version.

这段话的意思是不是 rsync 不支持 mac os12 系统?

广告 我要投放

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • 88250
    订阅者

    先更新一下 Homebrew 试试。

    2 回复
  • i1356
    订阅者 作者

    怎么更新,要输入什么命令吗

  • i1356
    订阅者 作者

    截屏 20210805 上午 11.44.25.png

    1 回复
  • 88250
    订阅者

    试下把 Homebrew 完全卸载:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
    

    然后重新安装:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
    2 回复
  • i1356
    订阅者 作者

    mb1@mb1 homebrew % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

    curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

  • i1356
    订阅者 作者

    mb1@mb1 homebrew % 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.tuna.tsinghua.edu.cn/git/homebrew/brew.git

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

    You can solve this by setting the origin remote:

    ** **git -C "/opt/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.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

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

    You can solve this by setting the origin remote:

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

    Warning: "config" scripts exist outside your system or Homebrew directories.

    ./configure scripts often look for *-config scripts to determine if

    software packages are installed, and which additional flags to use when

    compiling and linking.

    Having additional scripts in your path can confuse software installed via

    Homebrew if the config script overrides a system or Homebrew-provided

    script of the same name. We found the following "config" scripts:

    ** **/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9-config

    ** **/Library/Frameworks/Python.framework/Versions/3.9/bin/python3-config

    Warning: You are using macOS 12.

    We do not provide support for this pre-release version.

    You will encounter build failures with some formulae.

    Please create pull requests instead of asking for help on Homebrew's GitHub,

    Twitter or any other official channels. You are responsible for resolving

    any issues you experience while you are running this

    pre-release version.

    Warning: Your Xcode does not support macOS 12.

    It is either outdated or was modified.

    Please update your Xcode or delete it if no updates are available.

    Xcode can be updated from:

    ** **https://developer.apple.com/download/more/

    Warning: Your Xcode (12.5.1) is too outdated.

    Please update to Xcode 13.0 (or delete it).

    Xcode can be updated from:

    ** **https://developer.apple.com/download/more/

    Warning: Your Xcode (12.5.1) is outdated.

    Please update to Xcode 13.0 (or delete it).

    Xcode can be updated from:

    ** **https://developer.apple.com/download/more/

    If 13.0 is installed, you may need to:

    ** **sudo xcode-select --switch /Applications/Xcode.app

    Current developer directory is:

    ** **/Applications/Xcode.app/Contents/Developer

    mb1@mb1 homebrew % brew update

    Already up-to-date.

    mb1@mb1 homebrew %** **

    1 回复
  • 88250
    订阅者

    看提示可能是因为 Xcode 版本不够,还需要升级 Xcode。

    1 回复
    1 操作
    88250 在 2021-08-05 19:30:06 更新了该回帖
  • 88250
    订阅者

    对了,你的系统是苹果芯片(M1)吗?另外,能帮忙看下 /usr/bin/rsync --version 返回的 rsync 版本号吗?

    1 回复
  • i1356
    订阅者 作者

    m1 芯片

    mb1@mb1 ~ % /usr/bin/rsync --version

    rsync** version 2.6.9 **protocol version 29

    Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

    rsync

    Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,

    ** **inplace, IPv6, 64-bit system inums, 64-bit internal inums

    rsync comes with ABSOLUTELY NO WARRANTY.** **This is free software, and you

    are welcome to redistribute it under certain conditions.** **See the GNU

    General Public Licence for details.

    mb1@mb1 ~ %** **

    1 回复
  • i1356
    订阅者 作者

    估计得等 Homebrew 支持 Macos12 才行

  • 88250
    订阅者

    感谢帮忙,v1.2.5 会使用系统自带的 rsync 进行兜底。

  • 88250
    订阅者

    这个调整已经在内测版上发布了,如果老铁参与了内测请帮忙测试看看,谢谢。

请输入回帖内容 ...