|
本帖最后由 xingjiwoniu 于 2019-10-4 11:37 编辑
0 c: A3 f0 r. S4 a; O ~2 P; W3 {
也是从网上找来的,分享出来,免得再去找。
' W. \7 D) b1 ~& B2 q* [
$ t2 U1 a" u: _9 \" X# W9 Q/ z: broot@OMV:~# cat /etc/apt/sources.list
9 `. t- Y, J2 F# [: u+ ]+ t( d#deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
$ A: ^- o' b0 r: R9 Y2 v1 s#deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free# q9 W0 Q2 \- e5 s2 n
#deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free- J/ i9 E5 U" }; f0 j1 ^& ~ U5 I
" b8 O6 ~- f2 W2 h+ g# a7 f( A% cdeb http://deb.debian.org/debian buster main contrib non-free. W/ g0 l0 j% U5 u: I- V6 Z4 d1 X7 `
deb-src http://deb.debian.org/debian buster main contrib non-free' H& V4 a$ C+ r- V7 Z" y5 B; m" K
deb http://security.debian.org/debian-security buster/updates main contrib
a- o6 ]. S" M, J0 Sdeb-src http://security.debian.org/debian-security buster/updates main contrib
! |2 m, K Y# r7 c: s8 l9 b8 s* a# Hroot@OMV:~# 9 J1 a/ n8 u' }0 _' O* m; s3 b* s
4 \- A" o' R5 r, F
位置再 /etc/apt/sources.list# D0 X5 i6 J3 x6 f
- #deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free
$ x2 B: c4 k! X) ^& c h$ f4 i - #deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
+ a$ u: U8 k0 j) s8 E - #deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
% ^2 |; Q4 d$ ~0 F# P3 l
9 M, K4 Z2 X0 ?3 U @& N1 V- deb http://deb.debian.org/debian buster main contrib non-free
, b& S! N& e. c# A. X% o$ w9 l - deb-src http://deb.debian.org/debian buster main contrib non-free
* Z2 @6 o. x3 M: L - deb http://security.debian.org/debian-security buster/updates main contrib
4 P6 a) f: h' Y# O7 H s8 Y# B6 q - deb-src http://security.debian.org/debian-security buster/updates main contrib
复制代码 输入下面命令修改 ?8 A, S8 w3 W* @
- vi /etc/apt/sources.list
5 ~: O8 O; S. A% X7 ?4 T/ ]. h$ A
复制代码 按 dd 删除华为源 按键盘的 a 或者 insert 进入编辑模式 复制链接上面的源地址。按 ESC 退出编辑模式,输入保存退出。
6 _6 B5 t, |, X0 A9 o/ e0 n# B完毕!7 k" D, k3 X) R( ^; b0 ^( H+ X
如果你是大佬有更好的源请 回复吧,我们都是Linux新手,来源于网络。
; A6 G6 c- G) H9 {6 ^; C
/ W+ P3 E1 M" {# S0 P/ ` |
|