Apt-get update errors

When I use the ‘sudo apt-get update’ command after restoring the default source, I get the following error.
This is the log after the command is used:

root@jetsond509-desktop:/etc/apt# sudo apt-get update
Err:1 https://repo.download.nvidia.com/jetson/common r32.7 InRelease
Could not resolve ‘repo.download.nvidia.com
Err:2 Index of /ubuntu-ports bionic-security InRelease
Could not resolve ‘ports.ubuntu.com
Err:3 Index of /ubuntu bionic InRelease
Could not resolve ‘us.archive.ubuntu.com
Err:4 https://repo.download.nvidia.com/jetson/t210 r32.7 InRelease
Could not resolve ‘repo.download.nvidia.com
Err:5 Index of /ubuntu bionic-updates InRelease
Could not resolve ‘us.archive.ubuntu.com
Err:6 Index of /ubuntu-ports bionic InRelease
Could not resolve ‘ports.ubuntu.com
Err:7 Index of /ubuntu bionic-backports InRelease
Could not resolve ‘us.archive.ubuntu.com
Reading package lists… Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve ‘us.archive.ubuntu.com
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve ‘us.archive.ubuntu.com
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve ‘us.archive.ubuntu.com
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease Could not resolve ‘ports.ubuntu.com
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease Could not resolve ‘ports.ubuntu.com
W: Failed to fetch https://repo.download.nvidia.com/jetson/common/dists/r32.7/InRelease Could not resolve ‘repo.download.nvidia.com
W: Failed to fetch https://repo.download.nvidia.com/jetson/t210/dists/r32.7/InRelease Could not resolve ‘repo.download.nvidia.com
W: Some index files failed to download. They have been ignored, or old ones used instead.

Hi,

Are you sure the Internet connection is alive?

Yes, access to normal web pages is no problem。

It also fails with the default Ubuntu repos, so please check it first.

I didn’t remove default Ubuntu repos, just added some new ones

I mean please figure out why you have this.

Do you errors or success from:

host ubuntu.com
host archive.ubuntu.com
host us.archive.ubuntu.com
host ports.ubuntu.com

Note that one dotted-decimal IP address for ports.ubuntu.com is:
185.125.190.39

If and only if you fail to resolve “host ports.ubuntu.com”, are you able to:
ping 185.125.190.39

What I’m doing is separating the problem into DNS versus routes.

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