How install cuda-repo-l4t-10-2-local_10.2.460-1_arm64.deb manually

I have download cuda-repo-l4t-10-2-local_10.2.460-1_arm64.deb. But I don’t know install it to rootfs. I custom my rootfs by chroot. When I run dpkg, it shows that

The public CUDA GPG key does not appear to be installed.
To install the key, run this command:
sudo apt-key add /var/cuda-repo-l4t-10-2-local/7fa2af80.pub

And then sudo apt-key add /var/cuda-repo-l4t-10-2-local/7fa2af80.pub
I find that

gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory

Hi,

Could you share what kind of customization is in your rootfs?

Based on the error, it seems there is no gpg-agent file exist.
Is the customization related to this file?

Thanks.

1 Like

I use chroot to custom my rootfs from the official sample rootfs.
Maybe I delete the gpg-agent. I do it again and the issue has been fixed.
I want to know if I can custom the rootfs by chroot?

That’s basically how the l4t_create_default_user.sh script works. You can directly modify rootfs/ with ordinary file commands without chroot if you are careful with permissions and ownership of files. The files in “rootfs/boot/” get modified by the flash, but pretty much everything else in “rootfs/” is copied verbatim to the flashed Jetson.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.