Info: [ Disk Avail:856.50 GB ] Info: NV_OPENCV_HOST_COMP include 5 package Info: [ Package PreInstall Started ] Info: current working directory is /home/itc/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP Info: exec_command [host]: ********************** #!/bin/bash set -e function safe_apt_install { echo "*begin $1, $2" tmp_log=/tmp/jetpack_dpkg_log.txt sudo rm -f $tmp_log set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e while [ ${CMD_STATUS} -ne 0 ]; do if grep -q -e "is locked by another process" -e "E: Could not get lock /var/lib" $tmp_log; then sudo rm -f $tmp_log set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e echo "Waiting $2 seconds for apt to be available"; sleep ${2} else echo "Unhandled error when running $1"; exit 1 fi done } safe_apt_install "sudo apt-get install -y libtbb-dev" 5 ********************** Info: exec_command: /tmp/tmp_NV_OPENCV_HOST_COMP.sh *begin sudo apt-get install -y libtbb-dev, 5 Reading package lists... Building dependency tree... Reading state information... libtbb-dev is already the newest version (2017~U7-8). 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded. Info: [ Package PreInstall Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb Version | tr -d '\n' Info: exec_command: sudo -E apt-get install -y --allow-downgrades '/home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb' Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libopencv 0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded. Need to get 0 B/45.7 MB of archives. After this operation, 231 MB of additional disk space will be used. Get:1 /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb libopencv amd64 4.1.1-2-gd5a58aa75 [45.7 MB] Selecting previously unselected package libopencv. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 317119 files and directories currently installed.) Preparing to unpack .../OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb ... Unpacking libopencv (4.1.1-2-gd5a58aa75) ... Setting up libopencv (4.1.1-2-gd5a58aa75) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... /sbin/ldconfig.real: /usr/local/lib/libopencv_cudastereo.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_superres.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_ml.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_photo.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_video.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_imgproc.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudaoptflow.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_dnn.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_shape.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_videoio.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_core.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_objdetect.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudawarping.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_videostab.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudaobjdetect.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudafilters.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_highgui.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudafeatures2d.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_calib3d.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudaimgproc.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_imgcodecs.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudaarithm.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudabgsegm.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_flann.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudalegacy.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_features2d.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_stitching.so.3.4 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libopencv_cudev.so.3.4 is not a symbolic link Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv Info: [ Package Install Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb Version | tr -d '\n' Info: exec_command: sudo -E apt-get install -y --allow-downgrades '/home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb' Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libopencv-dev 0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded. Need to get 0 B/1,028 kB of archives. After this operation, 5,160 kB of additional disk space will be used. Get:1 /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb libopencv-dev amd64 4.1.1-2-gd5a58aa75 [1,028 kB] Selecting previously unselected package libopencv-dev. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 317174 files and directories currently installed.) Preparing to unpack .../OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb ... Unpacking libopencv-dev (4.1.1-2-gd5a58aa75) ... Setting up libopencv-dev (4.1.1-2-gd5a58aa75) ... Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-dev Info: [ Package Install Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb Version | tr -d '\n' Info: exec_command: sudo -E apt-get install -y --allow-downgrades '/home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb' Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: opencv-licenses 0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded. Need to get 0 B/18.3 kB of archives. After this operation, 74.8 kB of additional disk space will be used. Get:1 /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb opencv-licenses amd64 4.1.1-2-gd5a58aa75 [18.3 kB] Selecting previously unselected package opencv-licenses. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 317509 files and directories currently installed.) Preparing to unpack .../OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb ... Unpacking opencv-licenses (4.1.1-2-gd5a58aa75) ... Setting up opencv-licenses (4.1.1-2-gd5a58aa75) ... Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' opencv-licenses Info: [ Package Install Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb Version | tr -d '\n' Info: exec_command: sudo -E apt-get install -y --allow-downgrades '/home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb' Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libopencv-python 0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded. Need to get 0 B/2,577 kB of archives. After this operation, 8,743 kB of additional disk space will be used. Get:1 /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb libopencv-python amd64 4.1.1-2-gd5a58aa75 [2,577 kB] Selecting previously unselected package libopencv-python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 317526 files and directories currently installed.) Preparing to unpack .../OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb ... Unpacking libopencv-python (4.1.1-2-gd5a58aa75) ... Setting up libopencv-python (4.1.1-2-gd5a58aa75) ... Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-python Info: [ Package Install Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb Version | tr -d '\n' Info: exec_command: sudo -E apt-get install -y --allow-downgrades '/home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb' Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libopencv-samples 0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded. Need to get 0 B/192 kB of archives. After this operation, 812 kB of additional disk space will be used. Get:1 /home/itc/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb libopencv-samples amd64 4.1.1-2-gd5a58aa75 [192 kB] Selecting previously unselected package libopencv-samples. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 317542 files and directories currently installed.) Preparing to unpack .../OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb ... Unpacking libopencv-samples (4.1.1-2-gd5a58aa75) ... Setting up libopencv-samples (4.1.1-2-gd5a58aa75) ... Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-samples Info: [ Package Install Finished Successfully ] Info: [ 130.10 MB used. Disk Avail: 856.37 GB ] Info: [ NV_OPENCV_HOST_COMP Install took 26s ] Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-dev Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' opencv-licenses Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-python Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-samples Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-dev Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' opencv-licenses Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-python Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-samples Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-dev Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' opencv-licenses Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-python Info: exec_command: dpkg-query -W -f='${db:Status-abbrev} ${Version}' libopencv-samples