Completely clean previously installed JetPack

I am trying to figure out the best way to completely remove previously installed JetPack (on the host Ubuntu 16.04).

I have been trying to install JetPack 3.1, 3.0, 2.3.1 on Ubuntu 16.04 host(, mainly because I want to boot from USB drive later and naively editing extlinx.conf is not working for JetPack 3.1 and the exlinx.conf for JetPack 3.1 is different from that in 2.3.1 version, so I followed the JetHack posts to switch to JetPack 2.3.1)

Now the problem is when installing JetPack 2.3.1 AFTER having uninstalled JetPack 3.1, I will not be able to install cuda-toolkit-8.0 on the host Ubuntu 16.04:

At first I got error message like:

'file:/var/cuda-repo-8-0-local  Release' does not have a Release file

And after remove file:/var/cuda-repo-8-0-local from app list, I still get unresolved/umet dependencies:

the following packages have unmet dependencies:
 cuda-toolkit-8-0 : depends: cuda-samples-8-0 (>= 8.0.64) but it is not going to be installed
                    depends: cuda-documentation-8-0 (>= 8.0.64) but it is not going to be installed
e: unable to correct problems, you have held broken packages.

Anyone has experienced similar issues? Thanks

I can’t answer the JetPack question, but realize that the procedure for changing some of the values which were previously in extlinux.conf changed with R28.1. You might mention what it was you wanted to change but which did not…perhaps you don’t need to abandon R28.1.

Hi jetboyYerong,

Please following below commands to clean up:
List all cuda related packages:

dpkg -l | grep cuda

Clean up listed:

dpkg --purge <package_name>

Verify all cuda packages are cleaned:

dpkg -l | grep cuda

Thanks Carolyuu:
Actually my “dpkg -l | grep cuda” outputs nothing from the start.
While my “sudo apt update” outputs following errors:

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Then I tried installing JetPack 2.3.1 on Ubuntu 16.04, and on the CUDA step, I still get following pop-up on installation, which stop the installtion:

Installing CUDA Toolkit for Ubuntu 16.04 8.0.34 failed.

Return Code: 1
Error installing cuda to host, please check /home/yerong/local/jetpack2/_installer/logs/cuda_host_tx1.log for more details

And at the end of the log file I recevied:

Fetched 459 kB in 1s (296 kB/s)
Reading package lists...
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/partial/_var_cuda-repo-8-0-local_Release
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda-toolkit-8-0 : Depends: cuda-samples-8-0 (>= 8.0.64) but it is not going to be installed
                    Depends: cuda-documentation-8-0 (>= 8.0.64) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Do you know how to fix this?

About those network addresses giving the 404 not found error:
The servers exist and are reachable. The part that is missing is apparently an invalid path to packages. Example:
Exists: http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/
Does not exist: http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/

There does exist a binary-amd64 subdirectory, but binary-arm64 does not exist. If you look within “/etc/apt/sources.list” the paths you have do not exist by default. Was your sources.list modified?

Hi jetboyYerong,

Please check linuxdev says, /etc/sources.list.
Or use below command to enable all sources:

sudo add-apt-repository universe
sudo apt-get update

Hi Carolyuu:

When typing:

sudo add-apt-repository universe

I get

'universe' distribution component is already enabled for all sources.

And then “sudo apt-get update” still reports errors:

Ign:25 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:31 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:31 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Err:25 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 2001:67c:1560:8001::14 80]
Ign:31 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Fetched 204 kB in 2s (95.3 kB/s)
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/partial/_var_cuda-repo-8-0-local_Release
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 2001:67c:1562::19 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 2001:67c:1562::19 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 2001:67c:1560:8001::14 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Hi linuxdev: here is my sources.list: I think I can not find link: http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted


## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

Hi linuxdev:
Did you figure out how to modify extlinx.conf on R28 for booting from USB drive? I created a post including my modified extlinx.conf here: https://devtalk.nvidia.com/default/topic/1026273/jetson-tx1/how-to-boot-tx1-from-usb-drive-from-r28-1-jetpack-3-1-/.

I found the error is caused by the JetPack2.3 installation script is querying a different version of cuda that its unpacked cuda. For instance in my /var/cuda-repo-8-0-local/ folder I have:

/var/cuda-repo-8-0-local/cuda-curand-8-0_8.0.34-1_amd64.deb

