Provisioning vagrant dentro do windows10 ubuntu falha

0

Estou tentando aprovisionar VVV dentro do bash no Ubuntu no Windows, mas estou recebendo erros

  
denis@Denis-PC:/mnt/e/vagrant-local$ vagrant up --provision
/mnt/e/vagrant-local/Vagrantfile:9: warning: Insecure world writable dir /mnt/c/ProgramData/Oracle/Java in PATH, mode 040777
  __     ___     ___     __  ____
  \ \   / \ \   / \ \   / / |___ \
   \ \ / / \ \ / / \ \ / /    __) |
    \ V /   \ V /   \ V /    / __/
     \_/     \_/     \_/    |_____|

  Varying Vagrant Vagrants v2.1.0-master
  Docs:       https://varyingvagrantvagrants.org/
  Contribute: https://github.com/varying-vagrant-vagrants/vvv
  Dashboard:  http://vvv.test

VirtualBox is complaining that the installation is incomplete. Please
run 'VBoxManage --version' to see the error message which should contain
instructions on how to fix this error.
denis@Denis-PC:/mnt/e/vagrant-local$ sudo apt-get install linux-headers-'uname -r'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.4.0-43-Microsoft
E: Couldn't find any package by regex 'linux-headers-4.4.0-43-Microsoft'
denis@Denis-PC:/mnt/e/vagrant-local$ sudo dpkg-reconfigure virtualbox-dkms

------------------------------
Deleting module version: 4.3.36
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-4.3.36 DKMS files...
dpkg: warning: version '*-*' has bad syntax: version number does not start with digit
It is likely that 4.4.0-43-Microsoft belongs to a chroot's host
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of restart.
denis@Denis-PC:/mnt/e/vagrant-local$

Não consigo obter linux-headers-4.4.0-43-Microsoft , por isso, o dpkg-reconfigure virtualbox-dkms falhará.

Eu tentei de tudo, desde esta questão , mas nada funcionou.

Existe alguma solução alternativa para isso?

    
por dingo_d 21.01.2018 / 17:58

1 resposta

0

Aparentemente, engasga com a parte -Microsoft. Eu consegui que funcionasse executando o seguinte:

sudo apt-get install linux-headers-4.4.0-43
    
por 03.04.2018 / 22:35