Vagrant VBoxGuessAdditions错误

时间:2016-01-23 23:02:27

标签: vagrant

我使用Ubuntu + KDE创建了一个Vagrant框。我的分辨率屏幕有问题。或许解决这个问题的方法是安装新的VBoxGuessAdditions。

确实,我在vagrantFile上的这一行改变了boolean(从false变为true):

config.vbguest.auto_update = true

这条线在' false'价值我对我的流浪者没有任何问题。 但是,如果设置此配置为“真实”'我有这个错误:

    Installing the Window System drivers
Installing X.Org Server 1.17 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the the Window System (or just restart the guest system)
to enable the Guest Additions.

Installing graphics libraries and desktop services components ...done.
An error occurred during installation of VirtualBox Guest Additions 5.0.12. Some functionality may not work as
intended.
In most cases it is OK that the "Window System drivers" installation failed.
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
stdin: is not a tty
Cleaning up downloaded VirtualBox Guest Additions ISO...
==> default: Checking for guest additions in VM...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
C:/Users/mynickname/.vagrant.d/gems/gems/vagrant-vbguest-0.11.0/lib/vagrant-vbguest/download.rb:23:in `unlink': P
ermission denied @ unlink_internal - C:/Users/mynickname/.vagrant.d/tmp/VBoxGuestAdditions_5.0.12.iso (Errno::EAC
CES)
        from C:/Users/mynickname/.vagrant.d/gems/gems/vagrant-vbguest-0.11.0/lib/vagrant-vbguest/download.rb:23:i
n `cleanup'
        from C:/Users/mynickname/.vagrant.d/gems/gems/vagrant-vbguest-0.11.0/lib/vagrant-vbguest/hosts/base.rb:62
:in `cleanup'
        from C:/Users/mynickname/.vagrant.d/gems/gems/vagrant-vbguest-0.11.0/lib/vagrant-vbguest/installers/base.
rb:194:in `cleanup'

我的环境:

  • 操作系统主机:Windows 7专业版
  • VirtualBox:5.0.12 r104815
  • Vagrant:1.8.1
  • ruby​​:1.9.3p545

任何人都可以知道在这个流浪汉做什么和VBoxGuessAdditions的信息?

1 个答案:

答案 0 :(得分:0)

尝试Vagrant 1.7.X.我对1.8.X也有同样的问题。

干杯,