Error when Jetson AGX XAVIER install

I want to setup JETSON XAVIER.But bellow error was occur.
Is there any solution?

HOST PC:ubuntu18.04
JetPack4.3

TERMINAL
15:26:53 ERROR : CUDA on Host : E: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 160.26.2.187 80]
15:26:54 ERROR : CUDA on Host : E: Unable to correct problems, you have held broken packages.
15:26:54 ERROR : CUDA on Host : apt install failed
15:26:54 ERROR : CUDA on Host : command terminated with error
15:26:54 ERROR : CUDA on Host : install ‘CUDA on Host’ failure, command < cd ‘/home/mitsuishi/nvidia/nvidia_sdk/JetPack_4.3_Linux’ ; ‘/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter’ -a=‘install’ -c=‘eyJpZCI6Ik5WX0NVREFfSE9TVF9DT01QIiwibmFtZSI6IkNVREEgb24gSG9zdCIsImRlc2NyaXB0aW9uIjoiQ1VEQSB0byBiZSBpbnN0YWxsZWQgb24gaG9zdC4gQ1VEQSBpcyBhIHBhcmFsbGVsIGNvbXB1dGluZyBwbGF0Zm9ybSBhbmQgcHJvZ3JhbW1pbmcgbW9kZWwgaW52ZW50ZWQgYnkgTlZJRElBLiBJdCBlbmFibGVzIGRyYW1hdGljIGluY3JlYXNlcyBpbiBjb21wdXRpbmcgcGVyZm9ybWFuY2UgYnkgaGFybmVzc2luZyB0aGUgcG93ZXIgb2YgdGhlIGdyYXBoaWNzIHByb2Nlc3NpbmcgdW5pdCAoR1BVKS4iLCJjb21wVHlwZSI6Imhvc3QiLCJpc1Zpc2libGUiOnRydWUsImxpY2Vuc2VJZCI6Ik5WX0pFVFBBQ0tfQ1VEQV9FVUxBIiwiaXNEZXRlY3RhYmxlSW5zdGFsbCI6dHJ1ZSwiaXNJbnN0YWxsUGF0aEN1c3RvbWl6YWJsZSI6dHJ1ZSwidmVyc2lvbiI6IjEwLjAiLCJvcGVyYXRpbmdTeXN0ZW1zIjpbInVidW50dTE4MDQiXSwiaW5zdG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WUvbWl0c3Vpc2hpL252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4zX0xpbnV4IiwiaW5zdGFsbFN0YXR1cyI6Im5vbmUiLCJhY3Rpb24iOjEsImRvd25sb2FkRXJyb3JzIjpbXSwiZmlyc3REb3dubG9hZEZpbGUiOiIvaG9tZS9taXRzdWlzaGkvRG93bmxvYWRzL252aWRpYS9zZGttX2Rvd25sb2Fkcy9jdWRhLXJlcG8tdWJ1bnR1MTgwNC0xMC0wLWxvY2FsLTEwLjAuMzI2LTQxMC4xMDhfMS4wLTFfYW1kNjQuZGViIiwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuM19MaW51eCIsImluc3RhbGxSb290IjoiL2hvbWUvbWl0c3Vpc2hpL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IiIsInRhcmdldEFjY2Vzc0luZm8iOnsidXNlciI6IiIsInBhc3N3b3JkIjoiIiwiaG9zdCI6IjE5Mi4xNjguNTUuMSIsInBvcnQiOiIyMiJ9LCJpc0RyeVJ1biI6ZmFsc2V9’ -i=‘NV_CUDA_HOST_COMP’ -v=‘10.0’ -l=’/home/mitsuishi/nvidia/nvidia_sdk/JetPack_4.3_Linux’ -L=’/home/mitsuishi/.nvsdkm/logs/JetPack_4.3_Linux’ -p=‘12043’ -t=‘host’ -e=’/home/mitsuishi/Downloads/nvidia/sdkm_downloads/cuda-repo-ubuntu1804-10-0-local-10.0.326-410.108_1.0-1_amd64.deb’ > terminated with error
15:26:54 ERROR : Unavailable components detected, please check log
15:26:54 ERROR : OpenCV on Host : OpenCV on Host Skipped. Due to its dependencies fail to install: CUDA on Host,
15:26:54 ERROR : VisionWorks on Host : VisionWorks on Host Skipped. Due to its dependencies fail to install: CUDA on Host,
15:26:54 ERROR : CUDA Cross Compile Package on Host : CUDA Cross Compile Package on Host Skipped. Due to its dependencies fail to install: CUDA on Host,
15:26:55 ERROR : Could not detect Nvidia Jetson device connected to USB. Verify that: 1. is connected to this host machine with a USB cable. 2. Jetson’s Ubuntu OS is up and running. 3. Ubuntu ‘System configuration wizard’ is completed on the device. This can be validated by running the ‘lsusb’ command on your host, and look for “0955:7019” (NVIDIA Corp). Or use the ‘Manual Setup’ instead.
15:26:55 ERROR : Could not detect Nvidia Jetson device connected to USB. Verify that: 1. is connected to this host machine with a USB cable. 2. Jetson’s Ubuntu OS is up and running. 3. Ubuntu ‘System configuration wizard’ is completed on the device. This can be validated by running the ‘lsusb’ command on your host, and look for “0955:7019” (NVIDIA Corp). Or use the ‘Manual Setup’ instead.
15:27:17 ERROR : Could not detect Nvidia Jetson device connected to USB. Verify that: 1. is connected to this host machine with a USB cable. 2. Jetson’s Ubuntu OS is up and running. 3. Ubuntu ‘System configuration wizard’ is completed on the device. This can be validated by running the ‘lsusb’ command on your host, and look for “0955:7019” (NVIDIA Corp). Or use the ‘Manual Setup’ instead.

