Allo USBBridge Install Error

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Govnah
Posts: 2
Joined: Fri Jan 13, 2017 1:06 pm

Allo USBBridge Install Error

Post by Govnah »

I have attempted multiple times to install the latest version/DietPi on my Allo USBBridge and when I apply the updates, reboot, and login I receive the following error:

-bash: 70: command not found
-bash: /boot/dietpi/.hw_model: line 2: syntax error near unexpected token `('
-bash: /boot/dietpi/.hw_model: line 2: `Sparky SBC (armv7l)'
-bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8): No such f ile or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)
/boot/dietpi/dietpi-login: line 228: /DietPi/dietpi/func/dietpi-globals: No such file or directory
/boot/dietpi/dietpi-login: line 233: /DietPi/dietpi/func/obtain_network_details: No such file or directory
/boot/dietpi/dietpi-login: line 237: ((: == 2 : syntax error: operand expected ( error token is "== 2 ")
/boot/dietpi/dietpi-login: line 111: /DietPi/dietpi/func/dietpi-banner: No such file or directory
/boot/dietpi/dietpi-login: line 116: G_CONFIG_INJECT: command not found
/boot/dietpi/dietpi-login: line 118: G_WHIP_YESNO: command not found

Obviously /DietPi directory does not exist on reboot...

I have swapped flash/memory and cloned the /boot/dietpi directory from git w/ out success. Do I have a faulty SBC or am I missing something during the initial install/upgrade process?

Thanks
User avatar
Joulinar
Posts: 4502
Joined: Sat Nov 16, 2019 12:49 am

Re: Allo USBBridge Install Error

Post by Joulinar »

strange that your system is trying to use /DietPi/ as this directory did not exist anymore since a while. What version of DietPi you are using? Anyway as workaround you could create a sym link like

Code: Select all

ln -s /boot/ /DietPi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply