• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • dedecms
  • ecshop
  • z-blog
  • UcHome
  • UCenter
  • drupal
  • WordPress
  • 帝国cms
  • phpcms
  • 动易cms
  • phpwind
  • discuz
  • 科汛cms
  • 风讯cms
  • 建站教程
  • 运营技巧
您的位置:首页 > CMS教程 >建站教程 > MacOS安装VirtualBox的问题小结

MacOS安装VirtualBox的问题小结

作者:站长图库 字体:[增加 减小] 来源:互联网

站长图库向大家介绍了MacOS,安装VirtualBox的问题等相关知识,希望对您有所帮助

本文为大家介绍MacOS brew cask安装VirtualBox遇到的问题,希望能够帮助到有需要的小伙伴。

MacOS brew cask安装VirtualBox遇到的问题


问题一:Cask ‘virtualbox’ is already installed.

如果不是通过Homebrew安装的virtualbox,在使用brew cask install virtualbox安装virtualbox的的时候,会提示:

Warning: Cask 'virtualbox' is already installed.

那么就需要重新安装virtualbox,命令:

brew cask reinstall virtualbox

如果还不巧,你的virtualbox刚好在运行中,又会提示:

Failed to unload org.virtualbox.kext.VBoxDrv - (libkern/kext) kext is in use or retained (cannot unload).

那么,就需要网上拉日志,找到:

Warning! Found the following active VirtualBox processes:

这些是运行中的虚拟主机列表,其中第一列是它们的 ID,用kill命令关闭服务,如:

kill 234

然后再重新安装:

brew cask reinstall virtualbox


问题二:Error: Failure while executing;

安装virtualbox的最后一步会要求输入电脑的登陆密码,不过在你输入密码后,可能还是会提示错误,这是因为权限的问题,主要信息如下:

~ brew cask reinstall virtualbox ==> Caveats To install and/or use virtualbox you may need to enable its kernel extension in:   System Preferences → Security & Privacy → General... ==> 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: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) ==> Purging files for version 6.0.10,132072 of Cask virtualbox Error: Failure while executing; `/usr/bin/sudo -E -- env LOGNAME=gary USER=gary USERNAME=gary /usr/sbin/installer -pkg /usr/local/Caskroom/virtualbox/6.0.10,132072/VirtualBox.pkg -target /` exited with 1. Here's the output: installer: Package name is Oracle VM VirtualBox installer: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) Follow the instructions here:   https://github.com/Homebrew/homebrew-cask#reporting-bugs /usr/local/Homebrew/Library/Homebrew/system_command.rb:111:in `assert_success'...


分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • MacOS下PHP7.1升级到PHP7.4.15的方法
  • MacOS安装VirtualBox的问题小结

相关文章

  • 使用HTML5开发App有哪些优缺点
  • Linux怎么查看程序是否在运行状态
  • 实例详解thinkphp6搭建后端api接口
  • 解决ThinkPHP5.1版本引入composer vendor扩展包的问题
  • Nodejs+robotjs实现控制鼠标键盘功能
  • php怎么去除重复的值
  • CSS实现瀑布流的两种方式
  • CSS实现领积分动画效果
  • dedecms列表页图片加ALT描述的完美方式
  • Nodejs中如何定义全局变量

文章分类

  • dedecms
  • ecshop
  • z-blog
  • UcHome
  • UCenter
  • drupal
  • WordPress
  • 帝国cms
  • phpcms
  • 动易cms
  • phpwind
  • discuz
  • 科汛cms
  • 风讯cms
  • 建站教程
  • 运营技巧

最近更新的内容

    • 帝国CMS后台搜索报错Illegal mix of collations for operation 'like'
    • PHP实用函数集合
    • vue仿携程轮播图效果(滑动轮播,下方高度自适应)
    • Photoshop制作金属颓废效果的黄金字教程
    • 总结分享小程序中 swiper 轮播图高度问题的解决方法
    • 微信小程序按顺序同步执行的两种方式分别是什么
    • SQL语言中,删除一个表的命令是什么
    • Uniapp发布为H5版本时如何隐藏访问路径的#符号
    • 手把手教你使用Vue3实现图片散落效果
    • PHPCMS V9后台复制指定文章到同模型的指定栏目中

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有