가상 상자: 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 팩을 설치하려고 할 때마다 이 오류가 발생합니다.

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. 이것이 권한이 잘못된 유일한 디렉토리이기를 바랍니다.

관련 정보