andresgongora / synth-shell

Boost your terminal, script by script
GNU General Public License v3.0
992 stars 241 forks source link

Lots of errors on Raspberry PI OS 32bit #176

Closed bassamanator closed 4 years ago

bassamanator commented 4 years ago

Installed via standard instructions to current user. All options opted in (yes to all options). When I sshed back in to my pi I was greeted with teh following :/

-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: 0: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: 0: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: 0: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: 0: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: [: 0: unary operator expected
                                          OS              Raspbian GNU/Linux 10 (buster)
                                          Kernel          4.19.118-v7l+
              -oydNMMMMNdyo-              CPU             ARMv7 Processor rev 3 (v7l)
           -yNMMMMMMMMMMMMMMNy-           GPU             Broadcom Limited Device 2711 
         .hMMMMMMmhsooshmMMMMMMh.         Shell           /bin/bash
        :NMMMMmo.        .omMMMMN:        Date            2020.06.14 - 02:08:06
       -NMMMMs    -+ss+-    sMMMMN-       Uptime          1:46
       hMMMMs   -mMMMMMMm-   sMMMMh       Local IPv4      *****************
      'MMMMM.  'NMMMMMMMMN'  .MMMMM       External IPv4   ******************
      'MMMMM.  'NMMMMMMMMN'   yMMMM'      Services        1 service failed!
       hMMMMs   -mMMMMMMMMy.   -yMh       CPU temp        lm-sensors not installed
       -NMMMMs    -+ss+yMMMMy.   -.       Sys load avg    [             ]      %
        :NMMMMmo.       .yMMMMy.          Memory          [             ]   415/7966  MB
         .hMMMMMMmhsoo-   .yMMMy          Swap            [             ]     0/99    MB
           -yNMMMMMMMMMy-   .o-           Storage /       [             ]     7/59    GB
              -oydNMMMMNd/                Storage /home   [             ]     7/59    GB
                                                          ▄▄█ ▄▄█ ▄▄█ ▄▄█ ▄▄█ ▄▄█ ▄▄█ ▄▄█ 
                                          Color palette   ██▀ ██▀ ██▀ ██▀ ██▀ ██▀ ██▀ ██▀ 

SYSTEMCTL FAILED SERVICES:
  UNIT                  LOAD   ACTIVE SUB    DESCRIPTION                  
● bthelper@hci0.service loaded failed failed Raspberry Pi bluetooth helper
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
-bash: bc: command not found
-bash: [: -gt: unary operator expected
andresgongora commented 4 years ago
Sorry for the late reply. I have several major projects going on and so I was unable to address all issues of this repo. I'm a bit more free now and so we should be able to fix all issues in a short time.

Please let me remind you that synth-shell is going through a big change. I'm moving all script inside synth-shell to external repos, so that they now becomes submodules that can, if the user wishes so, be installed completely independently. This is a big improvement, but requires a lot of work. Just as a brief overview:

- synth-shell https://github.com/andresgongora/synth-shell: this will be the parent repo. Eventually it will contain little code on its own and will become a bundle of submodules.

- bash-tools https://github.com/andresgongora/bash-tools: all auxiliar functions that have "generic" use will be store here. Like printer helpers and such.

- synth-shell-greeter https://github.com/andresgongora/synth-shell-greeter, formerly known as status.sh, is the script that prints the logo and system status info.

- synth-shell-prompt https://github.com/andresgongora/synth-shell-prompt: prints a nice colored prompt with triangles.

Hi @bassamanator, thanks for the bug report. I think this issue is tightly tied to the other bugs the script has. Please consider reinstalling synth-shell, I have updated the master branch heavily. Please let me know if doing so fixes the bug or other new ones appear.

andresgongora commented 4 years ago

OK. It is indeed the same bug than #173. I'm closing this issue (duplicate) and I will adress the problem there. I think that if we fix that one, it shpuld also be fixed for the rPi. If not, we reopen this issue ;)