Switching Debian repository

While running apt-get update, I found one of the source repository debian.cn99.com is not responding, so I checked the Debian mirror page, there's another repository "www.anheng.com.cn" good enough in China, so I decide to switch my repository to it. Here's the steps:

  1. edit /etc/apt/sources.list, comment out the old repository in case we'll need to resume it later.
  2. add the following 2 lines:
    deb http://www.anheng.com.cn/debian/ etch main non-free contrib
    deb-src http://www.anheng.com.cn/debian/ etch main non-free contrib
  3. save the file and run: apt-get update

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer