SDK Manager Flashing is failing with libvisionworks

Hi,

I am trying to install L4T image on Xavier SDK. I have the SDK manager v4.3 on my host machine. The procedure fails due to libvisionworks. I have chosen the Download and Install paths on a external drive, hopefully that should
not create any problems.

The log is below:

14:50:01 INFO : VisionWorks on Host : verifying checksum of /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb
14:50:02 INFO : VisionWorks on Host : verifying checksum of /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-sfm-repo_0.90.4_amd64.deb
14:50:05 INFO : VisionWorks on Host : Found file /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb with correct checksum, skip downloading.
14:50:05 INFO : VisionWorks on Host : verifying checksum of /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-tracking-repo_0.88.2_amd64.deb
14:50:07 INFO : VisionWorks on Host : verifying checksum of /media/imperiumdrive/MyPassport/vortex/Downloads/NVIDIA_VisionWorks_References.zip
14:50:08 INFO : VisionWorks on Host : Found file /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-sfm-repo_0.90.4_amd64.deb with correct checksum, skip downloading.
14:50:09 INFO : VisionWorks on Host : Found file /media/imperiumdrive/MyPassport/vortex/Downloads/NVIDIA_VisionWorks_References.zip with correct checksum, skip downloading.
14:50:10 INFO : VisionWorks on Host : Found file /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-tracking-repo_0.88.2_amd64.deb with correct checksum, skip downloading.
14:50:10 INFO : VisionWorks on Host : Download 'VisionWorks on Host' success
14:50:10 INFO : VisionWorks on Host : Start to install 'VisionWorks on Host'
14:50:11 DEBUG : VisionWorks on Host : using adapter to install NV_VISIONWORKS_HOST_COMP@host to /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux
14:50:12 INFO : VisionWorks on Host : [ Disk Avail:12.55 GB ]
14:50:12 INFO : VisionWorks on Host : Using GenericInstaller to Install NV_VISIONWORKS_HOST_COMP
14:50:12 INFO : VisionWorks on Host : NV_VISIONWORKS_HOST_COMP include 4 package
14:50:12 INFO : VisionWorks on Host : [ Package Install Started ]
14:50:12 INFO : VisionWorks on Host : deb installer start to install
14:50:12 INFO : VisionWorks on Host : exec_command: dpkg -f /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb Package | tr -d '\n'
14:50:13 INFO : VisionWorks on Host : exec_command: dpkg -f /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb Version | tr -d '\n'
14:50:15 INFO : VisionWorks on Host : deb file /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb, package name [libvisionworks-repo], package version [1.6.0.500n]
14:50:15 INFO : VisionWorks on Host : infer package info from file name libvisionworks-repo_1.6.0.500n_amd64.deb [ name: libvisionworks-repo, version: 1.6.0.500n ]
14:50:15 INFO : VisionWorks on Host : exec_command: sudo -E apt-get install -y --allow-downgrades '/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb'
14:50:17 INFO : VisionWorks on Host : [host] [sudo] password for imperiumdrive:
14:50:17 INFO : VisionWorks on Host :
14:50:19 INFO : VisionWorks on Host : Reading package lists...
14:50:19 INFO : VisionWorks on Host : Building dependency tree...
14:50:19 INFO : VisionWorks on Host : Reading state information...
14:50:19 INFO : VisionWorks on Host : libvisionworks-repo is already the newest version (1.6.0.500n).
14:50:19 INFO : VisionWorks on Host : The following packages were automatically installed and are no longer required:
14:50:19 INFO : VisionWorks on Host : gyp libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits
14:50:19 INFO : VisionWorks on Host : libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi
14:50:19 INFO : VisionWorks on Host : node-ansi-color-table node-archy node-async node-balanced-match
14:50:19 INFO : VisionWorks on Host : node-block-stream node-brace-expansion node-builtin-modules
14:50:19 INFO : VisionWorks on Host : node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
14:50:19 INFO : VisionWorks on Host : node-forever-agent node-form-data node-fs.realpath node-fstream
14:50:19 INFO : VisionWorks on Host : node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
14:50:19 INFO : VisionWorks on Host : node-hosted-git-info node-inflight node-inherits node-ini
14:50:19 INFO : VisionWorks on Host : node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile
14:50:19 INFO : VisionWorks on Host : node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
14:50:19 INFO : VisionWorks on Host : node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
14:50:19 INFO : VisionWorks on Host : node-osenv node-path-is-absolute node-pseudomap node-qs node-read
14:50:19 INFO : VisionWorks on Host : node-read-package-json node-request node-retry node-rimraf node-semver
14:50:19 INFO : VisionWorks on Host : node-sha node-slide node-spdx-correct node-spdx-expression-parse
14:50:19 INFO : VisionWorks on Host : node-spdx-license-ids node-tar node-tunnel-agent node-underscore
14:50:19 INFO : VisionWorks on Host : node-validate-npm-package-license node-which node-wrappy node-yallist nodejs
14:50:19 INFO : VisionWorks on Host : nodejs-doc
14:50:19 INFO : VisionWorks on Host : Use 'sudo apt autoremove' to remove them.
14:50:20 INFO : VisionWorks on Host : 0 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
14:50:20 INFO : VisionWorks on Host : exec_command: dpkg -L libvisionworks-repo | grep 'GPGKEY$' | tr -d '\n'
14:50:21 INFO : VisionWorks on Host : exec_command: sudo apt-key add /var/visionworks-repo/GPGKEY
14:50:22 WARNING : VisionWorks on Host : Warning: apt-key output should not be parsed (stdout is not a terminal)
14:50:25 INFO : VisionWorks on Host : OK
14:50:25 INFO : VisionWorks on Host : exec_command: sudo apt-get check
14:50:27 INFO : VisionWorks on Host : Reading package lists...
14:50:27 INFO : VisionWorks on Host : Building dependency tree...
14:50:27 INFO : VisionWorks on Host : Reading state information...
14:50:27 INFO : VisionWorks on Host : exec_command: sudo apt-get update; sleep 0.5; sudo apt-get -y install libvisionworks=1.6.0.500n* libvisionworks-dev=1.6.0.500n* libvisionworks-samples=1.6.0.500n*
14:50:28 INFO : VisionWorks on Host : Get:1 file:/var/cuda-repo-10-0-local-10.0.326-410.108 InRelease
14:50:28 INFO : VisionWorks on Host : Ign:1 file:/var/cuda-repo-10-0-local-10.0.326-410.108 InRelease
14:50:28 INFO : VisionWorks on Host : Get:2 file:/var/cuda-repo-10-0-local-10.0.326-cross-aarch64 InRelease
14:50:28 INFO : VisionWorks on Host : Ign:2 file:/var/cuda-repo-10-0-local-10.0.326-cross-aarch64 InRelease
14:50:28 INFO : VisionWorks on Host : Get:3 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
14:50:28 INFO : VisionWorks on Host : Ign:3 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
14:50:28 INFO : VisionWorks on Host : Get:4 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
14:50:28 INFO : VisionWorks on Host : Ign:4 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
14:50:28 INFO : VisionWorks on Host : Get:5 file:/var/visionworks-repo InRelease
14:50:28 INFO : VisionWorks on Host : Ign:5 file:/var/visionworks-repo InRelease
14:50:28 INFO : VisionWorks on Host : Get:6 file:/var/visionworks-sfm-repo InRelease
14:50:28 INFO : VisionWorks on Host : Ign:6 file:/var/visionworks-sfm-repo InRelease
14:50:28 INFO : VisionWorks on Host : Get:7 file:/var/visionworks-tracking-repo InRelease
14:50:28 INFO : VisionWorks on Host : Ign:7 file:/var/visionworks-tracking-repo InRelease
14:50:28 INFO : VisionWorks on Host : Get:8 file:/var/cuda-repo-10-0-local-10.0.326-410.108 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:9 file:/var/cuda-repo-10-0-local-10.0.326-cross-aarch64 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:8 file:/var/cuda-repo-10-0-local-10.0.326-410.108 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:10 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:9 file:/var/cuda-repo-10-0-local-10.0.326-cross-aarch64 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:11 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:10 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:11 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
14:50:28 INFO : VisionWorks on Host : Get:12 file:/var/visionworks-repo Release [1,999 B]
14:50:28 INFO : VisionWorks on Host : Get:12 file:/var/visionworks-repo Release [1,999 B]
14:50:28 INFO : VisionWorks on Host : Get:13 file:/var/visionworks-sfm-repo Release [2,003 B]
14:50:28 INFO : VisionWorks on Host : Get:13 file:/var/visionworks-sfm-repo Release [2,003 B]
14:50:28 INFO : VisionWorks on Host : Get:14 file:/var/visionworks-tracking-repo Release [2,008 B]
14:50:28 INFO : VisionWorks on Host : Get:15 file:/var/visionworks-repo Release.gpg [819 B]
14:50:28 INFO : VisionWorks on Host : Get:14 file:/var/visionworks-tracking-repo Release [2,008 B]
14:50:28 INFO : VisionWorks on Host : Get:15 file:/var/visionworks-repo Release.gpg [819 B]
14:50:28 INFO : VisionWorks on Host : Get:16 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
14:50:28 INFO : VisionWorks on Host : Hit:17 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
14:50:28 INFO : VisionWorks on Host : Hit:18 http://packages.microsoft.com/repos/vscode stable InRelease
14:50:28 INFO : VisionWorks on Host : Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
14:50:28 INFO : VisionWorks on Host : Hit:21 https://packages.microsoft.com/ubuntu/19.10/prod eoan InRelease
14:50:28 INFO : VisionWorks on Host : Hit:22 http://packages.ros.org/ros/ubuntu bionic InRelease
14:50:28 INFO : VisionWorks on Host : Hit:23 http://packages.cloud.google.com/apt cloud-sdk-bionic InRelease
14:50:28 INFO : VisionWorks on Host : Hit:24 http://packages.ros.org/ros2/ubuntu bionic InRelease
14:50:28 INFO : VisionWorks on Host : Hit:25 http://dl.google.com/linux/chrome/deb stable Release
14:50:28 INFO : VisionWorks on Host : Hit:26 http://de.archive.ubuntu.com/ubuntu bionic InRelease
14:50:28 INFO : VisionWorks on Host : Hit:27 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
14:50:28 INFO : VisionWorks on Host : Hit:29 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
14:50:29 INFO : VisionWorks on Host : Hit:31 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
14:50:34 INFO : VisionWorks on Host : Fetched 88.7 kB in 6s (14.2 kB/s)
14:50:35 INFO : VisionWorks on Host : Reading package lists...
14:50:36 INFO : VisionWorks on Host : Reading package lists...
14:50:37 INFO : VisionWorks on Host : Building dependency tree...
14:50:37 INFO : VisionWorks on Host : Reading state information...
14:50:37 ERROR : VisionWorks on Host : E: Version '1.6.0.500n*' for 'libvisionworks' was not found
14:50:37 INFO : VisionWorks on Host : E: Version '1.6.0.500n*' for 'libvisionworks-dev' was not found
14:50:37 INFO : VisionWorks on Host : E: Version '1.6.0.500n*' for 'libvisionworks-samples' was not found
14:50:37 INFO : VisionWorks on Host : [ Package Install Finished with Error ]
14:50:37 INFO : VisionWorks on Host : [ 12.00 KB used. Disk Avail: 12.55 GB ]
14:50:37 INFO : VisionWorks on Host : [ NV_VISIONWORKS_HOST_COMP Install took 25s ]
14:50:37 ERROR : VisionWorks on Host : [error]: Error when apt install failed; [exec_command]: sudo apt-get update; sleep 0.5; sudo apt-get -y install libvisionworks=1.6.0.500n* libvisionworks-dev=1.6.0.500n* libvisionworks-samples=1.6.0.500n* ; [error]: exit status 100; [deb_path]: /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb
14:50:37 INFO : VisionWorks on Host :
14:50:37 ERROR : VisionWorks on Host : command terminated with error
14:50:37 ERROR : VisionWorks on Host : Install 'VisionWorks on Host' failure, command < using adapter to install NV_VISIONWORKS_HOST_COMP@host to /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux > terminated with error.

