Debian 6.0.6 系统安装第一步: 更新/etc/apt/sources.list

1. 以root权限登录(su命令进入即可)。

2.在命令行输入: gedit /etc/apt/sources.list

3.编辑文件输入以下内容,保存。

# 

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

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


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

deb http://mirrors.cn99.com/debian/ stable main contrib non-free
deb-src http://mirrors.cn99.com/debian/ stable main contrib non-free

deb http://mirrors.cn99.com/debian-security/ stable/updates main contrib
deb-src http://mirrors.cn99.com/debian-security/ stable/updates main contrib


#deb http://debian.ustc.edu.cn/debian/ stable main contrib non-free
#deb-src http://debian.ustc.edu.cn/debian/ stable main contrib non-free

#deb http://debian.ustc.edu.cn/debian-security/ stable/updates main contrib non-free
#deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main contrib non-free

#deb http://debian.ustc.edu.cn/debian-multimedia/ stable main contrib non-free
#deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main contrib non-free




# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ squeeze-updates main
# deb-src http://ftp.debian.org/debian/ squeeze-updates main


 

4.在命令行输入: apt-get update 

(这一步可能不会成功,那么请查看【Debian 6.0.6 系统安装第二步: 配置静态IP上网】后,再执行此命令,更新软件包)

 

 5.查看debian的版本号:
# cat /etc/debian_version

 

 

你可能感兴趣的:(Debian,Debian,update,update,sources.list)