It’s not clear to me why the SDK Manager was designed the way it is.
The entire thing seems overly complicated, and error prone to the point where I’m on the second day of still trying to get it to work without success. I never had this kind of issue with the Jetpacks in my experience with the TK1, TX1, TX2, and Xavier.
The biggest issue with the SDK manager is it doesn’t seem to be designed to be failure friendly. So it always wants to recreate things, and excessively download things.
Or at least it appears to be.
If the flash fails the next time it will recreate the OS image even though the OS image has already been created. Sometimes this happens quickly (like simply verifying it), and sometimes slowly (as if its recreating it).
For the Jetson SDK components it seems to download the stuff from the internet during the component install. So if there is any internet issue or site issue at the time the whole install fails, and you have to go back to the very beginning.
Sure I expect to have to re-image if a component install fails to go back to a known good point, but at the point of the flashing one should no longer have to worry about the cloud. I shouldn’t even have to have an internet connection for the second time through. Like If I’m installing on another Nano for example.
So far I’ve run into three issues on three separate tries.
Flashing -> Root cause was some component package that didn’t get installed as I’m using a fresh install of Ubuntu.
CUDA (Jetson SDK Component) -> Failed to fetch issues. I got around this by not use the USB connection for the Host->Nano connection, and instead used a network cable. Not sure if that was really the issue though.
Computer Vision (Jetson SDK Component) -> Fails on
13:12:58 INFO : OpenCV on Target : E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-defaults/libpython-dev_2.7.15~rc1-1_arm64.deb 503 Service Unavailable [IP: 184.108.40.206 80]
13:12:58 INFO : OpenCV on Target : E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
13:12:58 INFO : OpenCV on Target : Unhandled error when running sudo apt-get install -y python-dev python-numpy python-py python-pytest
13:12:58 INFO : OpenCV on Target : exit status 1
13:12:58 INFO : OpenCV on Target : [ Package Install Finished with Error ]
13:12:58 ERROR : OpenCV on Target : NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP.sh email@example.com:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no firstname.lastname@example.org “~/tmp_NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP.sh” finished with error
So I got that error, and then I clicked “retry failed components” and now its spending lots of time recreating the OS image for some unknown reason.