现在的位置: 首页linux>正文
linux各版本更新源
发表于11年前 linux linux各版本更新源已关闭评论

方法一:

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

#vi /etc/apt/sources.list

方法二:

先把原来的更新源文件改名!

mv /etc/apt/sources.list /etc/apt/sources.list.bak

然后使用nano建立新的更新源文件

nano -w /etc/apt/sources.list

复制更新源地址,把鼠标放到putty客户端界面上点鼠标右键就粘贴进去了,然后按ctrl+x保存,提示是否更改,输入y,然后回车.

方法三:

直接用webmin进入文件管理.找到/etc/apt/sources.list,直接编辑.

 

Ubuntu 9.04

deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse

Ubuntu 9.04 Jaunty Jackalope
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse

Ubuntu 8.10 Intrepid Ibex
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse

Ubuntu 8.04 Hardy Heron
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse

 
Debian

deb http://mirrors.163.com/debian lenny main non-free contrib

deb http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free

deb http://mirrors.163.com/debian-security lenny/updates main contrib non-free

deb-src http://mirrors.163.com/debian lenny main non-free contrib

deb-src http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free

deb-src http://mirrors.163.com/debian-security lenny/updates main contrib non-free

【上篇】
【下篇】

报歉!评论已关闭.

不想听你唠叨×