關於 Eee PC 更新的一些注意事項

February 23, 2008 – 1:49 pm

到目前為止,Eee PC 已經流行一段時間了,相信大家都經常看到一些修改、更新原系統的方法,不過有幾點,要留意一下,更新失敗是小事,要重裝的話就麻煩了。:-)

  • 不要到處找 “deb 包” 安裝到 Eee PC,因為坊間的 deb 包主要分為兩類,一類是給 Debian 用的,一類是給 Ubuntu 用的,雖然 Eee PC “粗略地” 基於 Xandros (再粗略一點的是 Debian 的修改版),但是因為要適應 Eee PC 的硬體環境和速度,很多時候都會修改了原來 Debian 的設定,如果直接拿 Debian 什至 Ubuntu 的 deb 包放進去,或者是直接加入 debian/ubuntu 的東西在 sources.list,然後隨便的安裝個什麼東西的話,很有可能會造成系統不一致,什至損壞。
    例如幾個網友都遇到過的 “perl” 或者 “kde” 的應用程式問題,就是因為 Eee PC 跟正式 Debian 的包不兼容而引起的。
  • 坊間有很多所謂 “直接在第一分割區上動手” 的更新方法,說可以節省第二分割區上的空間的方法,這個有一定危險性,而且就算安裝成功也會有問題,之前有些網友遇到過,我也解釋過一點,現在會詳細講解一下。
    參考 XEPC.org 的其中一篇講解檔案系統的文章,就會知道 Eee PC 的檔案系統,其實是由兩個分割區組成,第一分區是唯讀,就是預設的檔案架構,而第二分割區是可讀寫的,“蓋上去” 第一分割區的東西,所有檔案的新增、移除、修改都是在第二分割區上“記載”著的,這也解釋了為什麼我們在 Eee PC 上“刪除”某些包的時候,硬碟空間不會增加。
    正因為空間會越來越少,有些人就會想到 “把更新、移除、修改直接在第一分割區上做” 的方法,這些方法本質沒有什麼錯誤,可是都忽略了一些小事,但這些小事影響可真不小。
    例如 apt-get / dpkg 的數據庫,因為不斷會被更新,所以它會出現在第二分割區上;又例如存放用戶的資料,密碼等的檔案 “/etc/passwd” 和其他系統設定都會在開機後被更新,所以也會在第二分割區,結果是當用戶安裝一些會新增系統用戶的軟體時,所新增的用戶並不會出現在系統上;更麻煩的是,被刪除的檔案不會真的被刪除,而是在第二分割區上 “標記” 成不存在而已,如果用戶在更新之前 “刪除”了某某檔案,而在第一分割區安裝東西時會安裝這個檔案的話,它在重新開機後都不會出現。所以,在第一分割區所做的東西不一定都會反映在系統上。
    不過也有解決方法的,就是 F9 了,這樣所有的更新都會正確反映出來。這也是使用 XEPC.org 更新光碟之前要用 DVD / F9 還原的原因。

