# Error Installing Cuda with Jetpack 3.3

**URL:** <https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657>\
**Category:** Jetson TX2\
**Created:** [November 21, 2018, 6:03am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657 "2018-11-21T06:03:18Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 21, 2018, 6:03am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/1 "2018-11-21T06:03:18Z")

</div>

I am using Jetpack 3.3 to install Cuda where i am running into the issue shown in the screenshot below

 ![Screenshot from 2018-11-21 11-15-50.png](https://global.discourse-cdn.com/nvidia/original/3X/7/9/793959663f1d07fba3c89a5293b4f0dd5729ac0f.png)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 21, 2018, 8:04am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/2 "2018-11-21T08:04:35Z")

</div>

Hi,

Could you reboot your device and run the JetPack again?  
_// Just install the package after rebooting_

Thanks.

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 21, 2018, 8:42am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/3 "2018-11-21T08:42:57Z")

</div>

> [@AastaLLL](#):
>
> Hi,
> 
> Could you reboot your device and run the JetPack again?  
> _// Just install the package after rebooting_
> 
> Thanks.

I rebooted and run the jetpack again. I got the same error.Attaching screenshot for reference

 ![Screenshot from 2018-11-21 14-12-02.png](https://global.discourse-cdn.com/nvidia/original/3X/e/6/e6ba2165bf003422df87a0fc1008fd8f8a81a756.png)

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 21, 2018, 12:03pm UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/4 "2018-11-21T12:03:34Z")

</div>

I am not able guess whats going wrong. Can someone give some idea for me to resolve this issue?

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [November 21, 2018, 6:48pm UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/5 "2018-11-21T18:48:43Z")

</div>

Here is a similar thread which might help:  
[url][https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/[/url]](https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/%5B/url%5D)

This particular note from that thread solved the issue in one case:  
[url][https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/post/5264984/#5264984[/url]](https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/post/5264984/#5264984%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 22, 2018, 7:50am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/6 "2018-11-22T07:50:56Z")

</div>

Hi,

This is a known issue which is caused by some libraries from the repository cannot be installed.  
Could you try if this workaround also works for you?  
[url][https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822[/url]](https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822%5B/url%5D)

Thanks.

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 22, 2018, 8:02am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/7 "2018-11-22T08:02:55Z")

</div>

> [@](#):
>
> Here is a similar thread which might help:  
> [https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/](https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/)
> 
> This particular note from that thread solved the issue in one case:  
> [https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/post/5264984/#5264984](https://devtalk.nvidia.com/default/topic/1036338/jetson-tx1/unable-to-complete-post-installation-of-jetpack-3-2-on-tx1-cuda-9-0-installation-fails/post/5264984/#5264984)

My host locale was in en\_in , i moved to en\_us but still i could not get pass this error

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 22, 2018, 8:04am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/8 "2018-11-22T08:04:54Z")

</div>

> [@AastaLLL](#):
>
> Hi,
> 
> This is a known issue which is caused by some libraries from the repository cannot be installed.  
> Could you try if this workaround also works for you?  
> [https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822](https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822)
> 
> Thanks.

→   
apt-get purge cuda-license-  
apt-get purge cuda-repo-\*  
dpkg --remove-architecture arm64  
apt-get update  
apt-get install g+±aarch64-linux-gnu  
reinstall CUDA with JetPack

The above steps needs to be executed on the JetsonTx2 or in the host?

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 22, 2018, 8:09am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/9 "2018-11-22T08:09:57Z")

</div>

> [@](#):
>
> > [@AastaLLL](#):
> >
> > Hi,
> > 
> > This is a known issue which is caused by some libraries from the repository cannot be installed.  
> > Could you try if this workaround also works for you?  
> > [https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822](https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822)
> > 
> > Thanks.
> 
> →   
> apt-get purge cuda-license-  
> apt-get purge cuda-repo-\*  
> dpkg --remove-architecture arm64  
> apt-get update  
> apt-get install g+±aarch64-linux-gnu  
> reinstall CUDA with JetPack
> 
> The above steps needs to be executed on the JetsonTx2 or in the host?

if i execute the below in my jetson tx2 i get this error

nvidia@tegra-ubuntu:~$ sudo dpkg --remove-architecture arm64  
dpkg: warning: cannot remove non-foreign architecture ‘arm64’

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 22, 2018, 9:38am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/10 "2018-11-22T09:38:34Z")

</div>

> [@](#):
>
> > [@AastaLLL](#):
> >
> > Hi,
> > 
> > This is a known issue which is caused by some libraries from the repository cannot be installed.  
> > Could you try if this workaround also works for you?  
> > [https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822](https://devtalk.nvidia.com/default/topic/1032344/jetson-tx2/install-failure-unmet-dependencies/post/5277822/#5277822)
> > 
> > Thanks.
> 
> →   
> apt-get purge cuda-license-  
> apt-get purge cuda-repo-\*  
> dpkg --remove-architecture arm64  
> apt-get update  
> apt-get install g+±aarch64-linux-gnu  
> reinstall CUDA with JetPack
> 
> The above steps needs to be executed on the JetsonTx2 or in the host?

I executed the above commands in HOST (ubuntu-16.04) and i could not go pass the “CUDA Cannot be installed on the device”.

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 22, 2018, 12:03pm UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/11 "2018-11-22T12:03:31Z")

</div>

My Host in ubuntu 16.04 has the following in /etc/apt/sources.list, does it need any modification :

deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial main restricted  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-updates main restricted  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial universe  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-updates universe  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial multiverse  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-updates multiverse  
deb [Index of /ubuntu](http://archive.canonical.com/ubuntu) xenial partner  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-security main restricted  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-security universe  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu) xenial-security multiverse  
deb [Index of /ubuntu](http://security.ubuntu.com/ubuntu) trusty-security main  
deb [arch=amd64] [Index of linux/ubuntu/](https://download.docker.com/linux/ubuntu) xenial stable

My jetson has the following in /etc/apt/sources.list:

deb [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial main restricted universe multiverse  
deb-src [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial main restricted universe multiverse  
deb [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial-updates main restricted universe multiverse  
deb-src [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial-updates main restricted universe multiverse  
deb [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial-security main restricted universe multiverse  
deb-src [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial-security main restricted universe multiverse

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 23, 2018, 2:34am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/12 "2018-11-23T02:34:36Z")

</div>

Hi,

The command is executed on the device.

Have you executed the following steps:

```auto
apt-get update
apt-get install g++-aarch64-linux-gnu

```

And reinstall CUDA with JetPack?

Thanks.

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 23, 2018, 5:02am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/13 "2018-11-23T05:02:09Z")

</div>

> [@AastaLLL](#):
>
> Hi,
> 
> The command is executed on the device.
> 
> Have you executed the following steps:
> 
> ```auto
> apt-get update
> apt-get install g++-aarch64-linux-gnu
> 
> ```
> 
> And reinstall CUDA with JetPack?
> 
> Thanks.

When i tried on the JetsonTx2, am getting this error  
nvidia@tegra-ubuntu:~$ sudo apt-get install g+±aarch64-linux-gnu  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package g+±aarch64-linux-gnu  
E: Couldn’t find any package by regex ‘g+±aarch64-linux-gnu’

I tried specifying the version [https://packages.ubuntu.com/en/xenial/amd64/g+±4.9-aarch64-linux-gnu/download](https://packages.ubuntu.com/en/xenial/amd64/g++-4.9-aarch64-linux-gnu/download) as well like this, still the same error →

sudo apt-get install g+±4.9-aarch64-linux-gnuReading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package g+±4.9-aarch64-linux-gnu  
E: Couldn’t find any package by glob ‘g+±4.9-aarch64-linux-gnu’  
E: Couldn’t find any package by regex ‘g+±4.9-aarch64-linux-gnu’

Got this thread → [Problems installing Jetpack on Jetson TX2 - Jetson TX2 - NVIDIA Developer Forums](https://devtalk.nvidia.com/default/topic/1035797/problems-installing-jetpack-on-jetson-tx2/)

will follow some suggestion from it to see if it helps solve my case

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 26, 2018, 4:28am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/14 "2018-11-26T04:28:26Z")

</div>

> [@](#):
>
> > [@AastaLLL](#):
> >
> > Hi,
> > 
> > The command is executed on the device.
> > 
> > Have you executed the following steps:
> > 
> > ```auto
> > apt-get update
> > apt-get install g++-aarch64-linux-gnu
> > 
> > ```
> > 
> > And reinstall CUDA with JetPack?
> > 
> > Thanks.
> 
> When i tried on the JetsonTx2, am getting this error  
> nvidia@tegra-ubuntu:~$ sudo apt-get install g+±aarch64-linux-gnu  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> E: Unable to locate package g+±aarch64-linux-gnu  
> E: Couldn’t find any package by regex ‘g+±aarch64-linux-gnu’
> 
> I tried specifying the version [https://packages.ubuntu.com/en/xenial/amd64/g+±4.9-aarch64-linux-gnu/download](https://packages.ubuntu.com/en/xenial/amd64/g++-4.9-aarch64-linux-gnu/download) as well like this, still the same error →
> 
> sudo apt-get install g+±4.9-aarch64-linux-gnuReading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> E: Unable to locate package g+±4.9-aarch64-linux-gnu  
> E: Couldn’t find any package by glob ‘g+±4.9-aarch64-linux-gnu’  
> E: Couldn’t find any package by regex ‘g+±4.9-aarch64-linux-gnu’
> 
> Got this thread → [Problems installing Jetpack on Jetson TX2 - Jetson TX2 - NVIDIA Developer Forums](https://devtalk.nvidia.com/default/topic/1035797/problems-installing-jetpack-on-jetson-tx2/)
> 
> will follow some suggestion from it to see if it helps solve my case

I reimaged a new Host with 16.04 (without CUDA proc) and tried doing the CUDA setup, still i could not go pass the same error. Can someone throw me some suggestion on how can i complete my CUDA Setup in Jetson tx2?  
Attaching the log screen shot when trying to setup CUDA on host using new ubuntu host, this is same error as the message in the first one.

 ![newhost.png](https://global.discourse-cdn.com/nvidia/original/2X/b/b7e5065cf5f08c8d4a803e126db51e880f16ee54.png)

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 26, 2018, 9:48am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/15 "2018-11-26T09:48:50Z")

</div>

I reflashed my Jetson again and this time i selected “setup DHCP server in host” option and i found my cuda toolkit installation is successful :)

 ![jetsonsucess.png](https://global.discourse-cdn.com/nvidia/original/2X/6/6c2a6456dc6983f5bad69eee31092fc9082d854b.png)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 27, 2018, 3:24am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/16 "2018-11-27T03:24:20Z")

</div>

Hi,

Thanks for your update.

We have passed the issue in comment #14 to our internal team.  
Will update information with you if any progress.

Thanks.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 27, 2018, 6:55am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/17 "2018-11-27T06:55:37Z")

</div>

Hi,

We want to check #14 issue in detail.  
Since we don’t meet the same error on our environment, could you help us collect the error log?

**1.** Reflash the device.  
**2.** Apply the workaround shared in #6.

If CUDA package still cannot be installed, please share the log information located at \<JetPack\_Dir\>/\_installer/logs with us.

Thanks.

---

<div class="post-metadata">

**Author:** ![manickavasagam.s](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@manickavasagam.s](https://forums.developer.nvidia.com/u/manickavasagam.s)\
**Post date:** [November 29, 2018, 12:40am UTC](https://forums.developer.nvidia.com/t/error-installing-cuda-with-jetpack-3-3/67657/18 "2018-11-29T00:40:28Z")

</div>

I will retry the above and get you the logs give me some time
