Info: [ Disk Avail:5.93 GB ] Info: NV_OPENCV_HOST_COMP include 5 package Info: [ Package PreInstall Started ] Info: current working directory is /home/khoongweihao/agx-xavier-sdk2/JetPack_4.3_Linux 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). The following packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Info: [ Package PreInstall Finished Successfully ] Info: [ Package Install Started ] Info: deb installer start to install Info: exec_command: dpkg -f /home/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/khoongweihao/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/khoongweihao/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 packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libopencv-dev libopencv-python libopencv-samples The following packages will be upgraded: libopencv 1 upgraded, 0 newly installed, 3 to remove and 5 not upgraded. Need to get 0 B/45.7 MB of archives. After this operation, 70.9 MB of additional disk space will be used. Get:1 /home/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-libs.deb libopencv amd64 4.1.1-2-gd5a58aa75 [45.7 MB] (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 ... 205044 files and directories currently installed.) Removing libopencv-dev (3.3.1-2-gb3f86dcd5) ... Removing libopencv-python (3.3.1-2-gb3f86dcd5) ... Removing libopencv-samples (3.3.1-2-gb3f86dcd5) ... (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 ... 204651 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) over (3.3.1-2-gb3f86dcd5) ... Setting up libopencv (4.1.1-2-gd5a58aa75) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... 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/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-dev.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/khoongweihao/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/khoongweihao/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 packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libopencv-dev 0 upgraded, 1 newly installed, 0 to remove and 5 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/khoongweihao/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 ... 204646 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/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-licenses.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/khoongweihao/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/khoongweihao/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 packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: opencv-licenses 0 upgraded, 1 newly installed, 0 to remove and 5 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/khoongweihao/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 ... 204982 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/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-python.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/khoongweihao/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/khoongweihao/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 packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libopencv-python 0 upgraded, 1 newly installed, 0 to remove and 5 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/khoongweihao/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 ... 204999 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/khoongweihao/Downloads/nvidia/sdkm_downloads/OpenCV-4.1.1-2-gd5a58aa75-x86_64-samples.deb Package | tr -d '\n' Info: exec_command: dpkg -f /home/khoongweihao/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/khoongweihao/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 packages were automatically installed and are no longer required: efibootmgr libfwup1 libwayland-egl1-mesa Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libopencv-samples 0 upgraded, 1 newly installed, 0 to remove and 5 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/khoongweihao/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 ... 205016 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: [ 8.19 GB released. Disk Avail: 14.12 GB ] Info: [ NV_OPENCV_HOST_COMP Install took 49s ] 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