所以做這些動作之前要留意,不要盲目跟從一些坊間的方法。不過大家可以放心,這裡的軟體庫中的所有包都是完全適合 Eee PC 使用的。(呵呵)
PS. 最近幾天 XEPC.org 不是沒有更新啊,而是在弄第二版的 XEPC.org 更新光碟,而且會是重大更新,包括最新 kernel 和一系列的系統底層東西,希望早日測試成功。

  1. 16 Responses to “關於 Eee PC 更新的一些注意事項”

  2. Hi
    May i asked i am one of the eeepc fans who had shown “perl” in the control terminal when i download anything onto it, now i would like to ask what can i do? besides it told me to press “apt-get -f install”? can i do anything before i need to press F9???? since i would not like to press it if anyone gratefully tell me what to do!
    Looking forward to hear from you soon

    Isabella

    By Isabella on Feb 23, 2008

  3. Hi Fai,

    I follow what u suggest me to go back to usb cable on-line, but this time i got problem that when i type \”*99***2# \” i can see the icon changed into two small monitors shown in the right hand bottom BUT i saw the icon is connected however IT IS NOT when i click the \”web\” it shown an ! n said \”page cannot shown due to not connected online\” Can you tell me what am i missing to get this on-line???? please

    Isabella

    By Isabella on Feb 23, 2008

  4. 感謝,這裡給予的幫助很大
    十分希望,第二版的更新可以造福一下沒有外接光碟機的族群

    By naoki on Feb 24, 2008

  5. Re: Isabella
    Please reinstall those perl deb packages, download from ASUS web first:
    http://update.eeepc.asus.com/p701/pool/libperl5.8_5.8.8-7_i386.deb
    http://update.eeepc.asus.com/p701/pool/perl_5.8.8-7_i386.deb
    http://update.eeepc.asus.com/p701/pool/perl-base_5.8.8-7_i386.deb
    http://update.eeepc.asus.com/p701/pool/perl-modules_5.8.8-7_all.deb
    and then use “sudo dpkg -i *.deb” to force re-installation of these files.

    By lazyfai on Feb 24, 2008

  6. Hi Fai,

    Many Many thanks I will try that tonight when i back home.

    Thanks

    Isabella

    By Isabella on Feb 25, 2008

  7. Hi Fai,
    I did download yours suggested several files, but after i downloaded it i am not sure the steps since i did try to re-install them however i seems not successfully done since after i try again download the sakura software the same thing appear thats the “perl” got the same statement appeared so i think i did “not successfully re-installed” those several “perl” files, could u show me the next n the follow steps after downloaded those “perl” files.Please help!!!!

    Isabella

    By Isabella on Feb 27, 2008

  8. Re: Isabella

    After download those deb files and save it, they should be in /home/user, right?
    So now open a terminal window, and type
    sudo dpkg -i *perl*deb
    This should give you something like unpacking blah blah blah replacing blah blah blah and then it will finish without any errors.
    If you are not sure, take a picture of the screen after the command.

    By lazyfai on Feb 27, 2008

  9. Hi Fai,
    after typing the command, actually is not exactly same as what u said, however i cannot paste the photo in here i can summerize in here as follow:
    dpkg: unknown option -*

    type dpkg –help xxxxxxxxx
    use “dselect” or “Aptitude” for user-friendly package xxxxxx
    type dpkg -Dhelp xxxxxxxx
    type dpkg -force–help xxxxxxxx
    type dpkg-deb –help for xxxxxxx
    ………………..
    ……………..

    something like that!
    what can i do then??
    Isabella

    By Isabella on Feb 27, 2008

  10. Re: Isabella

    You have typed something wrong, the command should be:
    dpkg[space]-i[space]*perl*deb[enter]

    Make sure the space is correct, and make sure you saved the files under the directory /home/user

    By lazyfai on Feb 27, 2008

  11. Hi Fai,
    It been running well except:
    “Errors were encountered while processing:
    perl-base_5.8.8-7_i386.deb”

    how can i fix the perl-base?

    Many thanks

    Isabella

    By Isabella on Feb 27, 2008

  12. Hi Fai,

    sent u photo thru email, hope u can understand n help me solve this problem?!

    Isabella

    By Isabella on Feb 27, 2008

  13. Can I install Xlite into Eee PC 4G linux for making SIP calls? Please kindly advise how, if possible.

    By AC on May 13, 2008

  14. Dear all,

    May I ask one question. If I have installed winxp on a eeepc901 linux version and now I want to go back to linux with the updated recovery DVD, can I restore the F9 function after recovery.

    Best regards

    By Apple on Sep 12, 2008

  15. Re: Apple
    Yes the recovery function is included.

    By lazyfai on Sep 12, 2008

  1. 2 Trackback(s)

  2. Mar 9, 2008: EPC易電腦幾個更新的方法 | 老男人的部落格 || Blog de OldMan
  3. Mar 10, 2009: ASUS Eee PC 4G Linux « 二師兄的筆記部落格

Post a Comment