Apt-get update fails for Orin NX 16GB

I was able to run apt-get update successfully yesterday when installing jetpack but today, when running a script to build OpenCV, it fails at apt-get update:

Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease                
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease        
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Ign:5 https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 InRelease
Hit:6 https://repo.download.nvidia.com/jetson/common r35.2 InRelease
Hit:7 https://repo.download.nvidia.com/jetson/t234 r35.2 InRelease
Err:8 https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 Release
  404  Not Found [IP: 23.220.203.42 443]
Reading package lists... Done
E: The repository 'https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I have tested this with different connections and still have the same 404 issue.

Hi felixo,

What’s your current Jetpack version in use?
You could run the following command to check.

$cat /etc/nv_tegra_release

Could you help to share the content of nvidia-l4t-apt-source.list?

$cat /etc/apt/sources.list.d/nvidia-l4t-apt-source.list

Do you make sure the board have the network access before running the update command?

# R35 (release), REVISION: 2.1, GCID: 32413640, BOARD: t186ref, EABI: aarch64, DATE: Tue Jan 24 23:38:33 UTC 2023
deb https://repo.download.nvidia.com/jetson/t234 r35.2 main
Yes, I definitely have network access.

Are your servers experiencing some downtime or maintenance? I had this issue using the same network yesterday but it was resolved after waiting for awhile.

Please try to add one more line in nvidia-l4t-apt-source.list

deb https://repo.download.nvidia.com/jetson/common r35.2 main

I’ve no information about server status.
So, does the apt update issue still exist now?

Yes, the apt update issue still exists. If i add deb https://repo.download.nvidia.com/jetson/common r35.2 main, i get:

Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [1,794 kB]
Ign:6 https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 InRelease
Hit:7 https://repo.download.nvidia.com/jetson/common r35.2 InRelease
Hit:8 https://repo.download.nvidia.com/jetson/t234 r35.2 InRelease
Err:9 https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 Release
  404  Not Found [IP: 125.56.199.17 443]
Reading package lists... Done
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
E: The repository 'https://repo.download.nvidia.com/jetson/common/orin-nano r35.2 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/nvidia-l4t-apt-source.list:12

What do you mean about it was resolved after waiting for a while?

Have you tried with latest Jetpack5.1.1(R35.3.1)?

I am not too sure actually, don’t think I changed anything but I had this issue when running sudo apt update before installing Jetpack 5.1. Tried running it a few times and it somehow worked. I was on 35.3.1 previously with no issues but had to reflash to 35.2.1 due to camera compatibility issues. I cannot use Jetpack5.1.1 with 35.2.1 right? As of now apt update is still giving me the same 404 error.
I might just give up on 35.2.1 and go back to 35.3.1. To clarify, if I want to update to Jetpack5.1.1 from Jetpack5.1, I can just follow How to Install JetPack :: NVIDIA JetPack Documentation without having to reflash with initrd?

Jetpack5.1(R35.2.1)
Jetpack5.1.1(R35.3.1)

I would suggest to re-flash the board with the script in the BSP package.
What’s your carrier board for Orin NX?

Its a JETSON-IO-BASE-B carrier board

It seems the custom carrier board from Waveshare.

Do you get the BSP package from them?

No, they said to use the Nvidia provided BSP.

Reflashed 35.2 and apt update works now. Guess this can be closed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.