【问题标题】:Homebrew Bundle failed! Error: Cask 'font-dejavu' is not installed自制包失败!错误:未安装木桶“font-dejavu”
【发布时间】:2020-04-19 17:29:07
【问题描述】:

仅供参考——今天早上运行 drake/setup/mac/install_prereqs.sh 导致

Using robotlocomotion/director
==> Downloading https://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-2.37.zip
Already downloaded: /Users/russt/Library/Caches/Homebrew/downloads/d627008ddad0942dbf3f0979ce370923362db0b1c087521b0fce86fb9798d74c--dejavu-fonts-ttf-2.37.zip
==> Verifying SHA-256 checksum for Cask 'font-dejavu'.
==> Installing Cask font-dejavu
Error: It seems there is already a Font at '/Users/russt/Library/Fonts/DejaVuSerifCondensed.ttf'.
==> Purging files for version 2.37 of Cask font-dejavu
Installing font-dejavu has failed!
Using bazel
Using diffstat
Using doxygen
Using freetype
Using kcov
Using llvm@6
Using patchutils
Homebrew Bundle failed! 1 Brewfile dependency failed to install.
russt@air drake % brew cask uninstall font-dejavu
Error: Cask 'font-dejavu' is not installed.

我决定在这里发布我的流程,以防其他人遇到同样的情况并感到卡住。

【问题讨论】:

    标签: drake


    【解决方案1】:

    手动删除有问题的文件并重新运行安装程序让我过去了:

    % rm /Users/russt/Library/Fonts/DejaVu*.ttf
    % ./setup/mac/install_prereqs.sh
    

    (尽管我们的老朋友ERROR: botocore 1.15.41 has requirement docutils<0.16,>=0.10, but you'll have docutils 0.16 which is incompatible.仍然出现,我忽略了。)

    【讨论】:

      【解决方案2】:

      https://github.com/RobotLocomotion/drake/pull/13098 开始,install_prereqs 脚本现在执行/usr/local/bin/brew cask uninstall font-dejavu-sans 来自动解决问题。

      【讨论】:

        【解决方案3】:

        仅供参考,我已在https://github.com/RobotLocomotion/drake/pull/13071#pullrequestreview-394664853 报告了该问题。

        我的解决方案是brew cask uninstall font-dejavu-sans,但它基本上与rm $HOME/Library/Fonts/DejaVu* 做同样的事情。

        我在#13071 中添加了指向此 SO 条目的链接。

        【讨论】:

          猜你喜欢
          • 2022-01-24
          • 1970-01-01
          • 2014-06-11
          • 2012-01-08
          • 2014-06-01
          • 2019-07-06
          • 2021-05-05
          • 2017-06-10
          • 2021-06-21
          相关资源
          最近更新 更多