|
本帖最后由 xingjiwoniu 于 2019-10-4 11:37 编辑
2 y( x& i) k9 F* v1 `( k$ [
e" ?6 ?* s/ H! h Z也是从网上找来的,分享出来,免得再去找。
& W6 Q, Y& y* a% g
- U; E/ W! Q$ ^7 [: I! g) vroot@OMV:~# cat /etc/apt/sources.list
8 ~; v: g. k6 S$ {% s/ F#deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
5 ^5 R7 m! X$ V9 @7 F" S#deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
8 ?8 D6 l, M+ ` n* d4 v& n8 h) c#deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free0 Q% h. ]1 s5 {; y0 x4 j# b7 z! }3 _
, W( m3 M% [ u% _5 u3 U4 d; r A
deb http://deb.debian.org/debian buster main contrib non-free8 }7 [! | m8 @# X
deb-src http://deb.debian.org/debian buster main contrib non-free
" ^& [ j& Z+ M: K' udeb http://security.debian.org/debian-security buster/updates main contrib* h$ f0 }0 ~2 `- U0 Q
deb-src http://security.debian.org/debian-security buster/updates main contrib+ X8 ?" i6 |2 k4 B! o
root@OMV:~# " M9 N3 L8 E9 }$ g/ G1 r2 Y- J5 h W
2 C6 b4 ?% P6 o" J
位置再 /etc/apt/sources.list+ k# l5 ?% l+ P1 x
- #deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
# S9 {5 z0 i+ K* c - #deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free# k C) m2 J5 }! a: Y9 {
- #deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
. c/ j6 d3 u+ r- I) L0 A - : z) i7 v5 M) @; B% U0 f
- deb http://deb.debian.org/debian buster main contrib non-free
9 z! u0 V# P7 N, a9 Y6 n e - deb-src http://deb.debian.org/debian buster main contrib non-free
/ D' |6 m. ~+ O# \ - deb http://security.debian.org/debian-security buster/updates main contrib$ V- F. H! r, e# S2 d
- deb-src http://security.debian.org/debian-security buster/updates main contrib
复制代码 输入下面命令修改
4 d8 ~4 r. o+ L. ~- vi /etc/apt/sources.list
* g6 f- P- i! r; r6 {
复制代码 按 dd 删除华为源 按键盘的 a 或者 insert 进入编辑模式 复制链接上面的源地址。按 ESC 退出编辑模式,输入保存退出。9 C! A+ P) K0 N9 g( e9 L; s
完毕!
: D* a/ u5 Z' R5 d6 E2 e如果你是大佬有更好的源请 回复吧,我们都是Linux新手,来源于网络。# d1 L) f1 r5 }; u- O* ]9 \" h
" k# x; P( S( y8 C4 s
|
|