1, determine the system version
ubuntu14.04 is trusty, ubuntu16.04 is xenial.
2, first back up the original file sources.list, to prevent misoperation can not be restored. Annotate the original content with the "#" symbol, and then add the source of the Chinese University of Science and Technology at the end of the file:
Http://mirrors.ustc.edu.cn/help/ubuntu-ports.html (can also be other sources, such as Ali Yun: http://mirrors.aliyun.com)
sudo cp/etc/apt/sources.list/etc/apt/sources.list.bak
sudo nano/etc/apt/sources.list
Jetson TX2 The default is that the Nano Editor is not installed, you need to first install the Nano Editor, the default installation vim, direct use sudo vim/etc/apt/sources.list can.
Add the following at the end of the file:
Deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main restricted universe multiverse
Deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse
Deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu-ports/xenial main restricted universe multiversedeb-src http:// Mirrors.ustc.edu.cn/ubuntu-ports/xenial-updates main restricted universe multiversedeb-src http:// Mirrors.ustc.edu.cn/ubuntu-ports/xenial-security Main restricted Universe multiverse
Press Ctrl+x to exit, Y confirm, enter confirm exit.
3, use the following command to update:
sudo apt-get update