Computer vision and its runtime installation failed with sdkmanager

14:07:29 INFO: OpenCV Runtime - target: python-pyparsing python-scandir python-six python-wcwidth python-zipp

14:07:29 INFO: OpenCV Runtime - target: python2-dev python2.7-dev

14:07:29 INFO: OpenCV Runtime - target: Suggested packages:

14:07:29 INFO: OpenCV Runtime - target: apache2 | lighttpd | httpd python-attr-doc python-funcsigs-doc

14:07:29 INFO: OpenCV Runtime - target: python-numpy-dbg python-numpy-doc python-setuptools subversion

14:07:29 INFO: OpenCV Runtime - target: python-pyparsing-doc python-mock

14:07:30 INFO: OpenCV Runtime - target: The following packages will be REMOVED:

14:07:30 INFO: OpenCV Runtime - target: python-is-python3

14:07:30 INFO: OpenCV Runtime - target: The following NEW packages will be installed:

14:07:30 INFO: OpenCV Runtime - target: javascript-common libexpat1-dev libjs-sphinxdoc libjs-underscore

14:07:30 INFO: OpenCV Runtime - target: libpython2-dev libpython2.7-dev python-atomicwrites python-attr

14:07:30 INFO: OpenCV Runtime - target: python-configparser python-contextlib2 python-dev-is-python2 python-funcsigs

14:07:30 INFO: OpenCV Runtime - target: python-importlib-metadata python-is-python2 python-more-itertools

14:07:30 INFO: OpenCV Runtime - target: python-numpy python-packaging python-pathlib2 python-pkg-resources

14:07:30 INFO: OpenCV Runtime - target: python-pluggy python-py python-pyparsing python-pytest python-scandir

14:07:30 INFO: OpenCV Runtime - target: python-six python-wcwidth python-zipp python2-dev python2.7-dev

14:07:30 INFO: OpenCV Runtime - target: 0 upgraded, 29 newly installed, 1 to remove and 223 not upgraded.

14:07:30 INFO: OpenCV Runtime - target: Need to get 5,714 kB of archives.

14:07:30 INFO: OpenCV Runtime - target: After this operation, 29.6 MB of additional disk space will be used.

14:08:00 ERROR: OpenCV Runtime - target: 0% [Working] 0% [Connecting to ports.ubuntu.com (185.125.190.39)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] Err:1 Index of /ubuntu-ports focal/main arm64 javascript-common all 11

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Could not connect to ports.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to ports.ubuntu.com:80 (185.125.190.39), connection timed out

14:08:00 INFO: OpenCV Runtime - target: 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] Ign:2 Index of /ubuntu-ports focal-updates/main arm64 libexpat1-dev arm64 2.2.9-1ubuntu0.6

14:08:00 INFO: OpenCV Runtime - target: Ign:3 Index of /ubuntu-ports focal-updates/main arm64 libjs-underscore all 1.9.1~dfsg-1ubuntu0.20.04.1

14:08:00 ERROR: OpenCV Runtime - target: 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] Err:4 Index of /ubuntu-ports focal/main arm64 libjs-sphinxdoc all 1.8.5-7ubuntu3

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 INFO: OpenCV Runtime - target: Ign:5 Index of /ubuntu-ports focal-updates/universe arm64 libpython2.7-dev arm64 2.7.18-1~20.04.3

14:08:00 ERROR: OpenCV Runtime - target: Err:6 Index of /ubuntu-ports focal/universe arm64 libpython2-dev arm64 2.7.17-2ubuntu4

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Working] Err:7 Index of /ubuntu-ports focal/universe arm64 python-atomicwrites all 1.1.5-2build1

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: Err:8 Index of /ubuntu-ports focal/universe arm64 python-attr all 19.3.0-2

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Working] Err:9 Index of /ubuntu-ports focal/universe arm64 python-configparser all 3.5.0b2-3build1

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] Err:10 Index of /ubuntu-ports focal/universe arm64 python-contextlib2 all 0.6.0-2

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Working] Err:11 Index of /ubuntu-ports focal/universe arm64 python-is-python2 all 2.7.17-4

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 INFO: OpenCV Runtime - target: 0% [Working] Ign:12 Index of /ubuntu-ports focal-updates/universe arm64 python2.7-dev arm64 2.7.18-1~20.04.3

14:08:00 ERROR: OpenCV Runtime - target: Err:13 Index of /ubuntu-ports focal/universe arm64 python2-dev arm64 2.7.17-2ubuntu4

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::16)] Err:14 Index of /ubuntu-ports focal/universe arm64 python-dev-is-python2 all 2.7.17-4

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: Err:15 Index of /ubuntu-ports focal/universe arm64 python-funcsigs all 1.0.2-4build1

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: Err:16 Index of /ubuntu-ports focal/universe arm64 python-six all 1.14.0-2

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: 0% [Connecting to ports.ubuntu.com (2620:2d:4000:1::19)] Err:17 Index of /ubuntu-ports focal/universe arm64 python-scandir arm64 1.10.0-2ubuntu3

14:08:00 INFO: OpenCV Runtime - target: Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)

14:08:00 ERROR: OpenCV Runtime - target: Err:18 Index of /ubuntu-ports focal/universe arm64 python-pathlib2 all 2.3.5-1ubuntu1

INSTALLATION FAILED
Please review the terminal tab for details. Resolve and RETRY.