Any help to debug the issue is much appreciated.

2 Likes

If you don’t use visionworks, it won’t cause any problem.

If you want to target why it happens, you can:
Check whether libvisionworks deb exist.
ls /media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks*

Thanks. I do see the libvisionworks deb packages:

/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_amd64.deb
/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-repo_1.6.0.500n_arm64.deb
/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-sfm-repo_0.90.4_amd64.deb
/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-sfm-repo_0.90.4_arm64.deb
/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-tracking-repo_0.88.2_amd64.deb
/media/imperiumdrive/MyPassport/vortex/Downloads/libvisionworks-tracking-repo_0.88.2_arm64.deb

Unfortunately this visionworks error is stalling the complete installation procedure. Is there a way to bypass this?

Thanks again.

Hi,

Could you try to manually run these command to see if works?

sudo apt-get update;
sudo apt-get -y install libvisionworks=1.6.0.500n* libvisionworks-dev=1.6.0.500n* libvisionworks-samples=1.6.0.500n*

Thanks.

1 Like

No, it doesnt work:

E: Version '1.6.0.500n*' for 'libvisionworks' was not found
E: Version '1.6.0.500n*' for 'libvisionworks-dev' was not found
E: Version '1.6.0.500n*' for 'libvisionworks-samples' was not found
1 Like

