Не может решить проблему с виртуальным полем

Я довольно плохо знаком с Ubuntu. Я использовал genymotion в течение прошедших 2-3 дней. Когда я пытался запустить его сегодня, это указало, что что-то неправильно с virtualbox. Мне установили его от repos. Я удалил его, затем переустановил его снова от repos, затем удалил его снова и затем переустановил использование .deb от сайта VirtualBox. Испытанная установка dkms, ничего не произошло. При попытке запустить Виртуальное Поле я получаю это сообщение,

      WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.4.0-65-generic) 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.

Пытаясь выполнить sudo/sbin/vboxconfig, я получаю это:

vboxdrv.sh: Building VirtualBox kernel modules.

 This system is not currently set up to build kernel modules (system extensions).

  Running the following commands should set the system up correctly:

  apt-get install linux-headers-4.4.0-65-generic
  (The last command may fail if your system is not fully updated.)
   apt-get install linux-headers-generic
   vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

  This system is not currently set up to build kernel modules (system extensions).

   Running the following commands should set the system up correctly:

  apt-get install linux-headers-4.4.0-65-generic

  (The last command may fail if your system is not fully updated.)

  apt-get install linux-headers-generic

  There were problems setting up VirtualBox.  To re-start the set-up process, run /sbin/vboxconfig as root.

Содержание /var/log/vbox-install.log:

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR <directory> and run Make again.  Stop.

И выполнение склонного - получает установку linux-headers-4.4.0-65-generic, я добираюсь:

  Package linux-headers-4.4.0-65-generic is not available, but is referred to by another package.

  This may mean that the package is missing, has been obsoleted, or is only available from another source

  E: Package 'linux-headers-4.4.0-65-generic' has no installation candidate
0
задан 3 March 2017 в 09:42

1 ответ

Эта ошибка может occour, когда модуль не загружается. Даже если Вы не используете Дугу Linux, можно все еще считать это: https://wiki.archlinux.org/index.php/VirtualBox#Load_the_VirtualBox_kernel_modules

Так, просто попробуйте:

sudo modprobe vboxdrv

или перезагрузка Ваш компьютер.

0
ответ дан 3 November 2019 в 16:36

Другие вопросы по тегам:

Похожие вопросы: