ubuntu更新ソフトウェアソース163

1140 ワード

  • 入/etc/apt
  • バックアップsources.list
  • cp sources.list sources.list.bak
    
  • ソースファイルの内容を削除する
  • .
    echo '' > source.list
    
  • 163のソースをdebに投げ込むhttp://mirrors.163.com/ubuntu/precise main restricted universe multiverse deb http://mirrors.163.com/ubuntu/precise-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/precise-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/precise-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
  • を更新
    apt-get update