【发布时间】:2016-03-16 04:53:38
【问题描述】:
我用 Ubuntu + KDE 创建了一个 Vagrant 盒子。我在这个分辨率屏幕上有问题。解决此问题的一种可能方法是安装新的 VBoxGuessAdditions。
确实,我在 vagrantFile 的这一行上将布尔值(从 false 更改为 true):
config.vbguest.auto_update = true
这条线的价值为“假”,我的流浪汉没有问题。 但是,当将此配置设置为“真”时,我会遇到此错误:
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 pro
- 虚拟框:5.0.12 r104815
- 流浪者:1.8.1
- 红宝石:1.9.3p545
谁能知道这个流浪汉在做什么以及 VBoxGuessAdditions 的信息?
【问题讨论】:
标签: vagrant