I install the JetPack to TX2 in Jan. 2020. (I don’t remember the exact JetPack version)
And install PyTorch 1.3.0.
Now, I want to upgrade the PyTorch 1.3.0 to 1.6.0.
After upgrading the torch, then import torch occurs below error.
OSError: libcurand.so.10: cannot open shared object file: No such file or directory
Google says that upgrade the Cuda. So I try to upgrade JetPack.
An error occurred while following “How to Install JetPack :: NVIDIA JetPack Documentation”'s upgrade process.
following the first procedure, Upgrade L4T by referring to the OTA section of the (Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation).
I follow the below procedure.
- Change the repository name and download URL in the deb commands.
The original commands are:
deb https://repo.download.nvidia.com/jetson/common r32 main
deb Index r32 main
Where is identifies the platform’s processor:
•t186 for Jetson TX2 series
•t194 for Jetson AGX Xavier series or Jetson Xavier NX
•t210 for Jetson Nano or Jetson TX1
Change the repository name from r32 to r32.4, and to the appropriate processor name for your platform. If your platform is Jetson Xavier NX, for example:
deb https://repo.download.nvidia.com/jetson/common r32.4 main
deb https://repo.download.nvidia.com/jetson/t194 r32.4 main
3.Save and close the source configuration file.
4.Enter the commands:
$ sudo apt update
$ sudo apt dist-upgrade
but, sudo apt update returns the below error.
Get:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Get:2 file:/var/visionworks-repo InRelease
Ign:2 file:/var/visionworks-repo InRelease
Get:3 file:/var/visionworks-sfm-repo InRelease
Ign:3 file:/var/visionworks-sfm-repo InRelease
Get:4 file:/var/visionworks-tracking-repo InRelease
Ign:4 file:/var/visionworks-tracking-repo InRelease
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Get:8 file:/var/visionworks-tracking-repo Release [2,008 B]
Get:6 file:/var/visionworks-repo Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:8 file:/var/visionworks-tracking-repo Release [2,008 B]
Get:9 https://repo.download.nvidia.com/jetson/common r32.4 InRelease [2,552 B]
Get:10 https://repo.download.nvidia.com/jetson/t186 r32.4 InRelease [2,561 B]
Hit:12 Index of /ubuntu-ports bionic InRelease
Get:14 Index of /ubuntu-ports bionic-updates InRelease [88.7 kB]
Err:9 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0D296FFB880FB004
Get:17 Index of /ubuntu-ports bionic-backports InRelease [74.6 kB]
Err:10 https://repo.download.nvidia.com/jetson/t186 r32.4 InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0D296FFB880FB004
Get:18 Index of /ubuntu-ports bionic-security InRelease [88.7 kB]
Get:19 Index of /ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [290 kB]
Get:20 Index of /ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [282 kB]
Get:21 Index of /ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [9,288 B]
Get:22 Index of /ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [42.7 kB]
Get:23 Index of /ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [52.2 kB]
Reading package lists… Done
W: GPG error: https://repo.download.nvidia.com/jetson/common r32.4 InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0D296FFB880FB004
E: The repository ‘https://repo.download.nvidia.com/jetson/common r32.4 InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://repo.download.nvidia.com/jetson/t186 r32.4 InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0D296FFB880FB004
E: The repository ‘https://repo.download.nvidia.com/jetson/t186 r32.4 InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
what’s the problem?
or can I install PyTorch 1.6.0 without upgrading the JetPack?