Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove libarchive::default recipe #85

Open
solaress1980 opened this issue May 7, 2018 · 3 comments
Open

Remove libarchive::default recipe #85

solaress1980 opened this issue May 7, 2018 · 3 comments

Comments

@solaress1980
Copy link

Failing due to libarchive::default recipe

Installing Cookbook Gems:
Compiling Cookbooks...
[2018-05-07T18:58:06+00:00] WARN: The libarchive::default recipe is no longer needed and should not be included on runlists
Converging 10 resources
Recipe: consul-template::install_binary
* remote_file[/tmp/kitchen/cache/consul-template_0.19.4_linux_amd64.zip] action create_if_missing (up to date)
* archive_file[consul-template_0.19.4_linux_amd64.zip] action extract
- create directory /opt/consul-template/consul-template_0.19.4_linux_amd64
Running handlers:
[2018-05-07T18:58:06+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-07T18:58:06+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 04 seconds
[2018-05-07T18:58:06+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2018-05-07T18:58:06+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-07T18:58:06+00:00] FATAL: LoadError: Could not open library 'archive': archive: cannot open shared object file: No such file or directory.
Could not open library 'libarchive.so': /lib64/liblzma.so.5: version `XZ_5.2' not found (required by /opt/chef/embedded/lib/libarchive.so).
Could not open library 'libarchive.so.2': libarchive.so.2: cannot open shared object file: No such file or directory

@ton31337
Copy link
Contributor

it doesn't work even after removing this include

@siulcode
Copy link

I'm wondering if there's any ETA on this. I am also having this issue for the latest Chef release (14+).

@ashley-abbott
Copy link

ashley-abbott commented Mar 11, 2019

upgrading the mixlib-archive gem solves the problem:

gem_package 'mixlib-archive' do
  action :upgrade
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants