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

Install fails with command not found #35

Closed
bilus opened this issue Apr 12, 2019 · 3 comments
Closed

Install fails with command not found #35

bilus opened this issue Apr 12, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@bilus
Copy link
Contributor

bilus commented Apr 12, 2019

$ curl https://oya.sh/get | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3039  100  3039    0     0  13563      0 --:--:-- --:--:-- --:--:-- 13566
Checking required tools:
 Sops -> OK (sops 3.2.0 (latest))
Installing Oya v0.0.4
bash: line 107: sha256sum: command not found
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
    [-e pattern] [-f file] [--binary-files=value] [--color=when]
    [--context[=num]] [--directories=action] [--label] [--line-buffered]
    [--null] [pattern] [file ...]
downloaded archive checksum failed
Done.
@bilus bilus added the bug Something isn't working label Apr 12, 2019
@magdalenasliwinska
Copy link

I had this issue on macOS mojave 10.14.3 and I solved it by upgrading coreutils package with following commands:

brew upgrade coreutils
brew link --overwrite coreutils

@bart84ek
Copy link
Collaborator

As i see this problem is related with MacOSX and coreutils ^. All even alipine images got sha256sum installed.
In this case we can:

  • Inform user that we can't verify SHAsum, and ask if we want to process [y/n]. and install without checking.
  • Inform that he needs to update coreutils and quit without installing.

@bart84ek
Copy link
Collaborator

no prompt, just warning that checksum will not be validated.
v0.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants