赞
踩
lsb_release -a
本机为基于Debian的armbian buster
所以用清华Debian源
sudo cp /etc/apt/sources.list /etc/apt/sources.list-bak
sudo vi /etc/apt/sources.list
这里还添加了OMV的官方源,主要是为安装OMV做准备,不打算用OMV的可以不添加
#tsinghua source 清华源 deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free # openmediavault # OMV官方源,选装吧 deb http://packages.openmediavault.org/public usul main
使用时候注意还得修改一下咯
# ubuntu for arm清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse # 预发布软件源,不建议启用 # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-proposed main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-proposed main restricted universe multiverse
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
# ubuntu for arm 阿里源 deb http://mirrors.aliyun.com/ubuntu-ports/ buster main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu-ports/ buster-backports main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu-ports/ buster-proposed main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu-ports/ buster-security main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu-ports/ buster-updates main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ buster main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ buster-backports main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ buster-proposed main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ buster-security main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ buster-updates main multiverse restricted universe
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
sudo apt-get update
sudo apt-get upgrade
注:OMV源需要源公钥验证签名,否则会报错,可以先把OMV的源注释掉。后面的博客里面会说明如何设置
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。