Hi,

The deb file is downloaded, it this correct?
Thanks.

1 Like

Hello,

Unfortunately not. The deb files are not found when I run the below commands:
sudo apt-get update;
sudo apt-get -y install libvisionworks=1.6.0.500n* libvisionworks-dev=1.6.0.500n* libvisionworks-samples=1.6.0.500n*

The output of these commands is what I posted above.

I am on Ubuntu 18,04. Everything worked fine earlier on the same setup.

Are you execute these commands on your X86 host?
Your ‘ls’ result shows libvisionworks for Jetson is there, but no libvisionworks for X86.

If you want to solve the problem on Jetson, you can scp these deb to Jetson and dpkg -i them.
But if you don’t use libvisionworks*, you can just ignore them.
It will not cause side effects.

Yes the problem is on the Host. Anyway, I am ok to ignore the Visionworks install on the Host, but the Flashing procedure to the Jetson also fails:

20:17:48 INFO : File System and OS : verifying checksum of /media/imperiumdrive/MyPassport/vortex/Downloads/Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2
20:19:33 INFO : File System and OS : Found file /media/imperiumdrive/MyPassport/vortex/Downloads/Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2 with correct checksum, skip downloading.
20:19:34 INFO : File System and OS : Download 'File System and OS' success
20:21:20 INFO : File System and OS : Start to install 'File System and OS'
20:21:20 DEBUG : File System and OS : using adapter to install NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP@JETSON_AGX_XAVIER to /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER
20:21:20 INFO : File System and OS : [ Disk Avail:19.84 GB ]
20:21:20 INFO : File System and OS : Using GenericInstaller to Install NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP
20:21:20 INFO : File System and OS : NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP include 1 package
20:21:20 INFO : File System and OS : change working directory to /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs/
20:21:20 INFO : File System and OS : [ Package PreInstall Started ]
20:21:20 INFO : File System and OS : current working directory is /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs
20:21:20 INFO : File System and OS : exec_command: sudo apt-get install -y qemu-user-static
20:21:20 INFO : File System and OS : Reading package lists...
20:21:21 INFO : File System and OS : Building dependency tree...
20:21:21 INFO : File System and OS : Reading state information...
20:21:21 INFO : File System and OS : qemu-user-static is already the newest version (1:2.11+dfsg-1ubuntu7.23).
20:21:21 INFO : File System and OS : 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
20:21:21 INFO : File System and OS : [ Package PreInstall Finished Successfully ]
20:21:21 INFO : File System and OS : [ Package Install Started ]
20:21:21 INFO : File System and OS : current working directory is /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs
20:21:21 INFO : File System and OS : exec_command [host]:
20:21:21 INFO : File System and OS : **********************
20:21:21 INFO : File System and OS : #!/bin/bash
20:21:21 INFO : File System and OS : set -e
20:21:21 INFO : File System and OS : sudo tar xpf /media/imperiumdrive/MyPassport/vortex/Downloads/Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2
20:21:21 INFO : File System and OS : cd ..
20:21:21 INFO : File System and OS : sudo ./apply_binaries.sh
20:21:21 INFO : File System and OS : sudo mkdir -p rootfs/opt/nvidia/deb_repos
20:21:21 INFO : File System and OS : **********************
20:21:21 INFO : File System and OS : exec_command: /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP.sh
20:31:51 INFO : File System and OS : Using rootfs directory of: /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs
20:31:51 INFO : File System and OS : ||||||||||||||||||||||| ERROR |||||||||||||||||||||||
20:31:51 INFO : File System and OS : -----------------------------------------------------
20:31:51 INFO : File System and OS : 1. The root filesystem, provided with this package,
20:31:51 INFO : File System and OS : has to be extracted to this directory:
20:31:51 INFO : File System and OS : /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs
20:31:51 INFO : File System and OS : -----------------------------------------------------
20:31:51 INFO : File System and OS : 2. The root filesystem, provided with this package,
20:31:51 INFO : File System and OS : has to be extracted with 'sudo' to this directory:
20:31:51 INFO : File System and OS : /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs
20:31:51 INFO : File System and OS : -----------------------------------------------------
20:31:51 INFO : File System and OS : Consult the Development Guide for instructions on
20:31:51 INFO : File System and OS : extracting and flashing your device.
20:31:51 INFO : File System and OS : |||||||||||||||||||||||||||||||||||||||||||||||||||||
20:31:51 ERROR : File System and OS : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP.sh; [error]: exit status 1
20:31:51 INFO : File System and OS : [ Package Install Finished with Error ]
20:31:51 INFO : File System and OS : [ 2.48 MB released. Disk Avail: 19.84 GB ]
20:31:51 INFO : File System and OS : [ NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP Install took 10m30s ]
20:31:51 ERROR : File System and OS : [error]: Run commands failed at step Install: command /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP.sh finished with error
20:31:51 INFO : File System and OS :
20:31:51 ERROR : File System and OS : command terminated with error
20:31:51 ERROR : File System and OS : Install 'File System and OS' failure, command < using adapter to install NV_L4T_FILE_SYSTEM_AND_OS_T194_COMP@JETSON_AGX_XAVIER to /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER > terminated with error.

