Libgstrtspserver-1.0-dev package installation on jetson nano

I am building deepstream sdk and need to install this package

sudo apt install libgstrtspserver-1.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gir1.2-gst-rtsp-server-1.0
The following NEW packages will be installed:
  gir1.2-gst-rtsp-server-1.0 libgstrtspserver-1.0-dev
0 upgraded, 2 newly installed, 0 to remove and 91 not upgraded.
Need to get 60.4 kB of archives.
After this operation, 721 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 gir1.2-gst-rtsp-server-1.0 arm64 1.14.5-0ubuntu1~18.04.1
  Could not resolve 'ports.ubuntu.com'
Err:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 libgstrtspserver-1.0-dev arm64 1.14.5-0ubuntu1~18.04.1
  Could not resolve 'ports.ubuntu.com'
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gst-rtsp-server1.0/gir1.2-gst-rtsp-server-1.0_1.14.5-0ubuntu1~18.04.1_arm64.deb  Could not resolve 'ports.ubuntu.com'
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gst-rtsp-server1.0/libgstrtspserver-1.0-dev_1.14.5-0ubuntu1~18.04.1_arm64.deb  Could not resolve 'ports.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

–fix-missing gives same error

sudo apt-get update gives

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease  Could not resolve 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease  Could not resolve 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/InRelease  Could not resolve 'ports.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 https://repo.download.nvidia.com/jetson/common/dists/r32.4/InRelease  Could not resolve 'repo.download.nvidia.com'
W: Failed to fetch https://repo.download.nvidia.com/jetson/t210/dists/r32.4/InRelease  Could not resolve 'repo.download.nvidia.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Looks like network issues or your ISP @hrsht.sarma

I downloaded that package yesterday myself without a problem. I would suggest retrying.

Tried again , same issue persist , I can download other things but :( . Thanks for your response

Try different DNS provider.
Or set
91.189.88.150 ports.ubuntu.com
95.100.111.121 repo.download.nvidia.com
to your /etc/hosts file

1 Like