Hello,
I’ve a fresh Ubuntu 18.04 LTS connected to internet via a proxy with JetPack 4.1.1 with L4T. I’m trying to flash the Jetson Xavier and to install component but it seems that it can’t reach the network to download stuff…
The Jetson is correctly flashed and I chose the “via USB” cable option. I put it in recover mode and start the process but the installation fails when trying to install CUDA 10.
Here is the log when things get messy:
Copying /home/deepwater/Downloads/jetpack_download/cuda-repo-l4t-10-0-local-10.0.117_1.0-1_arm64.deb file to target...
nvidia:
(Reading database ... 112599 files and directories currently installed.)
Preparing to unpack .../cuda-repo-l4t-10-0-local-10.0.117_1.0-1_arm64.deb ...
Unpacking cuda-repo-l4t-10-0-local-10.0.117 (1.0-1) over (1.0-1) ...
Setting up cuda-repo-l4t-10-0-local-10.0.117 (1.0-1) ...
The public CUDA GPG key does not appear to be installed.
To install the key, run this command:
sudo apt-key add /var/cuda-repo-10-0-local-10.0.117/7fa2af80.pub
OK
Get:1 file:/var/cuda-repo-10-0-local-10.0.117 InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.117 InRelease
Get:2 file:/var/cuda-repo-10-0-local-10.0.117 Release [574 B]
Ign:3 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Ign:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Ign:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Ign:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Err:7 http://ports.ubuntu.com/ubuntu-ports bionic Release
Cannot initiate the connection to 147.210.188.252:3128 (147.210.188.252). - connect (101: Network is unreachable)
Err:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates Release
Cannot initiate the connection to 147.210.188.252:3128 (147.210.188.252). - connect (101: Network is unreachable)
Err:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports Release
Cannot initiate the connection to 147.210.188.252:3128 (147.210.188.252). - connect (101: Network is unreachable)
Get:2 file:/var/cuda-repo-10-0-local-10.0.117 Release [574 B]
Err:10 http://ports.ubuntu.com/ubuntu-ports bionic-security Release
Cannot initiate the connection to 147.210.188.252:3128 (147.210.188.252). - connect (101: Network is unreachable)
Get:11 file:/var/cuda-repo-10-0-local-10.0.117 Release.gpg [819 B]
Get:11 file:/var/cuda-repo-10-0-local-10.0.117 Release.gpg [819 B]
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version (2.2.4-1ubuntu1.1).
gnupg set to manually installed.
The following packages were automatically installed and are no longer required:
libdbusmenu-gtk4 libdbusmenu-qt5-2 libgsettings-qt1 liblockfile-bin
liblockfile1 libqt5sql5 libqt5sql5-sqlite lockfile-progs
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Connection to 192.168.55.1 closed.
dpkg-query: package 'cuda-toolkit-10-0' is not installed and no information is available
dpkg-query: package 'libfreeimage-dev' is not installed and no information is available
dpkg-query: package 'libopenmpi-dev' is not installed and no information is available
dpkg-query: package 'openmpi-bin' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
1
Error: CUDA cannot be installed on device. This may be caused by other apt-get command running on device when installing CUDA. Please use apt-get command in a terminal to make sure following packages are installed correctly on device before continuing:
cuda-toolkit-10-0 libgomp1 libfreeimage-dev libopenmpi-dev openmpi-bin
After these packages are installed on device, press Enter key to continue
As I’m behind a proxy so I declared it in ~.bashrc
and in apt.conf
in /etc/apt
on the host computer.
First to be sure, do I need to connect the Jetson to the internet via Gigabit Ethernet?
Note that I tried many things found around the web. ‘$ apt-get update’
does not work properly, I got the same issue as stated above. I tried to create the same ‘apt.conf’ file on the Jetson but it does not seems to work.
Thank you in advance for your help!