|
本帖最后由 xingjiwoniu 于 2019-10-4 11:37 编辑 : C s. L5 L- l/ | h, f, a; Z
8 }" C4 f8 u. I' |: o$ |) ^$ m也是从网上找来的,分享出来,免得再去找。
6 c1 R1 f/ P2 q5 U/ ], c# @ _) e& y6 ~* F! B4 d3 t
root@OMV:~# cat /etc/apt/sources.list
( i$ s- T% w3 v- _/ {5 x. K5 }#deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free# I; |0 r6 ]+ L4 W7 Z5 ]* [5 A
#deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
+ [0 d% s) v8 J/ B- X, d#deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
5 f& f+ w3 u/ H& j; j$ @$ t
0 N# `$ N% K- v9 m7 Y. z* bdeb http://deb.debian.org/debian buster main contrib non-free
; n( R- ]( ^* `deb-src http://deb.debian.org/debian buster main contrib non-free
, v' o" F. y& d! k" M; k! z9 ^) Edeb http://security.debian.org/debian-security buster/updates main contrib9 m( A! R1 X e4 K% M1 X
deb-src http://security.debian.org/debian-security buster/updates main contrib9 W$ C/ G8 ~' } m7 h" L! r( p
root@OMV:~# 7 T0 k# z: R+ \
* ?) Q6 D- k E
位置再 /etc/apt/sources.list
# N0 C1 B/ G% R+ K8 }+ j- #deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
y8 V& e. e- F! z2 E - #deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free. I: u& T/ u( \! u; D- V* k* K, \- Y! R
- #deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
- @2 k. L+ f0 j! J - 4 Z; E8 ^# w0 v0 F+ p7 l
- deb http://deb.debian.org/debian buster main contrib non-free
6 ?% @+ \3 l) ^3 w! l! _. h - deb-src http://deb.debian.org/debian buster main contrib non-free
5 ?# E- x, u, v* y$ E- u: L& T - deb http://security.debian.org/debian-security buster/updates main contrib/ Z7 Z: Q/ A: R& c- a- l; n
- deb-src http://security.debian.org/debian-security buster/updates main contrib
复制代码 输入下面命令修改
8 ]" t) ?4 i9 Q2 k8 I5 G( S( ]- vi /etc/apt/sources.list
* o. x( y7 H2 K4 g! g" J
复制代码 按 dd 删除华为源 按键盘的 a 或者 insert 进入编辑模式 复制链接上面的源地址。按 ESC 退出编辑模式,输入保存退出。- P% M i* M; v! H7 S( k) g
完毕!7 b& R7 |6 J* B7 j, G
如果你是大佬有更好的源请 回复吧,我们都是Linux新手,来源于网络。" \* D& g% R5 {/ C q6 n1 f
# g2 b/ D1 \- F; Q7 P7 S5 M( S
|
|