不管了,先把它設定好再說。
1 首先備份源列表
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup2 而後用gedit或其他編輯器開啟
sudo gedit /etc/apt/sources.list3 將裡面的東西全部刪掉,加入適合的源,儲存編輯好的檔案。(因為我自己是電信的寬頻,所以選擇電信的伺服器。還有要注意你的源和你自己的ubuntu版本號一定要對應)
#cn994 然後,重新整理(一定要做,別忘了哦)deb hardy main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
#台灣大學
deb hardy main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb hardy-proposed main multiverse restricted universe
deb-src hardy-proposed main restricted universe multiverse
#台灣官方源
deb hardy main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
#南韓deb hardy main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
sudo apt-get update
ubuntu16 04 apt get 源的設定
1.背景 新裝的ubuntu。使用apt get命令安裝軟體時,有時候速度比較慢,有時候會失敗。因此考慮用國內的映象源更換下apt get的預設源。2.實現 1 編輯原始檔,vim etc apt sources.list 2 使用網易apt get源,將原來的源位址,替換為如下,由於伺服器的版本是...
Libero工程之三溫設定
對於不同器件有商業級 工業級和軍用級三種溫度範圍。在libero中進行不同溫度下的 時,可以直接在desiger工具中tools device selection中的teperature選項中,把rang項選擇為custom,就可以自定義三溫的範圍啦。而在xilinx中的環境中,一般是使用ucf檔案...
VS C 執行緒篇之三設定優先順序
設定執行緒優先順序 bool winapi setthreadpriority in handle hthread,in int npriority 引數npriority的值 thread mode background begin 0x00010000 thread mode backgroun...