SDK Manager Installation Error

I am trying to install some components onto an already flashed Jetson TX1, but continue to run into the same errors (see imgur)

  1. Corrupt .mtd file
  2. Error running command"~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh"

I am aware of the existing mtd file error. I have tried running the installation without any pre-existing files and with .deb files downloaded directly from the website as suggested by moloch

Hi BaboonGod,

We are now investigating the download issue.
For the CUDA installation error, can you please log in TX1 and run ā€œ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.shā€ command in its terminal to see whatā€™s the exact error?

Ok, sounds great!

For the CUDA installation error:

  • Imgur for returned unmet package dependenciesIt
  • Packages libxmu-dev and libxi-dev are not available for Jetson TX1's ARM64/AARCH64. Aptitude, which could be used to install those packages, is also not supported for ARM64/AARCH64

I think tobilabā€™s suggestion to run sdkmanager offline works to workaround the corrupt .mtd file issue. I had no .mtd file errors, though there were still problems with installing CUDA Toolkit LT4 (imgur)

1 Like

Hi BaboonGod,

This is probably because the Jetson OS version is an old one, so these two packages cannot be found. Can you try to flash TX1 first, then install CUDA with JetPack?

Reflashed Jetson but still had the same errors as earlier

Weā€™ve rolled out an update to the SDK Manager client that addresses the corrupt .mtd issue. Log into SDK Manager, and you will see a prompt to upgrade to version 0.9.14 - click continue, enter your sudo password, and the client will self-update. Let us know if you still encounter problems with the downloads.

We are also updating the SDK Manager binary installer on the website, but for now use the self-update feature.

The .mtd corrupt files error is gone, though the CUDA error persists.

According to the error logs:

For ā€œERROR : command terminated with errorā€

2019-08-22 08:46:28.013 - info: [INPUT] "[ `lsusb | grep -c \"0955:\"` -ne 1 ] && echo SDKM_END_CODE_SUCCESS_a1c21af4-9d39-4275-b076-d7f5f1c9e708 || echo SDKM_END_CODE_FAILURE_a1c21af4-9d39-4275-b076-d7f5f1c9e708_$?\r"
2019-08-22 08:46:28.097 - error: cmd finished failure SDKM_END_CODE_FAILURE_a1c21af4-9d39-4275-b076-d7f5f1c9e708_1
2019-08-22 08:46:28.097 - error: command error code: 1
2019-08-22 08:46:28.097 - warn: Failed to get component from group data map for 
2019-08-22 08:46:28.097 - error: command terminated with error
2019-08-22 08:46:28.098 - info: Only one nvidia device detected, as expected.

When running ā€˜lsusb | grep -c ā€œ0955:ā€ā€™, the command returns 1
This corresponds to ā€œBus 001 Device 004: ID 0955:7020 NVidia Corp.ā€

For ā€œERROR : CUDA Toolkit for L4T : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=noā€¦ā€

2019-08-22 08:48:22.646 - info: *begin sudo apt-get -y update, 5
2019-08-22 08:48:23.002 - info: Get:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
2019-08-22 08:48:23.003 - info: Ign:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
2019-08-22 08:48:23.003 - info: Get:2 file:/var/cuda-repo-10-0-local-10.0.326  Release [574 B]
...
...(Ellipses are successful Get: and Ign: commands)
...
...
2019-08-22 08:49:38.549 - info: Err:109 http://mirror.genesisadaptive.com/ubuntu bionic-updates/main arm64 Packages
2019-08-22 08:49:38.550 - info:   404  Not Found [IP: 64.250.112.70 80]
2019-08-22 08:49:38.817 - info: Ign:116 http://mirror.genesisadaptive.com/ubuntu bionic-updates/restricted arm64 Packages
2019-08-22 08:49:39.124 - info: Ign:120 http://mirror.genesisadaptive.com/ubuntu bionic-updates/universe arm64 Packages
2019-08-22 08:49:39.425 - info: Ign:126 http://mirror.genesisadaptive.com/ubuntu bionic-updates/multiverse arm64 Packages
2019-08-22 08:49:39.826 - info: Err:136 http://mirror.genesisadaptive.com/ubuntu bionic/main arm64 Packages
2019-08-22 08:49:39.827 - info:   404  Not Found [IP: 64.250.112.70 80]
2019-08-22 08:49:40.045 - info: Ign:143 http://mirror.genesisadaptive.com/ubuntu bionic/restricted arm64 Packages
2019-08-22 08:49:40.271 - info: Ign:148 http://mirror.genesisadaptive.com/ubuntu bionic/universe arm64 Packages
2019-08-22 08:49:40.505 - info: Ign:154 http://mirror.genesisadaptive.com/ubuntu bionic/multiverse arm64 Packages
2019-08-22 08:49:41.884 - info: Fetched 15.7 MB in 1min 18s (201 kB/s)
2019-08-22 08:49:42.022 - info: Reading package lists...
2019-08-22 08:49:42.048 - info: W: Skipping acquire of configured file 'univers/source/Sources' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic-proposed InRelease' doesn't have the component 'univers' (component misspelt in sources.list?)
2019-08-22 08:49:42.049 - info: E: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 140.110.240.80 80]
2019-08-22 08:49:42.049 - info: E: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages  404  Not Found [IP: 140.110.240.80 80]
2019-08-22 08:49:42.050 - info: E: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 140.110.240.80 80]
2019-08-22 08:49:42.050 - info: E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.24 80]
2019-08-22 08:49:42.051 - info: E: Failed to fetch http://mirror.genesisadaptive.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 64.250.112.70 80]
2019-08-22 08:49:42.051 - info: E: Failed to fetch http://mirror.genesisadaptive.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 64.250.112.70 80]
2019-08-22 08:49:42.051 - info: E: Some index files failed to download. They have been ignored, or old ones used instead.
2019-08-22 08:49:42.058 - info: Unhandled error when running sudo apt-get -y update
2019-08-22 08:49:42.060 - info: exit status 1
2019-08-22 08:49:42.060 - info: [ Package Install Finished with Error ]
2019-08-22 08:49:42.060 - info: [ 724.00 KB used. Disk Avail: 31.94 GB ]
2019-08-22 08:49:42.060 - info: [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 2m34s ]
2019-08-22 08:49:42.061 - error: command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh justin2@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no justin2@192.168.55.1 "~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh" finished with error

