|
本帖最后由 xingjiwoniu 于 2019-10-4 11:37 编辑 % G& g9 f6 c' u" i$ e7 N: ~
. R# T1 D& \1 p
也是从网上找来的,分享出来,免得再去找。3 [! B# D. q$ f) t4 Z3 N* S
F0 o) C v; f
root@OMV:~# cat /etc/apt/sources.list
7 q" I- A3 B3 `" O; U7 Z#deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
% D" F$ y$ X7 O3 K' M#deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free2 o* u0 m2 c$ \& y) k
#deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free2 w* r8 T0 G+ W3 J2 p8 ]) E+ z
# Q$ Q' Z8 B2 }% M4 ~( i2 M l
deb http://deb.debian.org/debian buster main contrib non-free) h# N( B: [# _, R4 Z+ @% A
deb-src http://deb.debian.org/debian buster main contrib non-free
6 i9 X. v3 C/ |. u) E* b4 ?deb http://security.debian.org/debian-security buster/updates main contrib
, D8 [% [1 p; [2 B1 @# Jdeb-src http://security.debian.org/debian-security buster/updates main contrib! p0 O: b( a# O* U8 ~! g D8 B
root@OMV:~#
7 ?5 \/ k& ?# s- M/ e" ~
; |9 N* y0 n# X7 k1 R位置再 /etc/apt/sources.list. n% G- r( D" `& {: ?# N/ j @: _
- #deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free6 ]" {" _4 H8 ^6 J! {$ r
- #deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
6 S/ x" | P/ P - #deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free/ ^. D, T. h6 K
1 j- C! W; d( }) p, l" u- deb http://deb.debian.org/debian buster main contrib non-free
% ?+ `8 b$ ~8 Y3 G* z. a - deb-src http://deb.debian.org/debian buster main contrib non-free- h& m& p* _6 X2 K1 H
- deb http://security.debian.org/debian-security buster/updates main contrib
4 C7 C( {; ~& H1 r1 J6 z0 G& n- _ - deb-src http://security.debian.org/debian-security buster/updates main contrib
复制代码 输入下面命令修改) q' u2 K& x4 {$ O* j
- vi /etc/apt/sources.list# k/ h9 J5 I& ]" N% ^7 B
复制代码 按 dd 删除华为源 按键盘的 a 或者 insert 进入编辑模式 复制链接上面的源地址。按 ESC 退出编辑模式,输入保存退出。8 M6 P' N5 X/ `* p
完毕!
4 w. b2 x4 e4 @9 @如果你是大佬有更好的源请 回复吧,我们都是Linux新手,来源于网络。
* g+ e P0 K6 T$ L! J) {* V; m0 T1 N, r4 a& e5 i) Y& W
|
|