Apt-get install xxx failed

My environment:
Self-developed baseboards based on Jetson Orin Nx core boards
Jetson_Linux_R36.2.0_aarch64.tbz2
VM development environment for sdk - ubuntu20.04

My device does not have an external network environment, I want to update some tools, but there is an error when I execute the installation command, how do I update the sdk? You can apt update or get the download link on the device before burning.

` sudo apt-get install libyuv-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libyuv-dev


$ sudo apt-get update
[sudo] password for cz:
Ign:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Ign:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Ign:3 https://repo.download.nvidia.com/jetson/common r36.2 InRelease
Ign:4 https://repo.download.nvidia.com/jetson/t234 r36.2 InRelease
Ign:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Ign:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Ign:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Ign:3 https://repo.download.nvidia.com/jetson/common r36.2 InRelease
Ign:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Ign:4 https://repo.download.nvidia.com/jetson/t234 r36.2 InRelease
Ign:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Ign:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Ign:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Ign:3 https://repo.download.nvidia.com/jetson/common r36.2 InRelease
Ign:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Ign:4 https://repo.download.nvidia.com/jetson/t234 r36.2 InRelease
Ign:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Ign:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Err:3 https://repo.download.nvidia.com/jetson/common r36.2 InRelease
  Temporary failure resolving 'repo.download.nvidia.com'
Err:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:4 https://repo.download.nvidia.com/jetson/t234 r36.2 InRelease
  Temporary failure resolving 'repo.download.nvidia.com'
Err:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch https://repo.download.nvidia.com/jetson/common/dists/r36.2/InRelease  Temporary failure resolving 'repo.download.nvidia.com'
W: Failed to fetch https://repo.download.nvidia.com/jetson/t234/dists/r36.2/InRelease  Temporary failure resolving 'repo.download.nvidia.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Hi @Tiger_HxH

I see a similar problem on this post:
https://forums.developer.nvidia.com/t/jetson-nano-sudo-apt-get-update-not-working-help/112980

At the end, the person with the issue reported that the problem was fixed by following the “sudo nmtui” suggestion from another person in the thread. Maybe you can take a look to the suggestions in that thread.

Enrique Ramirez
Embedded SW Engineer at RidgeRun

Better go for official release 36.3

Check if your Internet connection is fine.

Also some times the package name might be different

My Jetson device is not connected to the Internet. Is there a way to update the rootfs of the sdk directly in the virtual machine? We were planning on using R36.3, but for now we’re using 36.2 for development, because there’s a lot of it

Hi @Tiger_HxH

You can look this link in order to share internet connection from your PC to the board if it’s connected via USB:

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