The root filesystem, provided with this package,
20:31:51 INFO : File System and OS : has to be extracted with ‘sudo’ to this directory:
20:31:51 INFO : File System and OS : /media/imperiumdrive/MyPassport/vortex/nvidia/nvidia_sdk/JetPack_4.3_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/rootfs

Is the account you are using with sdkmanager able to run in root?

I have the same problem as the OP on SDK Manager 1.1.0.6343, when trying to install JetPack 4.3 on a target. My account is able to sudo on my host, and the account on the target is able to sudo on the target. My VisionWorks downloads on the host show that I have 500n and 501 for both amd64 and arm64 (below).

In order to get apt-cache showpkg libvisionworks-dev on the host to show both version 500n and 501 entries, I had to rebuild the apt cache using the instructions here. However, even after that, I got an error that:

10:30:04 ERROR : VisionWorks on Host : E: Packages were downgraded and -y was used without --allow-downgrades.

In order to work around that, I had to do sudo apt remove -y libvisionworks\* on the host. I was then able to install some of VisionWorks, but still got several errors:

10:35:52 ERROR : VisionWorks on Host : E: The repository 'file:/var/visionworks-sfm-repo Release' no longer has a Release file.
10:36:33 ERROR : VisionWorks on Host : E: The repository 'file:/var/visionworks-tracking-repo Release' no longer has a Release file.
10:36:35 ERROR : VisionWorks on Host : E: Failed to fetch file:/var/visionworks-sfm-repo/./libvisionworks-sfm_0.90.4.501_amd64.deb File not found - /var/visionworks-sfm-repo/./libvisionworks-sfm_0.90.4.501_amd64.deb (2: No such file or directory)
10:36:35 ERROR : VisionWorks on Host : [error]: Error when apt install failed; [exec_command]: sudo apt-get update; sleep 0.5; sudo apt-get -y install libvisionworks-sfm=0.90.4* libvisionworks-sfm-dev=0.90.4* ; [error]: exit status 100; [deb_path]: /home/cwhite/Downloads/nvidia/sdkm_downloads/libvisionworks-sfm-repo_0.90.4_amd64.deb
10:36:35 ERROR : VisionWorks on Host : command terminated with error
10:36:35 ERROR : VisionWorks on Host : Install 'VisionWorks on Host' failure, command < using adapter to install NV_VISIONWORKS_HOST_COMP@host to /home/cwhite/nvidia/nvidia_sdk/JetPack_4.3_Linux > terminated with error.

