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?
Having issues with your DietPi installation or found a bug? Post it here.
2 posts • Page 1 of 1
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