Jetson TK1 清华源

如果使用中国教育网,不换源的话,像cuda-toolkit这种apt根本装不上,经常会遇到不能fetch某个网址或者Hash sum mismatch等错误,这都属于网络问题。第一次使用了ustc的源,好像这个没有armhf版本,也没有安装成功,最后用的是清华的源,修改/etc/apt/sources.list如下:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty main restricted universe multiverse
deb-src http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty main restricted universe multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb-src http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-updates main restricted universe multiverse

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty universe
# deb-src http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty universe
# deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-updates universe
# deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-updates universe

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-backports main restricted
# deb-src http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-backports main restricted

deb http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security main restricted universe multiverse
deb-src http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security main restricted universe multiverse
# deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security universe
# deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security universe
# deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security multiverse
# deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports/ trusty-security multiverse

如果所在的网络能用IPV6的话,可以把上面的网址http://mirror.tuna.tsinghua.edu.cn/ubuntu-ports/换成http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu-ports

你可能感兴趣的:(Jetson TK1 清华源)