The installation of VisionWorks still reports an error.

Also, I do not have a checkbox to skip just VisionWorks for some reason:

Any ideas? Is this perhaps an sdkmanager bug? Has sdkmanager perhaps gotten out of sync with the package repositories?

Thanks for your help!

(Note: I also see failures when trying to install packages on the target, but I am keeping this post to VisionWorks to stay on-topic.)

Appendices

Downloaded VisionWorks .deb files on the host:

$ cd ~/Downloads/nvidia/sdkm_downloads
$ ls libvis*
libvisionworks-repo_1.6.0.500n_amd64.deb
libvisionworks-repo_1.6.0.500n_arm64.deb
libvisionworks-repo_1.6.0.501_amd64.deb
libvisionworks-repo_1.6.0.501_arm64.deb
libvisionworks-sfm-repo_0.90.4.501_amd64.deb
libvisionworks-sfm-repo_0.90.4.501_arm64.deb
libvisionworks-sfm-repo_0.90.4_amd64.deb
libvisionworks-sfm-repo_0.90.4_arm64.deb
libvisionworks-tracking-repo_0.88.2.501_amd64.deb
libvisionworks-tracking-repo_0.88.2.501_arm64.deb
libvisionworks-tracking-repo_0.88.2_amd64.deb
libvisionworks-tracking-repo_0.88.2_arm64.deb

