1
我在使用流浪者条款安装软件时遇到问题。我只是试图安装混帐,但我得到这个错误:流浪汉规定不起作用
==> default: stdin: is not a tty
==> default: git-email git-gui gitk gitweb diffutils-doc
==> default: The following NEW packages will be installed:
==> default: git git-man liberror-perl patch
==> default: 0 upgraded, 4 newly installed, 0 to remove and 179 not upgraded.
==> default: Need to get 6,730 kB of archives.
==> default: After this operation, 15.4 MB of additional disk space will be used.
==> default: Do you want to continue [Y/n]?
==> default: Abort.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
我Vargantfile看起来如此:
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise32"
config.vm.provision "shell", path: "bootstrap.sh"
end
和我bootstrap.sh正好包含:
#!/usr/bin/env bash
sudo apt-get update
sudo apt-get install git
我试了一下mac和windows,并得到相同的错误,我使用的是流浪汉1.7.2