jetson nano安装初始化_遇到的坑(1)

一、更换国内源(使用清华源,其他有的太旧或有问题)

首先备份原本的source.list文件

#为防止误操作后无法恢复,先备份原文件sources.list
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak    
sudo vi /etc/apt/sources.list  


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


保存之后升级

sudo apt-get update
sudo apt-get upgrade

 

 

 

转载于:https://my.oschina.net/mengyoufengyu/blog/3068788

你可能感兴趣的:(jetson nano安装初始化_遇到的坑(1))