ํ† ์ดํ”„๋กœ์ ํŠธ ์ง„ํ–‰ํ•˜๋ฉด์„œ MongoDB๋ฅผ ๋กœ์ปฌํ™˜๊ฒฝ์— ์„ค์น˜ํ•˜๋Š” ์™€์ค‘์— brew update ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ–ˆ๋”๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์ด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.

 

% brew update

==> Updating Homebrew...

fatal: couldn't find remote ref refs/heads/master

Error: Fetching /opt/homebrew/Library/Taps/dart-lang/homebrew-dart failed!

Error: Some taps failed to update!

The following taps can not read their remote branches:

  dart-lang/dart

This is happening because the remote branch was renamed or deleted.

Reset taps to point to the correct remote branches by running `brew tap --repair`

 

์—๋Ÿฌ๋ฉ”์‹œ์ง€๋ฅผ ์ฝ์–ด๋ณด๋‹ˆ dart-lang/dart ์˜ ์›๊ฒฉ ๋ธŒ๋žœ์น˜๋ฅผ ์ฝ์„ ์ˆ˜ ์—†๋‹ค๊ณ ํ•˜๋ฉด์„œ ์ด๋ฆ„์ด ๋ณ€๊ฒฝ๋๊ฑฐ๋‚˜ ์‚ญ์ œ๋˜์—ˆ์„ํ…Œ๋‹ˆ brew tap --repair ๋ฅผ ์‹คํ–‰ํ•˜๋ผ๊ณ  ํ•˜๋„ค์š”. ๊ทธ๋ž˜์„œ dart-lang/dart ๋ฅผ ํƒ€๊ฒŸ์œผ๋กœ ์ฃผ์–ด ์‹คํ–‰ํ•˜๋‹ˆ..

 

% brew tap --repair dart-lang/dart

remote: Enumerating objects: 1226, done.

remote: Counting objects: 100% (1226/1226), done.

remote: Compressing objects: 100% (199/199), done.

remote: Total 1226 (delta 1086), reused 1133 (delta 1006), pack-reused 0

Receiving objects: 100% (1226/1226), 193.80 KiB | 1.15 MiB/s, done.

Resolving deltas: 100% (1086/1086), completed with 12 local objects.

From https://github.com/dart-lang/homebrew-dart

 * [new branch]      dependabot/github_actions/github-actions-9c54b75f35 -> origin/dependabot/github_actions/github-actions-9c54b75f35

 * [new branch]      dependabot/pub/googleapis-13.2.0 -> origin/dependabot/pub/googleapis-13.2.0

 * [new branch]      dependabot/pub/test-1.25.7       -> origin/dependabot/pub/test-1.25.7

 * [new branch]      main                             -> origin/main

==> dart-lang/dart: changed default branch name from master to main!

 

์ด๋ ‡๊ฒŒ default ๋ธŒ๋žœ์น˜๊ฐ€ master ์—์„œ main ์œผ๋กœ ๋ณ€๊ฒฝ๋๋‹ค๊ณ  ์นœ์ ˆํžˆ ์•Œ๋ ค์ค๋‹ˆ๋‹ค.