Skip to content

Instantly share code, notes, and snippets.

@funzoneq
Created August 10, 2015 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save funzoneq/c40a62fe842556bd2ec5 to your computer and use it in GitHub Desktop.
Save funzoneq/c40a62fe842556bd2ec5 to your computer and use it in GitHub Desktop.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sh install.sh -v 12.4.1 2>&1
Stdout from the command:
Downloading Chef 12.4.1 for ubuntu...
downloading https://www.getchef.com/chef/metadata?v=12.4.1&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=x86_64
to file /tmp/install.sh.1472/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/x86_64/chef_12.4.1-1_amd64.deb
md5 6229586196a433b0ddf8f72cd4e85533
sha256 bb2bdaa0c551fff21ccdf37dab75fc71374b521c419f1af51d1eab3ea2c791ba
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/x86_64/chef_12.4.1-1_amd64.deb
to file /tmp/install.sh.1472/chef_12.4.1-1_amd64.deb
trying wget...
trying perl...
trying python...
Comparing checksum with sha256sum...
Installing Chef 12.4.1
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 32400 files and directories currently installed.)
Preparing to unpack .../chef_12.4.1-1_amd64.deb ...
Unpacking chef (12.4.1-1) ...
dpkg-deb (subprocess): cannot copy archive member from '/tmp/install.sh.1472/chef_12.4.1-1_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive /tmp/install.sh.1472/chef_12.4.1-1_amd64.deb (--install):
cannot copy extracted data for './opt/chef/embedded/lib/libruby-static.a' to '/opt/chef/embedded/lib/libruby-static.a.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/tmp/install.sh.1472/chef_12.4.1-1_amd64.deb
Installation failed
Version: 12.4.1
Please file a Bug Report at https://github.com/opscode/opscode-omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.getchef.com/support/tickets
More Chef support resources can be found at https://www.getchef.com/support
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
Stderr from the command:
--
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sh install.sh -v 12.4.1 2>&1
Stdout from the command:
Downloading Chef 12.4.1 for ubuntu...
downloading https://www.chef.io/chef/metadata?v=12.4.1&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=x86_64
to file /tmp/install.sh.1447/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/x86_64/chef_12.4.1-1_amd64.deb
md5 6229586196a433b0ddf8f72cd4e85533
sha256 bb2bdaa0c551fff21ccdf37dab75fc71374b521c419f1af51d1eab3ea2c791ba
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/x86_64/chef_12.4.1-1_amd64.deb
to file /tmp/install.sh.1447/chef_12.4.1-1_amd64.deb
trying wget...
trying perl...
trying python...
Comparing checksum with sha256sum...
Installing Chef 12.4.1
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 32400 files and directories currently installed.)
Preparing to unpack .../chef_12.4.1-1_amd64.deb ...
Unpacking chef (12.4.1-1) ...
dpkg-deb (subprocess): cannot copy archive member from '/tmp/install.sh.1447/chef_12.4.1-1_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive /tmp/install.sh.1447/chef_12.4.1-1_amd64.deb (--install):
cannot copy extracted data for './opt/chef/embedded/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline.rb' to '/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline.rb.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/tmp/install.sh.1447/chef_12.4.1-1_amd64.deb
Installation failed
Version: 12.4.1
Please file a Bug Report at https://github.com/opscode/opscode-omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.getchef.com/support/tickets
More Chef support resources can be found at https://www.getchef.com/support
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
Stderr from the command:
--
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vagrant-omnibus:
* '12.4.1' is not a valid version of Chef.
A list of valid versions can be found at: http://www.opscode.com/chef/install/
--
And now it works.
@aronwoost
Copy link

vagrant ssh
cd /tmp
rm -rf *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment