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

unknown option '-p' and checksum do not match #640

Closed
suphiem opened this issue Jan 31, 2015 · 5 comments
Closed

unknown option '-p' and checksum do not match #640

suphiem opened this issue Jan 31, 2015 · 5 comments
Labels
installing node: checksums This relates to checksum checking of downloaded node archives. shell alias clobbering Anything dealing with users shadowing builtins with aliases or functions.

Comments

@suphiem
Copy link

suphiem commented Jan 31, 2015

§ nvm install stable
######################################################################## 100.0%
unknown option '-q'
options are
-c              to output the digest with separating colons
-d              to output debug info
-hex            output as hex dump
-binary         output in binary form
-sign   file    sign digest using private key in file
-verify file    verify a signature using public key in file
-prverify file  verify a signature using private key in file
-keyform arg    key file format (PEM or ENGINE)
-signature file signature to verify
-binary         output in binary form
-hmac key       create hashed MAC with key
-engine e       use engine e, possibly a hardware device.
-md5            to use the md5 message digest algorithm (default)
-md4            to use the md4 message digest algorithm
-md2            to use the md2 message digest algorithm
-sha1           to use the sha1 message digest algorithm
-sha            to use the sha message digest algorithm
-sha224         to use the sha224 message digest algorithm
-sha256         to use the sha256 message digest algorithm
-sha384         to use the sha384 message digest algorithm
-sha512         to use the sha512 message digest algorithm
-mdc2           to use the mdc2 message digest algorithm
-ripemd160      to use the ripemd160 message digest algorithm
Checksums do not match.
Binary download failed, trying source.

I got this error when trying to install 0.10.36 today, I'm using iTerm2 on OSX

@ljharb
Copy link
Member

ljharb commented Jan 31, 2015

What's your alias output? Specifically I'm looking for aliases to sha1sum, shasum, or sha (there shouldn't be any)

@ljharb ljharb added the needs followup We need some info or action from whoever filed this issue/PR. label Jan 31, 2015
@suphiem
Copy link
Author

suphiem commented Jan 31, 2015

Oh, you're right. I had this line for alias alias sha1='openssl sha1'. So that's what causing the problem?

@ljharb
Copy link
Member

ljharb commented Jan 31, 2015

Yes - that shouldn't be there. However, I can bypass aliases, so I'll do that.

@ljharb ljharb closed this as completed in 0792945 Jan 31, 2015
@suphiem
Copy link
Author

suphiem commented Jan 31, 2015

Cool, I've confirmed that things are all working again now. Thanks alot @ljharb

Just for curiosity, is there a way to keep this alias (well, I use it quite often) and not prevent nvm from working?

@ljharb
Copy link
Member

ljharb commented Jan 31, 2015

Yes - the commit I just pushed (0792945) which will go out with the next release I do, will allow you to keep your alias.

That said, it's an incredibly poor idea to override builtins with aliases, so I'd strongly recommend you do alias somethingElse=openssl sha1 and change your muscle memory :-)

ljharb added a commit that referenced this issue Feb 16, 2015
@ljharb ljharb added installing node: checksums This relates to checksum checking of downloaded node archives. shell alias clobbering Anything dealing with users shadowing builtins with aliases or functions. and removed installing node: checksums This relates to checksum checking of downloaded node archives. needs followup We need some info or action from whoever filed this issue/PR. labels Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installing node: checksums This relates to checksum checking of downloaded node archives. shell alias clobbering Anything dealing with users shadowing builtins with aliases or functions.
Projects
None yet
Development

No branches or pull requests

2 participants