Flash of target hardware was skipped.

EXPORT LOGS

RETRY

FAILED ITEMS

STOP TRYING

Copyright Ā© 2023, NVIDIA CORPORATION. All rights reserved. | NVIDIA Developer

Hi,

is L4T installed successfully?
If you can login to the system, then JetPack can also be installed using the device itself:

sudo apt install nvidia-jetpack

Is the installation ok?

dw@ubuntu:~$ sudo apt install nvidia-jetpack
Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
dctrl-tools dpkg-repack gdal-data gir1.2-timezonemap-1.0 gir1.2-xkl-1.0
grub-common libaec0 libarmadillo9 libarpack2 libavcodec-dev libavformat-dev
libavresample-dev libavresample4 libavutil-dev libcfitsio8 libcharls2
libdap25 libdapclient6v5 libdc1394-22-dev libdebian-installer4 libepsilon1
libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0
libgeos-3.8.0 libgeos-c1v5 libgeotiff5 libgl2ps1.4 libgphoto2-dev
libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libilmbase-dev libjbig-dev
libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libjsoncpp1 libkmlbase1
libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4
libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2 libopencv-contrib4.2
libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2
libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2
libopencv-ml4.2 libopencv-objdetect4.2 libopencv-photo4.2 libopencv-shape4.2
libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2
libopencv-videoio4.2 libopencv-videostab4.2 libopencv-viz4.2
libopencv4.2-java libopencv4.2-jni libopenexr-dev libpng-dev libpq5
libproj15 libqhull7 libraw1394-dev libsocket++1 libspatialite7 libsuperlu5
libswresample-dev libswscale-dev libsz2 libtesseract4 libtiff-dev libtiffxx5
libtimezonemap-data libtimezonemap1 liburiparser1 libvtk6.3 libxerces-c3.2
odbcinst odbcinst1debian2 os-prober proj-data python3-icu python3-pam rdate
Progress: [ 99%] [#########################################################.]
Use ā€˜sudo apt autoremoveā€™ to remove them.
The following additional packages will be installed:
cuda-11-4 libopencv-dev libopencv-python libopencv-samples nvidia-cuda-dev
nvidia-cudnn8-dev nvidia-jetpack-dev nvidia-nsight-sys nvidia-opencv-dev
nvidia-tensorrt-dev nvidia-vpi-dev opencv-licenses vpi2-demos vpi2-dev
vpi2-samples
The following packages will be REMOVED:
libopencv-calib3d-dev libopencv-contrib-dev libopencv-core-dev
libopencv-dnn-dev libopencv-features2d-dev libopencv-flann-dev
libopencv-highgui-dev libopencv-imgcodecs-dev libopencv-imgproc-dev
libopencv-ml-dev libopencv-objdetect-dev libopencv-photo-dev
libopencv-shape-dev libopencv-stitching-dev libopencv-superres-dev
libopencv-ts-dev libopencv-video-dev libopencv-videoio-dev
libopencv-videostab-dev libopencv-viz-dev
The following NEW packages will be installed:
cuda-11-4 libopencv-python libopencv-samples nvidia-cuda-dev
nvidia-cudnn8-dev nvidia-jetpack nvidia-jetpack-dev nvidia-nsight-sys
nvidia-opencv-dev nvidia-tensorrt-dev nvidia-vpi-dev opencv-licenses
vpi2-demos vpi2-dev vpi2-samples
The following packages will be upgraded:
libopencv-dev
1 upgraded, 15 newly installed, 20 to remove and 222 not upgraded.
Need to get 52.3 MB of archives.
After this operation, 188 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 libopencv-dev arm64 4.5.4-8-g3e4c170df4 [1,247 kB]
Get:2 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 cuda-11-4 arm64 11.4.19-1 [2,448 B]
Get:3 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-cuda-dev arm64 5.1.1-b56 [27.9 kB]
Get:4 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-cudnn8-dev arm64 5.1.1-b56 [27.4 kB]
Get:5 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-nsight-sys arm64 5.1.1-b56 [29.3 kB]
Get:6 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-tensorrt-dev arm64 5.1.1-b56 [27.3 kB]
Get:7 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 vpi2-dev arm64 2.2.7 [74.6 kB]
Get:8 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 vpi2-demos arm64 2.2.7 [32.1 MB]
Get:9 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 vpi2-samples arm64 2.2.7 [15.2 MB]
Get:10 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-vpi-dev arm64 5.1.1-b56 [29.3 kB]
Get:11 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 libopencv-python arm64 4.5.4-8-g3e4c170df4 [3,201 kB]
Get:12 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 libopencv-samples arm64 4.5.4-8-g3e4c170df4 [255 kB]
Get:13 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 opencv-licenses arm64 4.5.4-8-g3e4c170df4 [15.1 kB]
Get:14 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-opencv-dev arm64 5.1.1-b56 [29.4 kB]
Get:15 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-jetpack-dev arm64 5.1.1-b56 [29.4 kB]
Get:16 https://repo.download.nvidia.cn/jetson/common r35.3/main arm64 nvidia-jetpack arm64 5.1.1-b56 [29.3 kB]
Fetched 52.3 MB in 15s (3,397 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
dw@ubuntu:~$

Hi,

it looks weird, and installation process should not have terminated there.
Can you try running it again, or maybe re-flash L4T only and install JetPack with the command?

The sdkmanager shows that it works.
Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.