大家好,我最近在我的 Windowsfx 10 笔记本电脑上安装了 Virtualbox。
之前,当我的笔记本电脑上装有 Windows 10 时,Virtualbox 运行得非常完美。但由于我全新安装了 Windowsfx 10。并尝试在 Virtualbox 上运行虚拟机,这就是我得到的结果......
Failed to open a session for the virtual machine Boentoe.
The virtual machine 'Boentoe' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
我的操作系统
root@Windows-Fabor:/home/mohamedazizi# lsb_release -a
No LSB modules are available.
Distributor ID: Windowsfx
Description: Windowsfx 10
Release: 10
Codename: ulyana
这是我的来源列表
root@Windows-Fabor:/home/mohamedazizi# cat /etc/apt/sources.list
#deb cdrom:[Windowsfx 10 _Helloa_ - Release amd64 20200823]/ focal contrib main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://ppa.launchpad.net/wseverin/ppa/ubuntu focal main
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib
每次当我尝试安装 Virtualbox Extensions pack 时都会出现此错误
sudo apt install virtualbox-ext-pack
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/usr/share/virtualbox-ext-pack/Oracle_VM_V
irtualBox_Extension_Pack-6.1.16.vbox-extpack"
VBoxManage: error: The installer failed with exit code 1: VBoxExtPackHelperApp:
error: World writable: '/usr/lib'
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPac
kManagerWrap, interface IExtPackManager
VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at line 1424
of file VBoxManageMisc.cpp
Installation error: License key incorrect or unknown problem during installation
.
dpkg: error processing package virtualbox-ext-pack (--configure):
installed virtualbox-ext-pack package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
virtualbox-ext-pack
E: Sub-process /usr/bin/dpkg returned an error code (1)
我的虚拟机版本
root@Windows-Fabor:/home/mohamedazizi# VBoxManage -v
6.1.16_Ubuntur140961
我的虚拟机配置
root@Windows-Fabor:~/.config/VirtualBox# ls -l
root@Windows-Fabor:~/.config/VirtualBox# ls -l
total 112
-rw------- 1 root root 1184 Feb 1 14:21 compreg.dat
-rw------- 1 root root 1493 Feb 1 16:20 selectorwindow.log
-rw------- 1 root root 1089 Feb 1 14:42 selectorwindow.log.1
-rw------- 1 root root 1089 Feb 1 14:35 selectorwindow.log.2
-rw------- 1 root root 1562 Feb 1 14:27 selectorwindow.log.3
-rw------- 1 root root 4334 Feb 1 16:41 VBoxSVC.log
-rw------- 1 root root 5097 Feb 1 16:21 VBoxSVC.log.1
-rw------- 1 root root 3916 Feb 1 16:14 VBoxSVC.log.2
-rw------- 1 root root 3916 Feb 1 16:13 VBoxSVC.log.3
-rw------- 1 root root 3916 Feb 1 15:43 VBoxSVC.log.4
-rw------- 1 root root 3915 Feb 1 14:42 VBoxSVC.log.5
-rw------- 1 root root 3915 Feb 1 14:38 VBoxSVC.log.6
-rw------- 1 root root 3915 Feb 1 14:28 VBoxSVC.log.7
-rw------- 1 root root 5388 Feb 1 14:28 VBoxSVC.log.8
-rw------- 1 root root 3800 Feb 1 14:21 VBoxSVC.log.9
-rw------- 1 root root 1690 Feb 1 16:20 VirtualBox.nope
-rw------- 1 root root 1608 Feb 1 16:20 VirtualBox.xml
-rw------- 1 root root 30001 Feb 1 14:21 xpti.dat
root@Windows-Fabor:~# ls -ld /usr/lib
drwxrwxrwx 147 root root 12288 Aug 25 03:05 /usr/lib
我真的很感激任何帮助。
答案1
Linux mint Ulyana 基于 Ubuntu Focal Fossa
更改以下行:
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib
到 (使用eoan
代号):
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian eoan contrib
然后删除已安装的virtualbox并运行:
sudo apt update
sudo apt-get install virtualbox-6.1
sudo apt install virtualbox-ext-pack
权限应该是
drwxr-xr-x
,这似乎是安装失败的原因。尝试sudo chmod go-w /usr/lib
然后sudo apt install virtualbox-ext-pack
。我希望这是唯一一个权限错误的目录。