otomi-core icon indicating copy to clipboard operation
otomi-core copied to clipboard

Otomi CLI self update does not work

Open j-zimnowoda opened this issue 1 year ago • 0 comments

Describe the bug: (a clear and concise description of what the bug is)

To Reproduce Steps to reproduce the behavior:

  1. run otomi CLI command and observe that you are prompted to update
  2. See error
# otomi decrypt
Newer version is available, do you want to update (yes/No)? yes
Performing self-update...
Downloading latest version...dyld[51230]: Library not loaded: /usr/local/opt/libunistring/lib/libunistring.2.dylib
  Referenced from: <E7577EC0-B6C8-317B-B41D-A45E35CAD031> /usr/local/Cellar/wget/1.21.2/bin/wget
  Reason: tried: '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache)
/usr/local/bin/otomi: line 119: 51230 Abort trap: 6           wget --quiet --output-document="$0.tmp" $update_base
Failed: Error while trying to wget new version!
File requested: https://raw.githubusercontent.com/redkubes/otomi-core/v0.21.5/binzx/otomi

Expected behavior: Self update performs successfully

j-zimnowoda avatar Jun 26 '23 09:06 j-zimnowoda