2008-05-01

To use your local mirror in sources.list

To use your local mirror in sources.list,you can add "cc." before archive.ubuntu.com (cc means your country code). For me, it's 'cn'

#My sources.list for Gutsy(7.10)

deb http://cn.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy main restricted

deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

##Universe

deb http://cn.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## Multiverse

deb http://cn.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Backports

deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Canonical Partner Repository

deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse


No comments: