# Cuda installation issues 

**URL:** <https://forums.developer.nvidia.com/t/cuda-installation-issues/66444>\
**Category:** Jetson AGX Xavier\
**Created:** [October 21, 2018, 1:25pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444 "2018-10-21T13:25:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndnparis](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ndnparis](https://forums.developer.nvidia.com/u/ndnparis)\
**Post date:** [October 21, 2018, 1:25pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444/1 "2018-10-21T13:25:14Z")

</div>

Hi,  
At the end of installation, I got the following errors(1). As asked, I tried to install manually CUDA on Xavier but it didn’t work(2). I notice that Xavier is an ‘aarch64 GNU/Linux architecture’ and I couldn’t find this kind of package.  
Could you tell me how to resolve these issues, please.  
Thanks in advance.

(1)  
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 10.0.0.2 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

(2)  
nvidia@jetson-0:~$ sudo apt-get install cuda-toolkit-10-0  
[sudo] password for nvidia:  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package cuda-toolkit-10-0

nvidia@jetson-0:~$ sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48\_1.0-1\_amd64.deb  
dpkg: error processing archive cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48\_1.0-1\_amd64.deb (–install):  
package architecture (amd64) does not match system (arm64)  
Errors were encountered while processing:  
cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48\_1.0-1\_amd64.deb

---

<div class="post-metadata">

**Author:** ![snarky](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/snarky/32/10446_2.png) [@snarky](https://forums.developer.nvidia.com/u/snarky)\
**Post date:** [October 21, 2018, 10:42pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444/2 "2018-10-21T22:42:39Z")

</div>

Just re-flash the device with the JetPack. Make sure to select “install cuda” among the target-installable libraries in the GUI.

---

<div class="post-metadata">

**Author:** ![ndnparis](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ndnparis](https://forums.developer.nvidia.com/u/ndnparis)\
**Post date:** [October 22, 2018, 7:52am UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444/3 "2018-10-22T07:52:33Z")

</div>

Thanks a lot for your reply.

As noted in the following errors, I just realized that my Xavier Device is not correctly connected to wifi network.  
Err:3 [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports) bionic InRelease  
Could not resolve ‘[ports.ubuntu.com](http://ports.ubuntu.com)’

---

<div class="post-metadata">

**Author:** ![snarky](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/snarky/32/10446_2.png) [@snarky](https://forums.developer.nvidia.com/u/snarky)\
**Post date:** [October 22, 2018, 4:33pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444/4 "2018-10-22T16:33:04Z")

</div>

You need to connect using wired Ethernet for the Jetpack installation to work.

---

<div class="post-metadata">

**Author:** ![ndnparis](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ndnparis](https://forums.developer.nvidia.com/u/ndnparis)\
**Post date:** [October 22, 2018, 5:22pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-issues/66444/5 "2018-10-22T17:22:47Z")

</div>

Yes, I did. My Xavier Device is flashed, now.  
Thanks a lot for your help.
