JetPack 3.0 installation VisionWorks on TX1

I follow the isntruction to install VisionWorks

$ sudo add-apt-repository universe
 $ sudo dpkg -i libvisionworks-repo_<visworks_ver>_<architecture>.deb
 $ sudo apt-get update
 $ sudo apt-get install libvisionworks libvisionworks-dev \
               libvisionworks-samples libvisionworks-docs

unforutnatelly i got installation erros:

ubuntu@tegra-ubuntu:~$ sudo add-apt-repository universe
[sudo] password for ubuntu:
'universe' distribution component is already enabled for all sources.
ubuntu@tegra-ubuntu:~$ sudo dpkg -i libvisionworks-repo_1.6.0.235n_arm64_l4t-r24                                                                                                                     .deb
(Reading database ... 178668 files and directories currently installed.)
Preparing to unpack libvisionworks-repo_1.6.0.235n_arm64_l4t-r24.deb ...
Unpacking libvisionworks-repo (1.6.0.235n) over (1.6.0.235n) ...
Setting up libvisionworks-repo (1.6.0.235n) ...
OK
ubuntu@tegra-ubuntu:~$ sudo apt-get update
Err:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Get:2 file:/var/cuda-repo-8-0-local  InRelease
Ign:2 file:/var/cuda-repo-8-0-local  InRelease
Get:3 file:/var/libopencv4tegra-repo  InRelease
Ign:3 file:/var/libopencv4tegra-repo  InRelease
Get:4 file:/var/nv-gie-repo-6-rc-cuda8.0  InRelease
Ign:4 file:/var/nv-gie-repo-6-rc-cuda8.0  InRelease
Get:5 file:/var/visionworks-repo  InRelease
Ign:5 file:/var/visionworks-repo  InRelease
Err:6 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Get:7 file:/var/visionworks-sfm-repo  InRelease
Ign:7 file:/var/visionworks-sfm-repo  InRelease
Get:8 file:/var/visionworks-tracking-repo  InRelease
Ign:8 file:/var/visionworks-tracking-repo  InRelease
Get:9 file:/var/cuda-repo-8-0-local  Release [574 B]
Err:10 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Get:11 file:/var/libopencv4tegra-repo  Release [347 B]
Get:12 file:/var/nv-gie-repo-6-rc-cuda8.0  Release [574 B]
Get:13 file:/var/visionworks-repo  Release [1,999 B]
Get:14 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:15 file:/var/visionworks-tracking-repo  Release [2,008 B]
Get:9 file:/var/cuda-repo-8-0-local  Release [574 B]
Get:11 file:/var/libopencv4tegra-repo  Release [347 B]
Get:12 file:/var/nv-gie-repo-6-rc-cuda8.0  Release [574 B]
Get:13 file:/var/visionworks-repo  Release [1,999 B]
Get:14 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:15 file:/var/visionworks-tracking-repo  Release [2,008 B]
Reading package lists... Done
W: file:///var/cuda-repo-8-0-local/Release.gpg: Signature by key 889BEE522DA690103C4B085ED88C3D385C37D3BE uses weak digest algorithm (SHA1)
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
ubuntu@tegra-ubuntu:~$

please can you advice what’s missing?

Thank you.

This says there is a network setup issue:

Temporary failure resolving 'ports.ubuntu.com'

Basically you do not have DNS enabled (at minimum a named address needs to be converted to a dotted-decimal format, and this is not happening…this would also be true if networking is completely down).

A way to demonstrate this is that the IPv4 address of “ports.ubuntu.com” is “91.189.88.150”. If this works, then you have networking:

ping 91.189.88.150

…if that worked and this failed, then you don’t have DNS configured:

host ports.ubuntu.com

Note that in the relevant “/etc/hosts” file you could temporarily add this (I wouldn’t advise getting around DNS setup issues this way) for DNS of that one address:

91.189.88.150    ports.ubuntu.com

Ok, the network is unreachable.

sudo lshw -C network

returns network:0, network:1, network:2 all DISABLED.

A quick search online gave me this command

nmcli nm wifi on

to enable wifi but the problem here is that nmcli command is not found.

I tried to append hosts in /etc with this:

sudo echo "91.189.88.150 ports.ubuntu.com" >> hosts

Returns with hosts:Permission denied

It’s frustrating because bash does not recognize vim, nano or any texteditor for that matter. I appreciate your help. Any last suggestions?

It sounds like a large part of the install is missing (parts which are provided by the sample rootfs). Was this board flashed, and if so, by which tools?

Strange, I have not flashed this board.

Was this board reachable via network from any location you don’t control? Sometimes people make their Jetsons visible to the outside world without changing passwords…hacking is very fast.

You could clone the rootfs (“APP” partition) and mount it on loopback to see what’s there (the act of would cloning itself verify if eMMC is readable). See:
https://devtalk.nvidia.com/default/topic/1000105/jetson-tx2/tx2-cloning/