Host:

$ uname -a
Linux cwhite-desktop 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04

Target:

$ uname -a
Linux nvidia-desktop 4.9.140-tegra #1 SMP PREEMPT Thu Feb 13 11:20:56 EST 2020 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

I was able to install visionworks on the host! I ran:

$ sudo apt purge libvisionworks 'libvisionworks-*'

and then re-ran sdkmanager. The installation succeeded.

Edit On the target, CUDA failed installation. I ran

$ sudo apt --fix-broken install

and then manually ran the ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh script, which succesfully completed the CUDA installation.

Thanks to Michael Herrmann for this post, which gave me the idea of using apt purge.

7 Likes

@D3_cwhite
This comment truly saved my day.
Thanks a ton!

To whom may suffer from USB-device-mode-service,
please refer L4T-README/README-usb-dev-mode.txt,
especially this part

|
v

“”"
If this problem occurs, configure your host machine
to use a static IPv4 address of 192.168.55.100 with netmask 255.255.255.0 and
no gateway or DNS servers.
“”"

1 Like

I save the problem.I think dpkg has problem ,so just run:
cd ~/Download/nvidia/sdkm_downloads/
ar -x libvisionworks-repo_1.6.0.500n_amd64.deb
tar -zxvf data.tar.gz
cd var/visionworks-repo
sudo apt install ./libvisionworks_1.6.0.500n_amd64.deb
sudo apt install ./libvisionworks-dev_1.6.0.500n_all.deb
sudo apt install ./libvisionworks-samples_1.6.0.500n_amd64.deb

4 Likes