kali linux에 지정된 대로 Oracle VBox 5에 Kali Linux용 virtualbox 게스트 추가 기능을 설치하려고 합니다.페이지.
내가 실행할 때 :
apt-get update
apt-get install -y virtualbox-guest-x11
virtualbox-guest-x11
종속성이 누락되어 xorg-video-abi-19
설치 방법을 찾을 수 없습니다.
root@kali:~# apt-get install -y virtualbox-guest-x11
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
virtualbox-guest-x11 : Depends: xorg-video-abi-19
E: Unable to correct problems, you have held broken packages.
root@kali:~# apt-get install -y xorg-video-abi-19
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xorg-video-abi-19 is a virtual package provided by:
xserver-xorg-core 2:1.17.2-1 [Not candidate version]
E: Package 'xorg-video-abi-19' has no installation candidate
또는 이전 배포판에 대해 설명된 프로세스를 시도했을 때 다음을 성공적으로 설치했습니다.
apt-get update && apt-get install -y linux-headers-$(uname -r)
그러나 실행한 후에는 ./VBoxLinuxAdditions.run
다음과 같은 결과를 얻습니다.
root@kali:~# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.24 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.24 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
누군가가 VB 게스트 추가 설치를 위한 솔루션을 제공할 수 있다면 좋을 것입니다.
편집하다:
apt-get을 실행한 후install build-essential dkms
두 번째 오류는 다음과 같이 변경됩니다.
root@kali:~# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.24 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.24 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
답변1
v5.1을 설치한 후에 작동했습니다. VBox 및 새로 설치된 Kali. 어떤 이유로 Kali가 설치된 상태에서 5.0에서 5.1로 업그레이드하면 가상 머신에 패닉이 발생했습니다.