本文介绍了Vagrant VBoxGuessAdditions 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用 Ubuntu + KDE 创建了一个 Vagrant box.我在这个分辨率屏幕上有问题.解决此问题的一种可能方法是安装新的 VBoxGuessAdditions.
I created a Vagrant box with Ubuntu + KDE. I have a problem with resolution screen in this. A perhaps way to resolve this is install new VBoxGuessAdditions.
确实,我在 vagrantFile 的这一行更改了布尔值(从假到真):
Indeed I change boolean (from false to true) on this line on my vagrantFile :
config.vbguest.auto_update = true
这条线的值为false",我对我的流浪汉没有问题.但是当将此配置设置为true"时,我会出现此错误:
With this line at 'false' value I have no problem for up my vagrant. But when a set this config at 'true' I have this error :
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 专业版
- 虚拟框:5.0.12 r104815
- 流浪者:1.8.1
- 红宝石:1.9.3p545
谁能知道这个 vagrant 和 VBoxGuessAdditions 的信息做了什么?
推荐答案
尝试 Vagrant 1.7.X.我在 1.8.X 上遇到了同样的问题.
Try Vagrant 1.7.X. I had the same issue with 1.8.X.
干杯,
这篇关于Vagrant VBoxGuessAdditions 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!