Jetson nano replaces domestic sources and Error: the public key is not available solution

  The original software source of Jetson nano is overseas, so when the software is updated, there will be more or less problems due to the speed. Therefore, the significance of changing to a stable and usable domestic source for development is self-evident. However, the system that Jetson nano runs on is aarch64 architecture, and the common Ubuntu source-changing tutorials will not work here.

uname -a

Insert picture description here
  Replace the source of Wudaokou, the pro-test is stable and available:

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe

  After replacing the domestic software source, the following problems occurred during the update:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC3FD642696BFC8
Reading package lists... Done
W: GPG error: https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC3FD642696BFC8
E: The repository 'https://packagecloud.io/headmelted/codebuilds/debian stretch 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.

  GPG signature verification error.
Insert picture description here

sudo gpg --keyserver keyserver.ubuntu.com --recv 0CCxxxxxxxxxxxxx //(这个公钥根据提示来写的,即上图中的红色部分)
sudo gpg --export --armor 0CC3FD642696BFC8 | sudo apt-key add -

  After the certification is added, the software list is updated successfully.
Insert picture description here

Reference:
Know the article: Jetson Nano for domestic sources

Guess you like

Origin blog.csdn.net/qq_33475105/article/details/109555200