Trying to install jetpack

I think you should make sure to run sudo apt update first after connecting to the Internet.
Also, if you are using Jetpack 5.0.1 DP, I recommend upgrading to Jetpack 5.0.2 GA, L4T 35.1.
Refer to this topic: https://forums.developer.nvidia.com/t/jetpack-5-0-2-with-jetson-linux-35-1-is-now-live/224003