Tiryoh/ros2_setup_scripts_ubuntu

Facing OS not supported issue on jetson nano 4gb running 20.04

Closed this issue · 3 comments

I am using ubuntu 20.04 on Jetson Nano 4gb and facing this weird issue where it says focal is not supported but it should be.

image

I am using this script:
https://github.com/Tiryoh/ros2_setup_scripts_ubuntu/blob/master/ros2-foxy-desktop-main.sh

and this is my system info:
image

Sorry I just did
chmod +x <filename>
and then ./<filename>

also changed header to #!/bin/bash and it started working.

Thanks for you report.
The cause of this issue is that the shell script is executed by specifying "sh"(/bin/sh).

If you run ./run.sh according to the README, I guess you won't get an error. Since shebang specifies bash, no change is required.
If the file permissions are messed up, change the file permissions with chmod +x ./run.sh && ./run.sh or try bash ./run.sh.