And the third error seems to just be caused by dependency issues probably from the first/second error

2019-08-22 08:50:31.003 - info: dpkg: error processing package nvidia-docker2 (--install):
2019-08-22 08:50:31.004 - info:  dependency problems - leaving unconfigured
2019-08-22 08:50:31.067 - info: Errors were encountered while processing:
2019-08-22 08:50:31.068 - info:  nvidia-docker2
2019-08-22 08:50:31.080 - info: Unhandled error when running sudo dpkg -i /opt/nvidia/deb_repos/nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb
2019-08-22 08:50:31.080 - info: exit status 1
2019-08-22 08:50:31.080 - info: [ Package Install Finished with Error ]

Restoring /etc/apt/source.list to the default source.list on the Jetson TX1 still produced the same (second) error:

2019-08-22 09:38:01.088 - info: *begin sudo apt-get -y update, 5
2019-08-22 09:38:01.292 - info: Get:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
2019-08-22 09:38:01.293 - info: Ign:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
2019-08-22 09:38:01.293 - info: Get:2 file:/var/cuda-repo-10-0-local-10.0.326  Release [574 B]
...
...(Ellipses are successful Get: and Ign: commands)
...
...

2019-08-22 09:42:55.560 - info: Ign:99 http://archive.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
2019-08-22 09:42:55.966 - info: Err:12 http://archive.ubuntu.com/ubuntu bionic/main arm64 Packages
2019-08-22 09:42:55.967 - info:   404  Not Found [IP: 91.189.88.149 80]
2019-08-22 09:42:56.179 - info: Ign:17 http://archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
2019-08-22 09:42:56.486 - info: Ign:21 http://archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
2019-08-22 09:42:56.794 - info: Ign:28 http://archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
2019-08-22 09:42:57.132 - info: Err:40 http://archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
2019-08-22 09:42:57.132 - info:   404  Not Found [IP: 91.189.88.149 80]
2019-08-22 09:42:57.395 - info: Ign:46 http://archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
2019-08-22 09:42:57.716 - info: Ign:50 http://archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
2019-08-22 09:42:58.023 - info: Ign:58 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
2019-08-22 09:42:58.314 - info: Err:65 http://archive.ubuntu.com/ubuntu bionic-backports/main arm64 Packages
2019-08-22 09:42:58.314 - info:   404  Not Found [IP: 91.189.88.31 80]
2019-08-22 09:42:58.635 - info: Ign:69 http://archive.ubuntu.com/ubuntu bionic-backports/universe arm64 Packages
2019-08-22 09:42:58.972 - info: Err:81 http://archive.ubuntu.com/ubuntu bionic-security/main arm64 Packages
2019-08-22 09:42:58.973 - info:   404  Not Found [IP: 91.189.88.31 80]
2019-08-22 09:42:59.251 - info: Ign:87 http://archive.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
2019-08-22 09:42:59.532 - info: Ign:93 http://archive.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
2019-08-22 09:42:59.867 - info: Ign:99 http://archive.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
2019-08-22 09:43:00.899 - info: Fetched 58.2 MB in 4min 59s (194 kB/s)
2019-08-22 09:43:01.010 - info: Reading package lists...
2019-08-22 09:43:01.024 - info: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.149 80]
2019-08-22 09:43:01.025 - info: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.149 80]
2019-08-22 09:43:01.025 - info: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.31 80]
2019-08-22 09:43:01.025 - info: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.31 80]
2019-08-22 09:43:01.025 - info: E: Some index files failed to download. They have been ignored, or old ones used instead.
2019-08-22 09:43:01.032 - info: Unhandled error when running sudo apt-get -y update
2019-08-22 09:43:01.035 - info: exit status 1
2019-08-22 09:43:01.036 - info: [ Package Install Finished with Error ]
2019-08-22 09:43:01.036 - info: [ 1.95 MB used. Disk Avail: 31.88 GB ]
2019-08-22 09:43:01.036 - info: [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 6m16s ]
2019-08-22 09:43:01.036 - error: command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh justin2@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no justin2@192.168.55.1 "~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh" finished with error
2019-08-22 09:43:01.037 - info:  
2019-08-22 09:43:01.037 - error: cmd finished failure SDKM_END_CODE_FAILURE_3c3e66d1-9b82-457d-9dc6-a333f180a9cb_4
2019-08-22 09:43:01.037 - error: command error code: 4
2019-08-22 09:43:01.037 - error: command terminated with error
2019-08-22 09:43:01.038 - error: install 'CUDA Toolkit for L4T' failure, command < cd '/home/justin/nvidia/nvidia_sdk/JetPack_4.2.1_Linux_GA_P2180' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9DVURBX1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GF0aCI6Ii9ob21lL2p1c3Rpbi9udmlkaWEvbnZpZGlhX3Nkay9KZXRQYWNrXzQuMi4xX0xpbnV4X0dBX1AyMTgwIiwiaW5zdGFsbFJvb3QiOiIvaG9tZS9qdXN0aW4vbnZpZGlhL252aWRpYV9zZGsiLCJib2FyZElEIjoiUDIxODAiLCJpc0RyeVJ1biI6ZmFsc2V9' -i='NV_L4T_CUDA_TARGET_POST_INSTALL_COMP' -v='10.0' -l='/home/justin/nvidia/nvidia_sdk/JetPack_4.2.1_Linux_GA_P2180' -L='/home/justin/.nvsdkm/logs/JetPack_4.2.1_Linux_GA' -p='2080' -t='P2180' -e='/home/justin/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-10-0-local-10.0.326_1.0-1_arm64.deb' > terminated with error

