Missing nvidia-l4t-apt-source.list on Jetson Linux 38.2

Hi,

I’m getting errors regarding the nvidia-l4t-apt-source every time I update packages on the system. Looks like the .list file is missing, though there’s a .sources and a .list.distUpgrade file in the folder.

Setting up nvidia-l4t-apt-source (38.2.2-20250925153837) …
sed: can’t read /etc/apt/sources.list.d/nvidia-l4t-apt-source.list: No such file or directory
dpkg: error processing package nvidia-l4t-apt-source (--configure):
 installed nvidia-1l4t-apt-source package post-installation script subprocess returned error exit stat us 2
Errors were encountered while processing:
 nvidia-l4t-apt-source
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

georgelpreput@ai ~/Downloads [100|> ls /etc/apt/sources.list.d
1password.list nvidia-l4t-apt-source.list.distUpgrade ubuntu.sources cuda-ubuntu2404-13-0-local.list nvidia-l4t-apt-source.sources ubuntu.sources.curtin.orig docker.list tailscale.list

I can see though that jetson/common, jetson/som and jetson/ffmpeg are set up in the GUI:

Is there someplace I can download this .list file from, or could anyone provide the contents of it, in case you do have it on your system?

Hi,
We can see the packages on developer kit:

$ apt list -a | grep "nvidia-l4t-apt-source"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

nvidia-l4t-apt-source/stable,now 38.2.2-20250925153837 arm64 [installed]
nvidia-l4t-apt-source/stable 38.2.1-20250910123945 arm64
nvidia-l4t-apt-source/stable 38.2.0-20250821174705 arm64

Do you install system image through SDKMaanger or follow the manual steps in
Quick Start — NVIDIA Jetson Linux Developer Guide

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

# SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.

deb https://repo.download.nvidia.com/jetson/common r38.2 main
deb https://repo.download.nvidia.com/jetson/som r38.2 main
deb https://repo.download.nvidia.com/jetson/ffmpeg r38.2 main

@whitesscott thank you, now I’m not getting an error anymore. It’s of course replaced by warnings that the same sources are in both nvidia-l4t-apt-source.sources and nvidia-l4t-apt-source.list, but I can live with that.

@DaneLLL yes, I do see the sources, exactly as you mention above. The problem came about when I did sudo apt update && sudo apt upgrade -y. I think apt was looking for a .list file, even though you had the .sources file in there with basically the same content.

To answer your question, I used the installation ISO, as per the steps detailed here:

on my Thor

ls /etc/apt/sources.list.d/
cuda-ubuntu2404-sbsa.list docker.list nvidia-l4t-apt-source.list ubuntu.sources

Here’s what I would try.

Presuming you added and need: 1password.list and tailscale.list, leave them.

Leave /etc/apt/sources.list.d/nvidia-l4t-apt-source.list

mv these to a temp directory in $HOME/

nvidia-l4t-apt-source.sources
nvidia-l4t-apt-source.list.distUpgrade 
cuda-ubuntu2404-13-0-local.list
ubuntu.sources.curtin.orig

Create /etc/apt/sources.list.d/cuda-ubuntu2404-sbsa.list. Following is on one line in the file.

deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/sbsa/ /

Then

sudo apt update
sudo apt upgrade

Look at the packages to be installed and if they seem correct, Y install them.


If apt complains that /usr/share/keyrings/cuda-archive-keyring.gpg doesn’t exist do following:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/sbsa/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt update
sudo apt upgrade