« how "size" works | Main | Terms to address Asians »
December 20, 2005
Upgrading to Fedora Core 4
Today I decided to upgrade my FC2 to FC4.
Yes, I know, FC sucks, but the department installed it for me, so why bother switch to Debian?
As said in the FAQ, yum can be used to upgrade FC, but anaconda is recommended to perform a clean upgrade.
So I installed anaconda but got some errors when I attempted to run it directly. True, it has some docs coming with it under /usr/share/doc/..., however they are not quite clear or accurate. Luckily enough, anconda is written in Python and I managed to understand how to feed it correct arguments, that's enough, isn't it?
So here it goes:
/usr/sbin/anaconda --text --method=http://mirror.linux.duke.edu/pub/fedora/linux/core/4/i386/os/ --rootpath=/
I'm using SSH to upgrade remotely, so I chose to use the text interface.
http://mirror.linux.duke.edu/pub/fedora/linux/core/4/i386/os/ is a mirror I found on the FC's official website. It seems that my anaconda is so old that it was looking for the list under the directory RedHat/base/hdlist, but I hacked /usr/lib/anaconda/product.py to fix it.
Now it's installing, I'm crossing my fingers that my hack will work. I didn't find very useful docs on FC's website, that's another reason I hate FC.
升级完毕后的感觉:
Fedora确实一直在进步,以前一直认为不爽的就是包不够多,但现在Fedora Extras已经被自动包括进来,这样似乎apt已经不再需要了。
现在知道了怎么升级Fedora,每半年升级一次版本就可以跟上时代了,虽然还是不如Debian方便。
一个FAQ:http://www.freewebs.com/faqfedora/
Another issue:每次升级的时候总是找fc5-test1的包,然后就装不上,我试图在配置文件里面设置releasever=4也不行,只好把指定包的位置的那一行hardcode成Fedora 4的。
Posted by Roy at December 20, 2005 09:15 PM