While the error log is reporting something like:

After this operation, 2,097 MB of additional disk space will be used.
Get:1 file:/var/cuda-repo-8-0-local  cuda-license-8-0 8.0.64-1 [27.6 kB]
Err:1 file:/var/cuda-repo-8-0-local  cuda-license-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-license-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:2 file:/var/cuda-repo-8-0-local  cuda-misc-headers-8-0 8.0.64-1 [1,078 kB]
Err:2 file:/var/cuda-repo-8-0-local  cuda-misc-headers-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-misc-headers-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:3 file:/var/cuda-repo-8-0-local  cuda-core-8-0 8.0.64-1 [20.0 MB]
Err:3 file:/var/cuda-repo-8-0-local  cuda-core-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-core-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:4 file:/var/cuda-repo-8-0-local  cuda-cudart-8-0 8.0.64-1 [135 kB]
Err:4 file:/var/cuda-repo-8-0-local  cuda-cudart-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cudart-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:5 file:/var/cuda-repo-8-0-local  cuda-driver-dev-8-0 8.0.64-1 [14.1 kB]
Err:5 file:/var/cuda-repo-8-0-local  cuda-driver-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-driver-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:6 file:/var/cuda-repo-8-0-local  cuda-cudart-dev-8-0 8.0.64-1 [1,071 kB]
Err:6 file:/var/cuda-repo-8-0-local  cuda-cudart-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cudart-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:7 file:/var/cuda-repo-8-0-local  cuda-command-line-tools-8-0 8.0.64-1 [26.1 MB]
Err:7 file:/var/cuda-repo-8-0-local  cuda-command-line-tools-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-command-line-tools-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:8 file:/var/cuda-repo-8-0-local  cuda-cublas-8-0 8.0.64-1 [27.2 MB]
Err:8 file:/var/cuda-repo-8-0-local  cuda-cublas-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cublas-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:9 file:/var/cuda-repo-8-0-local  cuda-cublas-dev-8-0 8.0.64-1 [57.4 MB]
Err:9 file:/var/cuda-repo-8-0-local  cuda-cublas-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cublas-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:10 file:/var/cuda-repo-8-0-local  cuda-cufft-8-0 8.0.64-1 [117 MB]
Err:10 file:/var/cuda-repo-8-0-local  cuda-cufft-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cufft-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:11 file:/var/cuda-repo-8-0-local  cuda-cufft-dev-8-0 8.0.64-1 [94.8 MB]
Err:11 file:/var/cuda-repo-8-0-local  cuda-cufft-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cufft-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:12 file:/var/cuda-repo-8-0-local  cuda-curand-8-0 8.0.64-1 [43.7 MB]
Err:12 file:/var/cuda-repo-8-0-local  cuda-curand-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-curand-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:13 file:/var/cuda-repo-8-0-local  cuda-curand-dev-8-0 8.0.64-1 [67.7 MB]
Err:13 file:/var/cuda-repo-8-0-local  cuda-curand-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-curand-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:14 file:/var/cuda-repo-8-0-local  cuda-cusolver-8-0 8.0.64-1 [29.3 MB]
Err:14 file:/var/cuda-repo-8-0-local  cuda-cusolver-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cusolver-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:15 file:/var/cuda-repo-8-0-local  cuda-cusolver-dev-8-0 8.0.64-1 [6,816 kB]
Err:15 file:/var/cuda-repo-8-0-local  cuda-cusolver-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cusolver-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:16 file:/var/cuda-repo-8-0-local  cuda-cusparse-8-0 8.0.64-1 [28.8 MB]
Err:16 file:/var/cuda-repo-8-0-local  cuda-cusparse-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cusparse-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:17 file:/var/cuda-repo-8-0-local  cuda-cusparse-dev-8-0 8.0.64-1 [29.6 MB]
Err:17 file:/var/cuda-repo-8-0-local  cuda-cusparse-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-cusparse-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:18 file:/var/cuda-repo-8-0-local  cuda-nvrtc-8-0 8.0.64-1 [9,584 kB]
Err:18 file:/var/cuda-repo-8-0-local  cuda-nvrtc-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-nvrtc-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:19 file:/var/cuda-repo-8-0-local  cuda-nvrtc-dev-8-0 8.0.64-1 [10.8 kB]
Err:19 file:/var/cuda-repo-8-0-local  cuda-nvrtc-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-nvrtc-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:20 file:/var/cuda-repo-8-0-local  cuda-npp-8-0 8.0.64-1 [157 MB]
Err:20 file:/var/cuda-repo-8-0-local  cuda-npp-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-npp-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:21 file:/var/cuda-repo-8-0-local  cuda-npp-dev-8-0 8.0.64-1 [82.3 MB]
Err:21 file:/var/cuda-repo-8-0-local  cuda-npp-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-npp-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:22 file:/var/cuda-repo-8-0-local  cuda-samples-8-0 8.0.64-1 [101 MB]
Err:22 file:/var/cuda-repo-8-0-local  cuda-samples-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-samples-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:23 file:/var/cuda-repo-8-0-local  cuda-documentation-8-0 8.0.64-1 [113 MB]
Err:23 file:/var/cuda-repo-8-0-local  cuda-documentation-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-documentation-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:24 file:/var/cuda-repo-8-0-local  cuda-nvgraph-8-0 8.0.64-1 [2,948 kB]
Err:24 file:/var/cuda-repo-8-0-local  cuda-nvgraph-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-nvgraph-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:25 file:/var/cuda-repo-8-0-local  cuda-nvgraph-dev-8-0 8.0.64-1 [3,028 kB]
Err:25 file:/var/cuda-repo-8-0-local  cuda-nvgraph-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-nvgraph-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:26 file:/var/cuda-repo-8-0-local  cuda-nvml-dev-8-0 8.0.64-1 [48.4 kB]
Err:26 file:/var/cuda-repo-8-0-local  cuda-nvml-dev-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-nvml-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:27 file:/var/cuda-repo-8-0-local  cuda-visual-tools-8-0 8.0.64-1 [286 MB]
Err:27 file:/var/cuda-repo-8-0-local  cuda-visual-tools-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-visual-tools-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
Get:28 file:/var/cuda-repo-8-0-local  cuda-toolkit-8-0 8.0.64-1 [2,900 B]
Err:28 file:/var/cuda-repo-8-0-local  cuda-toolkit-8-0 8.0.64-1
  File not found - /var/cuda-repo-8-0-local/./cuda-toolkit-8-0_8.0.64-1_amd64.deb (2: No such file or directory)
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-license-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-license-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-misc-headers-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-misc-headers-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-core-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-core-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cudart-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cudart-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-driver-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-driver-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cudart-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cudart-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-command-line-tools-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-command-line-tools-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cublas-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cublas-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cublas-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cublas-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cufft-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cufft-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cufft-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cufft-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-curand-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-curand-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-curand-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-curand-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cusolver-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cusolver-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cusolver-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cusolver-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cusparse-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cusparse-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-cusparse-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-cusparse-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-nvrtc-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-nvrtc-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-nvrtc-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-nvrtc-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-npp-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-npp-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-npp-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-npp-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-samples-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-samples-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-documentation-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-documentation-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-nvgraph-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-nvgraph-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-nvgraph-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-nvgraph-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-nvml-dev-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-nvml-dev-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-visual-tools-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-visual-tools-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

E: Failed to fetch file:/var/cuda-repo-8-0-local/./cuda-toolkit-8-0_8.0.64-1_amd64.deb  File not found - /var/cuda-repo-8-0-local/./cuda-toolkit-8-0_8.0.64-1_amd64.deb (2: No such file or directory)

This means JetPack 2.3 is actually looking for /var/cuda-repo-8-0-local/cuda-curand-8-0_8.0.64-1_amd64.deb

But I still do not know how to fix this though

I’ll see what I can add in the other link you gave for USB boot…I don’t want to have multiple threads for the same thing.

“amd64.deb” is not a Jetson package…this is for a desktop PC and is not capable of being used on arm64/aarch64. The fact that your Jetson is trying to use this is worrisome…I’m not sure how your Jetson came to think it was a desktop PC :P Were those files in “/usr/local” installed via JetPack? Something has mixed up your package system.

It proves a cuda conflict: since for a while I was trying to install cuada 8.0.64 on desktop and ubuntu (desktop) kept asking for that version of cuda, while jetson is installing a different version of it. (e.g. JetPack 2.3.1 is installing cuda 8.0.34 and JetPack 3.0 is installing cuda 8.0.84)

So I fixed this by reintall the system.