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 1 year has passed since last update.

brew cask installError: Could not find PKG source file 'multipass-1.8.1+mac-Darwin.pkg', found 'multipass-1.8.1 mac-Darwin.pkg' instead.

Posted at

brew caskでmultipassをインストールしようとすると下記のエラーが発生して

Error: Could not find PKG source file 'multipass-1.8.1+mac-Darwin.pkg', found 'multipass-1.8.1 mac-Darwin.pkg' instead.

$ brew install --cask multipass
==> Downloading https://github.com/canonical/multipass/releases/download/v1.8.1/multipass-1.8.1+mac-Darwin.pkg
######################################################################## 100.0%#=#=#
==> Installing Cask multipass
==> Running installer for multipass; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
==> Purging files for version 1.8.1 of Cask multipass
Error: Could not find PKG source file 'multipass-1.8.1+mac-Darwin.pkg', found 'multipass-1.8.1 mac-Darwin.pkg' instead.

file名の+ に変更されてエラーが発生してるみたい
file名を+方に手動で修正して解決

$ cd ~/Caches/Homebrew/downloads/
$ # f64部分は変更して
$ mv {f64}--multipass-1.8.1\ mac-Darwin.pkg {f64}--multipass-1.8.1+mac-Darwin.pkg
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?