apache / apache/openwhisk

CLI installation failed due to unzip command not found.

Open
#3,514 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

## Environment details:

* Distributed Ubuntu

## Steps to reproduce the issue:

1. As part of installation when CLI installation is performed, it tried to unzip CLI binary files for various OS types.
2. As ubuntu does not have default unzip package installed, it failed on ubuntu based deployment.

`# https://github.com/ansible/ansible-modules-core/issues/3952
- name: "Unarchive the individual zipfiles into binaries"
shell: unzip {{ item.path }} -d {{ item.path | dirname }}
with_items: "{{ individual_zipfiles.files }}"
`
This step is only required for mac OS so I think we can check OS type from "facts" before running it on other OS types to avoid this issue, I think on linux it is not required.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.