The package cuda-repo-l4t-8-0-local needs to be reinstalled

i want to ran opencv with cuda, but it seems didn’t work, and i find this problem:
E: The package cuda-repo-l4t-8-0-local needs to be reinstalled, but I can’t find an archive for it.
should i reinstall the jetpack or something else?

You can run JetPack at any time. When not flashing it uses the ethernet…you’d have to check packages you are interested in and give it the correct network address for the Jetson. When JetPack does this it downloads the correct “.deb” file and sends it to the Jetson…the CUDA repo file is the first.

If you want to check for debugging or manual install look in JetPack’s “_installer/” subdirectory, find file “repository.json”, and look for the URL of the CUDA repo .deb on the TX2’s arm64 architecture (JetPack knows several devices, you are only interested in one). You can use “wget” on that URL to see if it downloads. If not, then perhaps it is a network problem.

You should not have to flash again to work on this. You can delete and re-install JetPack to your host if you want, but I’d first try without re-install.