Package installation error

I want to install Jetpack to Jetson TX2, ubuntu 18.04 but i can’t install,
Actually Jetpack 4.2 installed but i want to format Jetson TX2 because i cant install any package for example vncserver, while i try to install a package it shows me error.

JetPack installs to the host PC. When it runs flashes, it does overwrite and start the Jetson over from scratch (it is “L4T” which gets flashed, which is just Ubuntu with NVIDIA drivers). Before you go that far (flashing), it might be useful to give details on what happens when you try to install anything which fails.