仮想ボックス:NS_ERROR_FAILURE

仮想ボックス:NS_ERROR_FAILURE

こんにちは、私は最近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

Ubuntu Focal Fossaに基づくLinux mint Ulyana

次の行を変更します。

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。これが権限が間違っている唯一のディレクトリであることを願っています。

おすすめ記事