I am currently going through the steps to flash my target system (Drive AGX Xavier) and upon “Step 3” which is Setup Process, I get an error about Docker and this ultimately leads to the flashing process failing. I am trying to accomplish flashing my target system to Ubuntu 18.04 with Drive Software 10.
The error is as follows:
INFO: Drive Platform Targetfs: start to download...
...
Drive Platform Targetfs: ERROR: The docker failed to properly install the components
...
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 23.22.155.84:443: connect: connection refused.
...
ERROR: Drive Platform Targetfs: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_DRIVE_PLATFORM_RFS_TARGET_COMP.sh;
[error]:
ERROR: Drive Platform Targetfs: command terminated with error
SUMMARY: Drive Platform Targetfs: Failed to execute commands with GenericInstaller
...
Drive Platform Targetfs: W: Target Sources (restricted/sources/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
Drive Platform Targetfs: Reading package lists...
...
Drive Platform Targetfs: Unable to find image 'hello-world:latest' locally
Drive Platform Targetfs: Sending build context to Docker daemon 54.22kb
ERROR: Drive Platform Targetfs: command terminated with error
As you can see there is a bunch of errors with docker and some warnings and thus the installation failed in SDK manager on the host-PC. Please provide any assistance. Thank you!
I should also mention that error log is from several runs in the SDK manager on the host-PC. The “…” are just extra lines in the log about dependency trees, building, and other installing of packages and libs (filler info).
Could you export debug Logs in SDK Manager and provide them for our analysis?
But I highly suspect “sudo apt update” doesn’t work on your host system even before running SDK Manager. Could you try?
Thank you for the quick response! I have just exported the logs and will send them here shortly. I tried running the “sudo apt update” and it worked but with 622 packages that are upgradable along with giving warnings about “Target sources(restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7.”
As for the Software version of Software 9, that is the software we have on the Drive AGX Xavier currently. We are trying to get it to Software 10 at the moment.
Look out for the debug logs, I will be sending them here shortly!
Your issue looks same as another topic. Please check my reply (marked as solution) below to manually run the commands to clarify which cause the first problem on your host. Thanks!
I decided to stay a little late at work and it seems the solution provided by you in the other forum didn’t work; the installation still failed. I did as directed with copying your code into the prerequisite_check.sh file that was in the tar.gz file.
Also, our network is connected and working as we tested it with Google Chromium on our host-PC.
Can you offer any additional suggestions for a fix?
The post isn’t a solution. I just shared the user what commands were actually run by SDK Manager and then he ran the commands mannually to clarify the issue on his host system. After that, he marked my post solved his problem.
Have you tried to run “sudo docker run hello-world” manually?
I can try running it manually on Monday(I thought I did but I can’t recall). Thank you for your help so far and I’ll get back to you with my results on Monday.
So, I am back in the office and I tried running sudo docker run hello-world manually in my host-PC terminal but I got the following error:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 35.174.73.84:443: connect:
connection refused.
See 'docker run --help'.
Not sure if there is a connection issue, dependency issue, or version issue but it seems we are still getting the connection refused feedback. I checked and we are able to access the internet via Google Chrome and using YouTube on the host-PC. Any suggestions? Thank you.
We just tried reinstalling like you said and it did not work. We still got the same error. I will take my issue to the internet and see if I can try and find a guide to help us fix this docker issue. Thank you for your help!
We fixed one of the docker errors by installing it manually with debian. However, we are getting new errors and wondering if you could help with them. Here are the following errors in SDK Manager that we just encountered:
INFO: Drive Platform Targetfs: E: Packages were downgraded and -y was used without --allow-downgrades
INFO: Drive Platform Targetfs: Hello from Docker!
INFO: Drive Platform Targetfs: ---> Running in 9e832d6c727f
INFO: Drive Platform Targetfs: Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable)
INFO: Drive Platform Targetfs: [Package Install Finished with Error]
ERROR: Drive Platform Targetfs: command terminated with error
I will provide the logs from the run in SDK Manager soon here if you would also like to take a look at those. Please provide any assistance, thank you.
I fixed the remaining errors by using Wifi instead of ethernet. However, now it seems the host-PC can’t find the USB that connects for flashing through SDK manager. I am fairly certain I set it up right. Any help on this?
Thank you so much! It was plugged in wrong to “Reserved” instead of “Debug” where it should be. We successfully flashed the AGX to Ubuntu 18.04 but it seems very empty. Barely any folders and I do not see Driveworks or Drive software on it. Is there any way to quickly check Drive software version through the terminal?