Building dependency tree
Reading state information... Done
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-11-4 : Depends: cuda-libraries-dev-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-tools-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-samples-11-4 (>= 11.4.239) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.```
cuda-toolkit-11-4 installs successfully on host system, this problem only manifests in l4t container, even with all the same repositories, i.e.
docker run -it --rm --gpus all -v /etc/apt/sources.list:/etc/apt/sources.list -v /etc/apt/sources.list.d/:/etc/apt/sources.list.d/ nvcr.io/nvidia/l4t-base:r34.1.1
apt update && apt install cuda-toolkit-11-4
Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB]
Get:2 https://repo.download.nvidia.com/jetson/common r34.1 InRelease [2555 B]
Get:3 https://repo.download.nvidia.com/jetson/t194 r34.1 InRelease [2550 B]
Get:4 https://repo.download.nvidia.com/jetson/common r34.1/main arm64 Packages [16.6 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
Get:8 https://repo.download.nvidia.com/jetson/t194 r34.1/main arm64 Packages [13.6 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages [1234 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages [11.1 MB]
Get:11 http://ports.ubuntu.com/ubuntu-ports focal/restricted arm64 Packages [1317 B]
Get:12 http://ports.ubuntu.com/ubuntu-ports focal/multiverse arm64 Packages [139 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [4150 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1096 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [1691 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [9063 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 Packages [27.1 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports focal-backports/main arm64 Packages [53.8 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages [815 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages [1318 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted arm64 Packages [3912 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse arm64 Packages [3257 B]
Fetched 18.2 MB in 4s (4270 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
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-11-4 : Depends: cuda-libraries-dev-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-tools-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-samples-11-4 (>= 11.4.239) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.