Hi I encounter when I try install ubuntu 18.04 on agx xavier. I could not download opencv package.

Hi I encounter when I try install ubuntu 18.04 on agx xavier. I could not download opencv package. I try use with sdk manager. This is my log :

15:32:08 INFO : OpenCV on Host : Found file /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv-dev_3.3.1-2-gb3f86dcd5_amd64.deb with correct checksum, skip downloading.
15:32:08 INFO : OpenCV on Host : Found file /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv-python_3.3.1-2-gb3f86dcd5_amd64.deb with correct checksum, skip downloading.
15:32:08 INFO : OpenCV on Host : Found file /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv-samples_3.3.1-2-gb3f86dcd5_amd64.deb with correct checksum, skip downloading.
15:32:08 INFO : OpenCV on Host : Found file /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb with correct checksum, skip downloading.
15:32:08 INFO : OpenCV on Host : download 'OpenCV on Host' success
15:32:08 DEBUG : OpenCV on Host : running command < cd '/home/efl4tun/nvidia/nvidia_sdk/JetPack_4.2_Linux' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX09QRU5DVl9IT1NUX0NPTVAiLCJuYW1lIjoiT3BlbkNWIG9uIEhvc3QiLCJkZXNjcmlwdGlvbiI6Ik9wZW5DViBmb3IgSG9zdCIsImNvbXBUeXBlIjoiaG9zdCIsImlzVmlzaWJsZSI6dHJ1ZSwibGljZW5zZUlkIjoiTlZfSkVUUEFDS19WSVNJT05XT1JLU19PUEVOQ1ZfRVVMQSIsImlzRGV0ZWN0YWJsZUluc3RhbGwiOnRydWUsImlzSW5zdGFsbFBhdGhDdXN0b21pemFibGUiOmZhbHNlLCJ2ZXJzaW9uIjoiMy4zLjEiLCJvcGVyYXRpbmdTeXN0ZW1zIjpbInVidW50dTE4MDQiXSwiaW5zdGFsbFNpemVNQiI6MTU4LCJkb3dubG9hZEZpbGVzIjpbe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iIvaG9tZS9lZmw0dHVuL252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4yX0xpbnV4IiwiaW5zdGFsbFN0YXR1cyI6Im5vbmUiLCJhY3Rpb24iOjEsImRvd25sb2FkRXJyb3JzIjpbXSwiZXhlYyI6Ii9ob21lL2VmbDR0dW4vRG93bmxvYWRzL252aWRpYS9zZGttX2Rvd25sb2Fkcy9saWJvcGVuY3YtZGV2XzMuMy4xLTItZ2IzZjg2ZGNkNV9hbWQ2NC5kZWIiLCJidW5kbGVUaXRsZSI6IkpldFBhY2tfNC4yX0xpbnV4IiwiaW5zdGFsbFJvb3QiOiIvaG9tZS9lZmw0dHVuL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IiIsInRhcmdldEFjY2Vzc0luZm8iOnsidXNlciI6IiIsInBhc3N3b3JkIjoiIiwiaG9zdCI6IjE5Mi4xNjguNTUuMSIsInBvcnQiOiIyMiJ9LCJpc0RyeVJ1biI6ZmFsc2V9' -i='NV_OPENCV_HOST_COMP' -v='3.3.1' -l='/home/efl4tun/nvidia/nvidia_sdk/JetPack_4.2_Linux' -L='/home/efl4tun/.nvsdkm/logs/JetPack_4.2_Linux' -p='8538' -t='host' -e='/home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv-dev_3.3.1-2-gb3f86dcd5_amd64.deb' >
15:32:08 INFO : OpenCV on Host : [ Disk Avail:20.99 GB ]
15:32:08 INFO : OpenCV on Host : Using GenericInstaller to Install NV_OPENCV_HOST_COMP
15:32:08 INFO : OpenCV on Host : NV_OPENCV_HOST_COMP include 4 package
15:32:08 INFO : OpenCV on Host : [ Package PreInstall Started ]
15:32:08 INFO : OpenCV on Host : current working directory is /home/efl4tun/nvidia/nvidia_sdk/JetPack_4.2_Linux
15:32:08 INFO : OpenCV on Host : exec_command: sudo apt-get install -y libtbb-dev
15:32:08 INFO : OpenCV on Host : [host] [sudo] password for efl4tun:
15:32:08 INFO : OpenCV on Host :
15:32:08 INFO : OpenCV on Host : Reading package lists...
15:32:09 INFO : OpenCV on Host : Building dependency tree...
15:32:09 INFO : OpenCV on Host : Reading state information...
15:32:09 INFO : OpenCV on Host : libtbb-dev is already the newest version (2017~U7-8).
15:32:09 INFO : OpenCV on Host : 0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
15:32:09 INFO : OpenCV on Host : [ Package PreInstall Finished Successfully ]
15:32:09 INFO : OpenCV on Host : [ Package Install Started ]
15:32:09 INFO : OpenCV on Host : deb installer start to install
15:32:09 INFO : OpenCV on Host : exec_command: dpkg -f /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb Package | tr -d '\n'
15:32:09 INFO : OpenCV on Host : exec_command: dpkg -f /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb Version | tr -d '\n'
15:32:09 INFO : OpenCV on Host : deb file /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb, package name [libopencv], package version [3.3.1-2-gb3f86dcd5]
15:32:09 INFO : OpenCV on Host : infer package info from file name libopencv_3.3.1-2-gb3f86dcd5_amd64.deb [ name: libopencv, version: 3.3.1-2-gb3f86dcd5 ]
15:32:09 INFO : OpenCV on Host : exec_command: sudo dpkg -i '/home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb'
15:32:10 ERROR : OpenCV on Host : dpkg: considering removing opencv-data in favour of libopencv ...
15:32:10 INFO : OpenCV on Host : dpkg: yes, will remove opencv-data in favour of libopencv
15:32:10 INFO : OpenCV on Host : (Reading database ... 322266 files and directories currently installed.)
15:32:10 INFO : OpenCV on Host : Preparing to unpack .../libopencv_3.3.1-2-gb3f86dcd5_amd64.deb ...
15:32:10 INFO : OpenCV on Host : Unpacking libopencv (3.3.1-2-gb3f86dcd5) ...
15:32:11 ERROR : OpenCV on Host : dpkg: error processing archive /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb (--install):
15:32:11 INFO : OpenCV on Host : trying to overwrite '/usr/bin/opencv_version', which is also in package libopencv-dev 3.2.0+dfsg-4ubuntu0.1
15:32:12 ERROR : OpenCV on Host : Errors were encountered while processing:
15:32:12 INFO : OpenCV on Host : /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb
15:32:12 INFO : OpenCV on Host : exec_command: sudo apt-get check
15:32:13 INFO : OpenCV on Host : Reading package lists...
15:32:13 INFO : OpenCV on Host : Building dependency tree...
15:32:13 INFO : OpenCV on Host : Reading state information...
15:32:13 INFO : OpenCV on Host : exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv
15:32:13 INFO : OpenCV on Host : [ Package Install Finished with Error ]
15:32:13 INFO : OpenCV on Host : [ 44.00 KB used. Disk Avail: 20.99 GB ]
15:32:13 INFO : OpenCV on Host : [ NV_OPENCV_HOST_COMP Install took 5s ]
15:32:13 ERROR : OpenCV on Host : package [{libopencv 3.3.1}] not installed
15:32:13 INFO : OpenCV on Host :
15:32:13 ERROR : OpenCV on Host : command terminated with error


Download folder:

I am not sure if your error is about xavier.

Your log indicates the error happens on

15:32:12 INFO : OpenCV on Host : /home/efl4tun/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-gb3f86dcd5_amd64.deb

But amd64 deb is for your host. Not the target device.