zoukankan      html  css  js  c++  java
  • ubuntu source list update

    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
    好记性不如烂博客
  • 相关阅读:
    Day4
    Day 4 -E
    Day4
    Day4
    Day4
    Day4
    Day4-F-产生冠军 HDU
    Day4
    Day4-B-最短路径问题 HDU3790
    HackerRank
  • 原文地址:https://www.cnblogs.com/huazaizai/p/3134955.html
Copyright © 2011-2022 走看看