Mac上安装VirtualBox一直没有弹出Allow…..导致安装失败的解决方法

1,372次阅读
没有评论

一、问题
我在更新VirtualBox的时候发现安装失败了。

之前安装的时候都会在Preferences->Security&Privacy下面弹出Allow,点击Allow之后就可以安装成功。

但是我发现我重装好多次VirtualBox都没有弹出Allow的按钮,所以就一直安装失败

二、解决方法
解决方法一:

  1. 打开终端
  2. 运行以下命令

sudo kextcache –clear-staging

  1. 再次安装,看看能不能安装成功

解决方法二:

  1. 重启Mac
  2. 在屏幕亮了马上按住 Command + R 键,直到你看见一个不停旋转的地球,然后松开手
  3. 点击Utilities,然后选中Terminal
  4. 在Terminal中运行以下命令

spctl kext-consent add VB5E2TV963

  1. 重启你的Mac

解决方法三:

  1. 打开Terminal
  2. 在Terminal中运行下面的命令

sudo spctl –master-disable

  1. 关闭Terminal
  2. 确保你的System Preferences是打开的
  3. 按住Option键,右击你的扩展坞中的System Preferences这个图标,然后点击Force Quit强制退出
  4. 再次打开System Preferences中的Security & Privacy,并将其中的Allow apps downloaded from设置为Anywhere
  5. 再次安装Virtualbox,看看有没有Allow这个按钮
  6. 安装完,最后运行以下命令

sudo spctl –master-enable
解决方法四:
Tips:把之前的VirtualBox卸载掉,把Applications的VirtualBox移到垃圾,然后双击VirtualBox_Unistall.tool

  1. 重启MacOS并按住Command + R 不放,进入安全模式
  2. 进入安全模式之后,打开Terminal
  3. 输入以下代码,关闭MacOS的SIP(系统完整性保护)

csrutil disable # 关闭SIP

  1. 关闭Terminal,重启MacOS并正常进入系统
  2. 打开Terminal,输入以下命令,检查SIP的启动状态时候是否为关闭状态

csrutil status

  1. 新MacOS版本需要再输入以下命令

sudo mount -uw /
killall Finder

  1. 现在可以打开VirtualBox安装包进行安装了
  2. 安装成功后需要重启进入安全模式重新打开SIP哦

csrutil enable
这些方法,如果第一个不行就试试第二个、第三个
都试试吧
希望能帮到你

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 11 月
 12345
6789101112
13141516171819
20212223242526
27282930  
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
手把手教你用AI 10分钟生成一个APP!零基础也能搞定

手把手教你用AI 10分钟生成一个APP!零基础也能搞定

今日,我将向大家展示DeepSeek的全新玩法——从零开始,利用AI创建一个完整的应用程序。借助DeepSee...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
手把手教你用AI 10分钟生成一个APP!零基础也能搞定

手把手教你用AI 10分钟生成一个APP!零基础也能搞定

今日,我将向大家展示DeepSeek的全新玩法——从零开始,利用AI创建一个完整的应用程序。借助DeepSee...