博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
X Chen笔记---Debian更改apt源
阅读量:2395 次
发布时间:2019-05-10

本文共 708 字,大约阅读时间需要 2 分钟。

 

备份:

# mv /etc/apt/sources.list /etc/apt/sources.list.ba

编辑更新源文件:

vim /etc/apt/sources.list

 

将以下内容写入配置文件

# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 NETINST Binary-1 20150906-11:09]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 NETINST Binary-1 20150906-11:09]/ jessie main

deb http://mirrors.163.com/debian/ jessie main

deb-src http://mirrors.163.com/debian/ jessie main

deb http://security.debian.org/ jessie/updates main

deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'

deb http://mirrors.163.com/debian/ jessie-updates main

deb-src http://mirrors.163.com/debian/ jessie-updates main

 

重新载入源:

apt-get update

转载地址:http://jhwob.baihongyu.com/

你可能感兴趣的文章
poj 2140 Herd Sums
查看>>
poj 2524 Ubiquitous Religions
查看>>
poj 1611 The Suspects
查看>>
poj 3331 The Idiot of the Year Contest!
查看>>
poj 3233 Matrix Power Series
查看>>
poj 3070 Fibonacci
查看>>
poj 1656 Counting Black
查看>>
BestCoder Round #28
查看>>
poj3299 Humidex
查看>>
poj2159 Ancient Cipher
查看>>
poj1083 Moving Tables
查看>>
poj2255 Tree Recovery
查看>>
zoj 1745 Are We There Yet?
查看>>
UVA100 The 3n + 1 problem
查看>>
hdu1754 I Hate It
查看>>
hdu 1166 敌兵布阵(求区间的和,单节点更新)
查看>>
hiho一下 第四十四周 题目1 : 博弈游戏·Nim游戏
查看>>
poj2299 Ultra-QuickSort(线段树计数问题)
查看>>
hdu4565 So Easy!(矩阵快速幂)
查看>>
poj2528 Mayor's posters(线段树,离散化)
查看>>