技术咸鱼 技术咸鱼
首页
  • 《Django教程》
  • 《VuePress教程》
应用
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 网站
  • 资源
  • Vue资源
  • 分类
  • 标签
  • 归档
关于
头像

公众号:技术咸鱼
首页
  • 《Django教程》
  • 《VuePress教程》
应用
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 网站
  • 资源
  • Vue资源
  • 分类
  • 标签
  • 归档
关于
  • IDE

  • Markdown

  • 爬虫

  • Android

  • flutter

  • Mac

    • Error:homebrew-core is a shallow clone
      • 出现情景
      • 原因:
      • 解决方法:
  • 错误整理
  • Mac
技术咸鱼
2021-06-29

标题 Error:homebrew-core is a shallow clone

# 出现情景

Mac升级到新版本使用brew upgrade出现.

Error:
   homebrew-core is a shallow clone.
 To `brew update`, first run:
   git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
 This restriction has been made on GitHub's request because updating shallow 
 clones is an extremely expensive operation due to the tree layout and traffic of
 Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
 automatically to avoid repeatedly performing an expensive unshallow operation in
 CI systems (which should instead be fixed to not use shallow clones). Sorry for
 the inconvenience!
1
2
3
4
5
6
7
8
9
10

# 原因:

因为更新浅克隆(shallow clones)是一个相当消耗资源的操作,所以github请求被限制了

# 解决方法:

删除homebrew-core后再更新

cd /usr/local/Homebrew/Library/Taps/homebrew

rm -rf homebrew-core

brew upgrade
1
2
3
4
5
上次更新: 2021/07/08, 15:52:34
Waiting for another flutter command to release the startup lock

← Waiting for another flutter command to release the startup lock

最近更新
01
DNS解析主机记录www和@的区别
09-16
02
Gradle build failed to produce an .apk file.
07-28
03
flutter构建为 Web 应用
07-27
更多文章>
Copyright © 2019-2022 oopanda | 皖ICP备19017961号-1
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式