当我运行“厨房会聚”厨房时,我无法安装厨师,并出现以下输出
Installing chef
installing with dpkg...
(Reading database ... 42662 files and directories currently installed.)
Preparing to unpack .../cache/chef_16.1.16-1_amd64.deb ...
Unpacking chef (16.1.16-1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /tmp/omnibus/cache/chef_16.1.16-1_amd64.deb (--install):
cannot copy extracted data for './opt/chef/embedded/lib/ruby/2.7.0/x86_64-linux/openssl.so' to '/opt/chef/embedded/lib/ruby/2.7.0/x86_64-linux/openssl.so.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/tmp/omnibus/cache/chef_16.1.16-1_amd64.deb
Installation failed
Version:
这是我的厨房档案
---
driver:
name: vagrant
provisioner:
name: chef_zero
always_update_cookbooks: false
verifier:
name: inspec
platforms:
- name: ubuntu-18.04
suites:
- name: default
run_list:
- recipe[java::default]
verifier:
attributes:
但是如果我把平台 ubuntu 14.04 安装好。有什么想法?我正在使用 Windows 10 家庭版