1.backup old source list
sudo cp /etc/apt/source.list /etc/apt/sourc.list_bk
 
2.modify source list
sudo gedit /etc/apt/source.list
choose a fast server according to your location
  1. deb http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
  2. deb http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
  3. deb http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
  4. deb http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
  5. deb http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse 
  6. deb-src http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
  7. deb-src http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
  8. deb-src http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
  9. deb-src http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
  10. deb-src http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse
 
3.update new source list
sudo apt-get update
 
come from http://blog.chinaunix.net/uid-452173-id-3253206.html

相关文章:

  • 2022-03-05
  • 2021-08-12
  • 2021-05-27
  • 2022-03-08
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-12-27
相关资源
相似解决方案