Jetson nanoの元のソフトウェアソースは海外にあるため、ソフトウェアを更新すると、速度によって多少の問題が発生します。したがって、開発のために安定して使用可能な国内ソースに変更することの重要性は自明です。ただし、Jetson nanoが実行されるシステムはaarch64アーキテクチャであり、一般的なUbuntuのソース変更チュートリアルはここでは機能しません。
uname -a
Wudaokouのソースを交換してください。プロテストは安定しており、利用できます。
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
国内のソフトウェアソースを交換した後、アップデート中に次の問題が発生しました。
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署名検証エラー。
sudo gpg --keyserver keyserver.ubuntu.com --recv 0CCxxxxxxxxxxxxx //(这个公钥根据提示来写的,即上图中的红色部分)
sudo gpg --export --armor 0CC3FD642696BFC8 | sudo apt-key add -
認定が追加されると、ソフトウェアリストは正常に更新されます。
参照:
記事を知っている:国内ソース用のJetson Nano