lando/hyperdrive

pk[m[r_STATUS: invalid variable name

zoiosilva opened this issue · 2 comments

Describe the bug
I went on with the default install according to the readme, but the initial throwed me an error:

  _    _                          _      _
 | |  | |                        | |    (_)
 | |__| |_   _ _ __   ___ _ __ __| |_ __ ___   _____
 |  __  | | | | '_ \ / _ \ '__/ _` | '__| \ \ / / _ \
 | |  | | |_| | |_) |  __/ | | (_| | |  | |\ V /  __/
 |_|  |_|\__, | .__/ \___|_|  \__,_|_|  |_| \_/ \___|
          __/ | |
         |___/|_|

Determining operating system .................................. ubuntu
Determining package manager .................................. aptitude
Determining curl version .................................. 7.68.0
Determining git version .................................. 2.25.1
Checking for git config user name .................................. My name
Checking for git config user email .................................. My email
Determining node version .................................. not installed
Determining yarn version .................................. not installed
Determining docker version .................................. 20.10.5
Determining lando version .................................. not installed
Checking for ssh public key .................................. not set
Reticulating .................................. done!

Computing results matrix .................................. done!
/tmp/hyperdrive: line 233: pk[m[r_STATUS: invalid variable name
FAILED WITH CODE 1!

To Reproduce
Steps to reproduce the behavior:

  1. Run curl -Ls https://github.com/lando/hyperdrive/releases/download/v0.6.1/hyperdrive > /tmp/hyperdrive && chmod +x /tmp/hyperdrive && /tmp/hyperdrive
  2. Press enter to start the analysis
  3. See error

Error

/tmp/hyperdrive: line 233: pk[m[r_STATUS: invalid variable name
FAILED WITH CODE 1!

Expected behavior
I was expecting the check would proceed normally until prompted me to confirm the install process.

Operating System and version:

  • Windows 10 x64 21H1 pt-BR
  • WSL2 Ubuntu 20.04: Linux 5.4.72-microsoft-standard-WSL2

I suspect it's some encoding issue, but I don't know how to fix it. By the looks of it, it seems like it's messing up when trying to check for the pkgmgr dependency.

I could install normally when I cloned the repo and followed the ./hyperdrive.sh command locally, though.