It looks like you're new here. If you want to get involved, click one of these buttons!Sign In
It looks like you're new here. If you want to get involved, click one of these buttons!
I am starting a new thread for this, because I was able to collect additional information and pinpoint the error to a specific line of code in the bash script.
After installing Raspbian Stretch on a Raspberry Pi 3B, I clone the NCSDK repository and run
It does not matter if I run it normally or using
sudo, I always get the same error:
Error in line 170.
By stopping script execution and adding some debug echoes, I was able to verify that indeed the following line of code is responsible for the error:
PREV_INSTALL_INFO='$SUDO_PREFIX find /opt /home -name $INSTALL_INFO_FILENAME -print 2> /dev/null'
Running something like
sudo find /opt /home -name .ncsdk_install.info -print 2> /dev/null
in the console does not generate any kind of error.
Deleting this line and the following if-fi statement before continuing execution will make the script run normally until it is finished, so in my eyes this is an actual bug, but I wouldn't know where to add a bug report.
I'm looking forward to any kind of help.
Note: Please keep in mind I only have little experience with Linux.