Skip to content

Instantly share code, notes, and snippets.

@rdeknijf
Created April 9, 2013 11:50
Show Gist options
  • Save rdeknijf/5345087 to your computer and use it in GitHub Desktop.
Save rdeknijf/5345087 to your computer and use it in GitHub Desktop.
Attempt to add vagrant box fails. Changed homedir to make sure that wasn't the problem, no difference. Win8x64
H:\>vagrant box add precise64 precise64.box
INFO global: Vagrant version: 1.1.5
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/fedora/plugin.rb
INFO manager: Registered plugin: Fedora host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/opensuse/plugin.rb
INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
INFO vagrant: `vagrant` invoked: ["box", "add", "precise64", "precise64.box"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#<Vagrant::Environment:0x2964618>)
INFO environment: - cwd: H:/
INFO environment: Home path: c:/vagranthome
WARN environment: No local data path is set. Local data cannot be stored.
DEBUG environment: Loading plugins from: c:/vagranthome/plugins.json
INFO environment: Running hook: environment_load
INFO environment: Initializing config...
INFO loader: Set :default = "C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/config/default.rb"
DEBUG loader: Populating proc cache for "C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/config/default.rb"
DEBUG loader: Load procs for pathname: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/config/default.rb
INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::H
ostFedora::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostLinux::Host, VagrantPlugins::HostBSD::Host]
INFO hosts: Host class: VagrantPlugins::HostWindows::Host
INFO runner: Running action: #<Vagrant::Action::Builder:0x243c0a8>
INFO cli: CLI: [] "box" ["add", "precise64", "precise64.box"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandBox::Command::Root ["add", "precise64", "precise64.box"]
DEBUG root: Invoking command class: VagrantPlugins::CommandBox::Command::Add ["precise64", "precise64.box"]
INFO runner: Running action: #<Vagrant::Action::Builder:0x2433d08>
INFO warden: Calling action: #<Vagrant::Action::Builtin::BoxAdd:0x245a4f8>
INFO interface: info: Downloading with Vagrant::Downloaders::File...
Downloading with Vagrant::Downloaders::File...
INFO box_add: Downloading box to: c:/vagranthome/tmp/box1365508017
INFO interface: info: Copying box to temporary location...
Copying box to temporary location...
INFO interface: info: Extracting box...
Extracting box...
DEBUG box_collection: Adding box: precise64 (any provider) from c:/vagranthome/tmp/box1365508017
DEBUG box_collection: Unpacking box into temporary directory: H:/TEMP/vagrant-box-add-temp-20130409-3916-17szje0
INFO subprocess: Starting process: ["bsdtar", "-v", "-x", "-C", "H:/TEMP/vagrant-box-add-temp-20130409-3916-17szje0", "-f", "c:/vagranthome/tmp/box1365508017"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: x box-disk1.vmdk
DEBUG subprocess: stderr: : Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998
DEBUG subprocess: Exit status: 1
ERROR warden: Error occurred: The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box-disk1.vmdk: Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::BoxAdd:0x245a4f8>
INFO interface: info: Cleaning up downloaded box...
Cleaning up downloaded box...
INFO warden: Recovery complete.
INFO environment: Running hook: environment_unload
INFO runner: Running action: #<Vagrant::Action::Builder:0x25dfe38>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::BoxUnpackageFailure: The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box-disk1.vmdk: Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
>
ERROR vagrant: The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box-disk1.vmdk: Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
ERROR vagrant: C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/box_collection.rb:105:in `add'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/builtin/box_add.rb:35:in `call'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/warden.rb:34:in `call'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/builder.rb:109:in `call'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:61:in `block in run'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/util/busy.rb:19:in `busy'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:61:in `run'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/box/command/add.rb:33:in `execute'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/plugins/commands/box/command/root.rb:47:in `execute'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/cli.rb:46:in `execute'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/environment.rb:408:in `cli'
C:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.5/bin/vagrant:75:in `<top (required)>'
C:/vagrant/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `load'
C:/vagrant/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `<main>'
INFO interface: error: The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box-disk1.vmdk: Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box-disk1.vmdk: Can't update time for box-disk1.vmdk: Invalid argument
x box.ovf: Can't update time for box.ovf: Invalid argument
x Vagrantfile: Can't update time for Vagrantfile: Invalid argument
bsdtar: Error exit delayed from previous errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment