[macOS General] brew update で Failed to update tap とエラーが表示された場合の対処

caskroom/fonts や caskroom/versions で。memo.

エラーが表示されました。

% brew update
Error: Failed to update tap: caskroom/fonts
Error: Failed to update tap: caskroom/versions
Already up-to-date.

untaptap をし直します。

% brew untap caskroom/fonts
Untapping caskroom/fonts... (1654 files, 14M)
Untapped 0 formulae
% brew tap caskroom/fonts
==> Tapping caskroom/fonts
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-fonts'...
remote: Counting objects: 1006, done.
remote: Compressing objects: 100% (689/689), done.
remote: Total 1006 (delta 394), reused 412 (delta 315), pack-reused 0
Receiving objects: 100% (1006/1006), 234.05 KiB | 0 bytes/s, done.
Resolving deltas: 100% (394/394), done.
Checking connectivity... done.
Tapped 0 formulae (1022 files, 4.4M)
    :

解決しました。

% brew update
Already up-to-date.