Looks like there was a problem with the network communication. Maybe download server was down or there was a glitch in your internet connection. Try later again…

what if you run
sudo dpkg --remove-architecture arm64
sudo rm -rf /var/lib/apt/lists
sudo apt update -y
Otherwise consider manually set the architecture, e.g. deb [arch=amd64,i386] in file /etc/apt/sources.list
also consider reinstalling the sdkmanager if the steps above won’t resolve the issue

also make sure the device is in the recovery mode and connected to Host pc via the port J512 of Xavier

Thank you for advice.
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found

This error was resolved with the following commands.
sudo dpkg --remove-architecture arm64
sudo rm -rf /var/lib/apt/lists
sudo apt update -y

However, another error has yet to be resolved.
I made sure the device is in the recovery mode and connected to Host pc via the port J512 of Xavier.But error is occur.

Even if the lsusb command is executed, it is displayed as follows, and XAVIER is not recognized.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04ca:707f Lite-On Technology Corp.
Bus 001 Device 004: ID 8087:0aaa Intel Corp.
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Please tell me how to recognize XAVIER on host PC.

You need internet access on the host PC during flash. A manifest is downloaded by the host PC, and content from this is used to download other files. I see you are in Japan due to this:
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found

What you are seeing is an attempt to go to web server http://jp.archive.ubuntu.com, and from there to find directory http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/

This latter fails, and only non-arm64 is available there. You can go this far to verify others show up, but not arm64: http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/

This is not an error of the Jetson hardware, but if your manifest is asking for updates from a non-existent update directory, then this is not fatal. Imagine you have a server for original package install, and that another server is for updates. If there are no updates, then this is perhaps an issue, but it isn’t fatal to flash.

The real error is:

If lsusb fails to find the device, then either the device is not in recovery mode, or the wrong USB is used (should be USB-C), or else the host PC has USB issues. If you are using a VM, then this covers 99% of the USB issues on host side. VMs are not supported, but can sometimes work.

During a flash USB repeatedly disconnects and reconnects. A regular PC will handle this correctly, but typically a VM does not manage to get ownership of USB after the reconnect, and this has to be accounted for. Is this a VM?

Hi linuxdev,
Thank you for reply.

I don’t use VM. And I use bellow PC.

Manufacturer HP
Model Number Pavilion Gaming 15 High Performance Model
CPU Intel® Core™ i7-8750H processor (2.20GHz-4.10GHz, Intel® Smart Cache 9MB)
Graphics Board NVIDIA® GeForce® GTX 1050Ti Graphics
Memory 16GB
Storage 128GB SSD (PCIe NVMe M.2) + 1TB hard drive

Then I used the USB type-C attached to the developer kit.

Does recovery mode refer to force recovery mode?
I set it to force recovery mode according to the following procedure and confirmed that the power light is on and nothing appears on the screen.

  • It is powered off.
  • Press and hold down the Force Recovery button.
  • Press and hold down the Power button.
  • Release both buttons.

Thanks for the advice.

When I checked with the trading company where I purchased the XAVIER, they diagnosed it as an initial defect.

After the repair of XAVIER by the seller, I will try to set up XAVIER again.

FYI, “recovery mode” is indeed when you hold down the “force recovery” button and then either power up or reset power (and then let go of the recovery button). This does not change the Jetson, but it does put the Jetson in a mode capable of being flashed.

@hirozumi.mitsuishi
also it is essential that on Xavier the only one usb-c port of the two can be used for flashing;
However, unless lsusb lists the device it is not possible to flash it.
Moreover, at Host PC it will typically require to use USB3-A, not USB3c, as the latter might be some specific implementation. Otherwise USB2.