close
http://blog.jsdan.com/2759
Ubuntu 10.10已經發步好一段時間了
因為手邊機器都還是用10.04
所以這篇就晚了好幾天發
Ubuntu 10.10 命名為 maverick
一樣
因為機器在學校
而且速度又快
所以還是把更新來源轉到學校這邊來更新
之後是把原本的檔案給刪除
所以下底下這指令
sudo rm -rf /etc/apt/sources.list
刪除以後
當然要建立該檔案阿
不然就沒有辦法更新了
所以下底下這指令
sudo vim /etc/apt/sources.list
如果有人在這一步驟出現問題
那是因為預設並沒有裝vim這一套編輯器
可以改成vi或者是gedit
或者參考底下這文章來安裝 Vim
進到畫面以後
按下鍵盤上面的 Insert 鍵 或者是 i
就進入編輯模式
將底下的東西一字不漏的貼上
#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://ubuntu.stu.edu.tw/ubuntu/ maverick main restricteddeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick main restricted## Major bug fix updates produced after the final release of the## distribution.deb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates main restricteddeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.deb http://ubuntu.stu.edu.tw/ubuntu/ maverick universedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick universedeb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates universedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team, and may not be under a free licence. Please satisfy yourself as to## your rights to use the software. Also, please note that software in## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.deb http://ubuntu.stu.edu.tw/ubuntu/ maverick multiversedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick multiversedeb http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates multiversedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-updates multiverse## Uncomment the following two lines to add software from the ‘backports’## repository.## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.# deb http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse# deb-src http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical’s## ‘partner’ repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb http://archive.canonical.com/ubuntu maverick partner# deb-src http://archive.canonical.com/ubuntu maverick partner## This software is not part of Ubuntu, but is offered by third-party## developers who want to ship their latest software.deb http://extras.ubuntu.com/ubuntu maverick maindeb-src http://extras.ubuntu.com/ubuntu maverick maindeb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security main restricteddeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security main restricteddeb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security universedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security universedeb http://ubuntu.stu.edu.tw/ubuntu/ maverick-security multiversedeb-src http://ubuntu.stu.edu.tw/ubuntu/ maverick-security multiverse
之後按鍵盤的 ESC 以後
輸入 :wq 存檔離開
全站熱搜
留言列表