pacman을 사용하여 4.19.2-1-MANJARO에 잘못된 virtualbox를 설치했습니다.
이것은 초기 설치 표준 출력입니다.
[gloom@tacos-pc etc]$ sudo pacman -S virtualbox
error: could not register 'multilib' database (database already registered)
resolving dependencies...
:: There are 11 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository extra
1) linux316-virtualbox-host-modules 2) linux318-virtualbox-host-modules
3) linux414-virtualbox-host-modules 4) linux419-virtualbox-host-modules
5) linux420-virtualbox-host-modules 6) linux44-virtualbox-host-modules
7) linux49-virtualbox-host-modules
:: Repository community
8) linux414-rt-virtualbox-host-modules
9) linux416-rt-virtualbox-host-modules
10) linux418-rt-virtualbox-host-modules 11) virtualbox-host-dkms
Enter a number (default=1):
looking for conflicting packages...
Packages (3) linux316-3.16.62-1 linux316-virtualbox-host-modules-6.0.2-1
virtualbox-6.0.2-1
Total Download Size: 117.19 MiB
Total Installed Size: 247.06 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
linux316-3.16.62-1-... 55.6 MiB 598K/s 01:35 [######################] 100%
linux316-virtualbox... 214.5 KiB 559K/s 00:00 [######################] 100%
virtualbox-6.0.2-1-... 61.4 MiB 541K/s 01:56 [######################] 100%
(3/3) checking keys in keyring [######################] 100%
(3/3) checking package integrity [######################] 100%
(3/3) loading package files [######################] 100%
(3/3) checking for file conflicts [######################] 100%
(3/3) checking available disk space [######################] 100%
:: Processing package changes...
(1/3) installing linux316 [######################] 100%
>>> Updating module dependencies. Please wait ...
Optional dependencies for linux316
crda: to set the correct wireless channels of your country [installed]
(2/3) installing linux316-virtualbox-host-modules [######################] 100%
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
(3/3) installing virtualbox [######################] 100%
Optional dependencies for virtualbox
vde2: Virtual Distributed Ethernet support [installed]
virtualbox-guest-iso: Guest Additions CD image
virtualbox-ext-vnc: VNC server support
virtualbox-sdk: Developer kit
:: Running post-transaction hooks...
( 1/10) Install DKMS modules
( 2/10) Updating linux316 initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux316.preset: 'default'
-> -k /boot/vmlinuz-3.16-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-3.16-x86_64.img
==> Starting build: 3.16.62-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-3.16-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux316.preset: 'fallback'
-> -k /boot/vmlinuz-3.16-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-3.16-x86_64-fallback.img -S autodetect
==> Starting build: 3.16.62-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-3.16-x86_64-fallback.img
==> Image generation successful
( 3/10) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found linux image: /boot/vmlinuz-3.16-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-3.16-x86_64.img
Found initrd fallback image: /boot/initramfs-3.16-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
( 4/10) Updating icon theme caches...
( 5/10) Reloading system manager configuration...
( 6/10) Creating system user accounts...
( 7/10) Reloading device manager configuration...
( 8/10) Arming ConditionNeedsUpdate...
( 9/10) Updating the desktop file MIME type cache...
(10/10) Updating the MIME type database...
virtualbox를 설치한 후 실행하려고 하면 오류 메시지가 표시되기 때문에 이것이 잘못된 설치라고 생각합니다.
Unloading modules:
Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.19.2-1-MANJARO
modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.19.2-1-MANJARO
modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.19.2-1-MANJARO
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.19.2-1-MANJARO
나는 여기에 나열된 지침을 따랐습니다.https://wiki.manjaro.org/index.php?title=VirtualBox#Install_VirtualBoxManjaro 설치에 따라 하나를 선택하는 대신 기본 커널 옵션(설치 중 첫 번째 프롬프트)을 선택했습니다 linux*-virtualbox-host-modules
.
그런 다음 packman -Rs virtualbox
. 그러나 재부팅하려고 하면 linux*-virtualbox-host-modules
버전을 선택하라는 메시지가 표시되지 않습니다. 다시 설치하려고 하면 기본적으로 virtualbox-6.0.2-1
. 그런 다음 옆으로 이동하여 linux${wrong}-virtualbox-host-modules
다시 설치를 시도했습니다. 버전 번호를 묻는 메시지는 표시되지 않았지만 어쨌든 설치하도록 했습니다.
두 번째 설치를 실행하려고 하면 다음 오류가 발생합니다.
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.19.2-1-MANJARO) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
/usr/lib/virtualbox/VirtualBox: /usr/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /usr/lib/virtualbox/VirtualBox)
/usr/lib/virtualbox/VirtualBox: /usr/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /usr/lib/virtualbox/VBoxGlobal.so)
그런 다음 시도했고 pacman -S linux419-virtualbox-host-modules
성공적으로 실행되었지만 여전히 오류가 발생했습니다.
어떻게 해결할 수 있나요?
답변1
패키지를 재귀적으로 삭제하여 문제를 해결했는데 virtualbox-host-modules
, 이로 인해 다른 패키지도 삭제되었습니다.
다음 명령을 실행하여 이 작업을 수행할 수 있습니다.
sudo pacman -Rcs virtualbox-host-modules
그런 다음 패키지를 다시 설치합니다.
sudo pacman -Syu virtualbox-host-modules
확인을 했고 sudo modprobe -a vboxsf
이것이 나에게 도움이 되었습니다.