Jetson TX2 CUDA Toolkit for L4T : ERROR

Hi, I went back to the host computer after the flashing to install Jetson SDK Components, but there was an error in the process

16:57:00 INFO : CUDA Toolkit for L4T : Fetched 1,006 kB in 3s (385 kB/s)
16:57:03 INFO : CUDA Toolkit for L4T : Reading package lists…
16:57:03 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y install cuda-toolkit-10-0 , 5
16:57:03 INFO : CUDA Toolkit for L4T : Reading package lists…
16:57:03 INFO : CUDA Toolkit for L4T : Building dependency tree…
16:57:03 INFO : CUDA Toolkit for L4T : Reading state information…
16:57:05 INFO : CUDA Toolkit for L4T : cuda-toolkit-10-0 is already the newest version (10.0.326-1).
16:57:05 INFO : CUDA Toolkit for L4T : 0 upgraded, 0 newly installed, 0 to remove and 349 not upgraded.
16:57:05 INFO : CUDA Toolkit for L4T : 1 not fully installed or removed.
16:57:05 INFO : CUDA Toolkit for L4T : After this operation, 0 B of additional disk space will be used.
16:57:05 INFO : CUDA Toolkit for L4T : Setting up deepstream-4.0 (4.0.1-1) …
16:57:05 INFO : CUDA Toolkit for L4T : ERROR: Could not find libnvbufsurface.so. Please install Nvidia Drivers from JetPack.
16:57:05 INFO : CUDA Toolkit for L4T : dpkg: error processing package deepstream-4.0 (–configure):
16:57:05 INFO : CUDA Toolkit for L4T : installed deepstream-4.0 package post-installation script subprocess returned error exit status 1
16:57:05 INFO : CUDA Toolkit for L4T : Errors were encountered while processing:
16:57:05 INFO : CUDA Toolkit for L4T : deepstream-4.0
16:57:09 INFO : CUDA Toolkit for L4T : E: Sub-process /usr/bin/dpkg returned an error code (1)
16:57:09 INFO : CUDA Toolkit for L4T : Unhandled error when running sudo apt-get -y install cuda-toolkit-10-0
16:57:09 INFO : CUDA Toolkit for L4T : exit status 1
16:57:09 INFO : CUDA Toolkit for L4T : [ Package Install Finished with Error ]
16:57:09 INFO : CUDA Toolkit for L4T : [ 228.00 KB released. Disk Avail: 21.33 GB ]
16:57:09 INFO : CUDA Toolkit for L4T : [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 2m7s ]
16:57:09 ERROR : CUDA Toolkit for L4T : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh jetson@192.168.111.82:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no jetson@192.168.111.82 “~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh” finished with error
16:57:09 INFO : CUDA Toolkit for L4T :
16:57:09 ERROR : CUDA Toolkit for L4T : command terminated with error

Hi,

Have you applied the first time login on the device before installing the package?
Please remember to setup the initial setting(ex. host name) before the component installation.

Thanks.

Yes, i login on the device before installing the package, after back to the host and write ip(eth0), login and password in the JetPack.

By the way, I was flashing using pc(Ubuntu), and continued the installation using the virtual machine(Ubuntu)

I did reflash with the help of the pc and it’s all set!

Sounds good - thanks for the update!