0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

"brew install wget"でエラー(Mac M1)

Posted at

Homebrewをインストールしてbrew install wgetを実行したところ、以下のエラーが発生しました。その際に試して上手くいった解決法をメモします📝

% brew install wget
==> Tapping homebrew/cask
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 598443, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 598443 (delta 30), reused 37 (delta 11), pack-reused 598379
Receiving objects: 100% (598443/598443), 268.33 MiB | 5.37 MiB/s, done.
Resolving deltas: 100% (422958/422958), done.
Tapped 3928 casks (4,008 files, 287.5MB).
Warning: No available formula or cask with the name "wget".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

Warning: No available formula or cask with the name "wget"と書かれており、wgetが見つからないと書かれています。

そんなはずないということでネットで検索していたところ、以下のコマンドを実行することによって解決できました。

brew update-reset

処理が完了した後に再度brew install wgetを実行したところ無事にインストールすることができました。

実行環境

macOS BigSur ver. 11.5.2
MacBook Air (M1, 2020)

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?