Running ā€œsudo apt-get -y updateā€ on the Jetsonā€™s terminal returns same errors

Sources.list code:

# deb cdrom:[Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic restricted multiverse main universe #Added by software-properties
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-updates restricted multiverse main universe #Added by software-properties
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse #Added by software-properties
# deb-src http://tw.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## 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://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-security restricted multiverse main universe #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Changed the source.list file on JetsonTX1 so ā€œsudo apt-get updateā€ no longer causes errors. Now it is again returning the error for unmet CUDA dependencies as referenced here

Hi BaboonGod,

It seems that the sources.list on your TX1 might have problem. After flashing, the default sources.list is good to use.

Iā€™m attaching this file on my TX1 FYI.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

## 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://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

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

Btw: The JetPack installation logs are available at ~/.nvsdkm/logs directory. You could update the logs there if there is more issue.

Running sudo apt-get update with the default source.list produces errors:

Ign:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Hit:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release
...
...
...
...
Ign:28 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse amd64 Packages
Err:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main amd64 Packages
Ign:41 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:42 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted amd64 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:45 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe amd64 Packages
Ign:52 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse amd64 Packages
Err:57 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:59 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main amd64 Packages
Ign:62 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:63 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe amd64 Packages
Err:69 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:70 http://ports.ubuntu.com/ubuntu-ports bionic-security/main amd64 Packages
Ign:75 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted amd64 Packages
Ign:76 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:79 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:87 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse amd64 Packages
Fetched 35.3 MB in 7min 22s (79.8 kB/s)
Reading package lists... Done
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-amd64/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

I am running the Jetson by booting through an external SSD as root, and didnā€™t make any changes to the SSD after flashing the Jetson, so that might be related.

Think I found a workaround by commenting out the deb commands and uncommenting the deb-src commands while unchecking all options in software & updates.

Found the ARM64 cuda files in a local directory, but it looks like SDKmanager couldnā€™t find them, so I made a deb reference to the folder. Currently testing to see if that fixes the issue. Dependencies arenā€™t automatically installed, so Iā€™m installing them one at a time

It keeps install a version of package ā€œnvidia-docker2ā€ that depends on an older version of package ā€œdocker.ioā€

nvidia-docker2 : Depends: docker.io (= 18.09.2-0ubuntu1~18.04.1) but 18.09.7-0ubuntu1~18.04.4 is to be installed

Maybe shouldnā€™t have sudo apt upgraded after initial flashā€¦

After downloading and uninstalling a bunch of packages, the CUDA error was resolved