debian:~# vi /etc/apt/sources.list
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://ftp.debian-ports.org/debian unstable main
deb http://ftp.debian-ports.org/debian unreleased main
# Uncomment if you want the apt-get source function to work
deb-src http://ftp.tw.debian.org/debian unstable main
deb http://debian.nctu.edu.tw/debian unstable main
#deb http://debian.nctu.edu.tw/debian unreleased main
#get document
deb http://ftp.tw.debian.org/debian dists/lenny/main/binary-i386/
deb http://ftp.tw.debian.org/debian dists/lenny/contrib/binary-i386/
deb http://ftp.tw.debian.org/debian dists/lenny/non-free/binary-i386/
#oracle-xe
deb http://oss.oracle.com/debian unstable main non-free
我在中國大陸是以我用台灣的源,還有其它的源,隻要把ftp.debian-ports.org前面換成以下的連接配接就行了:
This is a probably incomplete list of debian-ports.org mirrors.
Mirror | Country | URL | Push | IPv6 | Architectures |
---|---|---|---|---|---|
ftp.ch.debian.org | CH | http, ftp, rsync | Yes | No | All |
ftp.de.debian.org | DE | http, ftp, rsync | Yes | No | All |
debian.nctu.edu.tw | TW | http, ftp, rsync | Yes | No | All |