반응형
brew cask install virtualbox
brew cask install virtualbox
==> Caveats
virtualbox requires a kernel extension to work.
If the installation fails, retry after you enable it in:
System Preferences → Security & Privacy → General
For more information, refer to vendor documentation or this Apple Technical Note:
https://developer.apple.com/library/content/technotes/tn2459/_index.html
==> Downloading https://download.virtualbox.org/virtualbox/6.1.8/VirtualBox-6.1.8-137981-OSX.dmg
Already downloaded: /Users/hosunglee/Library/Caches/Homebrew/downloads/dd3b8e67da567b37cc45eb819983c3ea04e07f5ed201f9c7b935a66536aff379--VirtualBox-6.1.8-137981-OSX.dmg
==> Verifying SHA-256 checksum for Cask 'virtualbox'.
==> Installing Cask virtualbox
==> Running installer for virtualbox; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is Oracle VM VirtualBox
installer: choices changes file '/var/folders/27/m6h4g6494xsg62mylfg4rf840000gn/T/choices20200519-72782-yeskqy.xml' applied
installer: Installing at base path /
installer: The install failed. (설치 프로그램에서 오류가 발생하여 설치에 실패했습니다. 소프트웨어 제조업체에 지원을 문의하십시오. ‘VirtualBox.pkg’ 패키지에서 스크립트를 실행하는 동안 오류가 발생했습니다.)
==> Purging files for version 6.1.8,137981 of Cask virtualbox
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=hosunglee USER=hosunglee USERNAME=hosunglee /usr/sbin/installer -pkg /usr/local/Caskroom/virtualbox/6.1.8,137981/VirtualBox.pkg -target / -applyChoiceChangesXML /var/folders/27/m6h4g6494xsg62mylfg4rf840000gn/T/choices20200519-72782-yeskqy.xml` exited with 1. Here's the output:
installer: Package name is Oracle VM VirtualBox
installer: choices changes file '/var/folders/27/m6h4g6494xsg62mylfg4rf840000gn/T/choices20200519-72782-yeskqy.xml' applied
installer: Installing at base path /
installer: The install failed. (설치 프로그램에서 오류가 발생하여 설치에 실패했습니다. 소프트웨어 제조업체에 지원을 문의하십시오. ‘VirtualBox.pkg’ 패키지에서 스크립트를 실행하는 동안 오류가 발생했습니다.)
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:59:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:70:in `block in with_choices_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:295:in `open'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:67:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:52:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:34:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:218:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:209:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:101:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:150:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'
에러가 발생했다... 개 삽질 1시간
원인은 MAC High Sierra 보안문제 때문...
환경 설정 -> 보안 및 개인 정보 보호 -> 일반 -> 개발자'Oracle America, Inc. '의 시스템 소프트웨어가 차단되어 로드할 수 없습니다 -> 허용 클릭
brew cask install virtualbox (성공적, 로멘틱, 빡침)
⇒ brew cask install virtualbox
==> Caveats
virtualbox requires a kernel extension to work.
If the installation fails, retry after you enable it in:
System Preferences → Security & Privacy → General
For more information, refer to vendor documentation or this Apple Technical Note:
https://developer.apple.com/library/content/technotes/tn2459/_index.html
==> Downloading https://download.virtualbox.org/virtualbox/6.1.8/VirtualBox-6.1.8-137981-OSX.dmg
Already downloaded: /Users/hosunglee/Library/Caches/Homebrew/downloads/dd3b8e67da567b37cc45eb819983c3ea04e07f5ed201f9c7b935a66536aff379--VirtualBox-6.1.8-137981-OSX.dmg
==> Verifying SHA-256 checksum for Cask 'virtualbox'.
==> Installing Cask virtualbox
==> Running installer for virtualbox; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is Oracle VM VirtualBox
installer: choices changes file '/var/folders/27/m6h4g6494xsg62mylfg4rf840000gn/T/choices20200519-73898-12yokep.xml' applied
installer: Installing at base path /
installer: The install was successful.
==> Changing ownership of paths required by virtualbox; your password may be necessary
🍺 virtualbox was successfully installed!
반응형