|
本帖最后由 xingjiwoniu 于 2019-10-4 11:37 编辑 & D0 u8 Y9 q# O( c! {; Q
. Y3 K; ?% o8 h9 d9 K7 r' f9 W
也是从网上找来的,分享出来,免得再去找。8 R1 y) ?9 V$ ?, |' f+ z9 s
1 r( L, D& U V" N
root@OMV:~# cat /etc/apt/sources.list' \4 i' G4 j2 s1 K' d* n8 z
#deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
8 y ?) \$ P+ `/ B/ |9 R#deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free. S1 A9 H0 y/ g
#deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
4 G- K1 Z: b9 A7 x
" R8 l$ ~ K* s: g# j, V5 kdeb http://deb.debian.org/debian buster main contrib non-free$ W7 \. V; t4 B e) E9 s2 g
deb-src http://deb.debian.org/debian buster main contrib non-free
2 W' L$ s4 N5 i( [# ~deb http://security.debian.org/debian-security buster/updates main contrib ^ R1 W% l/ W! Y" x" J6 p
deb-src http://security.debian.org/debian-security buster/updates main contrib
+ e1 N; U6 y5 r0 A5 jroot@OMV:~# & O5 ~% B) n" D
6 f* p: H0 Y3 q! g0 `: k; q* Y位置再 /etc/apt/sources.list
6 x. H$ F/ `% c4 l( W F- ?- #deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free( R. U* F: p( t2 H' ]. Q* M
- #deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
3 k: @5 e. X1 y# C' V; ?2 K8 q' T - #deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
4 ?/ C: u# e+ v# D4 } - 8 J) A$ [7 C6 c! V5 T
- deb http://deb.debian.org/debian buster main contrib non-free
" L. m# ~* N, {0 O3 E4 i2 c! G3 ?* J - deb-src http://deb.debian.org/debian buster main contrib non-free
4 g* C8 x1 A& q c. z - deb http://security.debian.org/debian-security buster/updates main contrib' @ ^4 S# L4 n1 l1 @$ ~) i' j. N
- deb-src http://security.debian.org/debian-security buster/updates main contrib
复制代码 输入下面命令修改) y7 `0 U- J; j. t
- vi /etc/apt/sources.list
& w, V/ ?" f' [4 q, L
复制代码 按 dd 删除华为源 按键盘的 a 或者 insert 进入编辑模式 复制链接上面的源地址。按 ESC 退出编辑模式,输入保存退出。
3 Z0 o$ I' {1 U6 q3 E完毕!
% U) P) y j5 H如果你是大佬有更好的源请 回复吧,我们都是Linux新手,来源于网络。
2 l4 Y- u/ L H3 A5 S' \9 \; h& D8 h9 @' O- K8 i
|
|