[开发板] 不知名板子ubuntu16.04系统更新源

此次拿到的不知名板子已经有大佬移植了ubuntu16.04系统,dpkg --print-architecture时显示的是arm64。

如果直接照搬桌面系统的软件源进行更新,会出现如下的not found 问题。

/main/binary-arm64/Packages 404 Not Found

 这时尝试清华源、阿里源、东北大学源等都是一样的。网上搜索的方法,提到的主要是针对Nvidia TX1的,就是在源中的deb后增加:

[arch=amd64,i386]

举个例子:

deb [arch=amd64,i386] http://mirror.neu.edu.cn/ubuntu/ xenial main restricted 

更具体的说明这里不展开了,详见参考链接1

然而这样治标不治本!!! 


这里替换的源应当是树莓派等开发板的源,于是我查看了下树莓派的源和tx1的源,拷贝到了板子里,更新下就OK了。

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

deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-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://ports.ubuntu.com/ubuntu-ports/ xenial universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial universe
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-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://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted

deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse
 

上述是tx1的源。

使用方法是打开/etc/apt/sources.list然后将源换成上面这个再更新就OK了。

你可能感兴趣的:(project,problem)