红联Linux门户
Linux帮助

不要用yum升级fedora

发布时间:2008-01-15 11:37:21来源:红联作者:scriptaj
  原创作者:laufans

  我写了如何用yum 升级fedora 7 到fedora 8,其实是根本不行的。我先是看了人家英文版的教程,然后,用人家的方法照做,结果等了有五六个小时,却没有成功,在我等的过程中,我就匆忙写下了上面那篇”如何从fedora 7 升级到fedora 8 ,其实我自己都没有成功,真是自欺欺人。

  后来,等到失败了,我拼命找原因,最后发现了一篇英文贴子,它写道“不要用yum对fedora升级”,并说明原因,最可信的一条是,fedora的官方从没有提供如何从fedora7 升级到fedora8 的材料,yum非常的脆弱,不像apt-get那样容错性很好,所以,那篇文章劝告我们不要用yum升级。

  现在我把它翻译过来,也劝告我们这些新手不要去做这种傻事,以免浪费时间。
文章评论

共有 5 条评论

  1. windfly3166 于 2008-01-16 13:30:44发表:

    引用:
    原帖由 zpwinner 于 2008-1-15 23:38 发表
    我只用yum更新

    LZ的意思是别用yum升级内核...更新还是没问题的...

  2. marco.chan 于 2008-01-16 09:13:44发表:

    Hello everyone.

    After seeing and answering many posts/threads in the last few weeks about upgrade vs. fresh installs -- and also seeing quite a few frustrated victims of less that successful upgrades, I have posted this thread to save some typing time.

    I know many of you have successfully upgraded without appearant incident. Very well, but this is not the place to argue in favor of that method, or post those stories. This is a place for a little plain speaking about this issue, from the fedora point of view.


    1) First, the cold simple truth is, although fedora does provide the means to do an upgrade, and this can and has been successfully done, it is NOT the recommended method.

    2) Performing ANY major system changes, without first performing a full and complete backup of your data is a fools bet! You do so AT YOUR OWN RISK!

    3) The reason for a complete fresh install is inherent in the fedora project concept. So is the near maniacal development and release rate. THIS IS NOT GOING TO CHANGE. If you need a longer lived installation, try CentOS or RHEL.

    4) ANY upgrading of the kernel will break things dependent upon it, such as custom installed video and wireless drivers. You are not "saving your work" by trying to do an end-run-around by ugrading to the new kernel version. The only way to not lose those kernel mods, is to not change the kernel.

    5) If you are using fedora in a server/business environment, just because a particular fedora version has hit, or is approaching "end of life" does NOT mean it automatically breaks! The easiest way to duplicate/imitate the stability of CentOS or RHEL, is to choose your updates wisely, and just continue using the installed system until change is actually required rather than just wanted.

    6) If you are not a fedora/Linux adrenaline junky, (Like most of us) a good means of helping preserve your sanity is to have a little patience before installing a new version. Let the "vunderborks" surface and wait for some fixes/workarounds to appear here on the forum before you take the plunge.

    7) If, in light of all these admonitions and warnings, you still decide to try the upgrade anyway, do your homework first! The fedora project has one of the most extensive wikis on the web, and the release notes are amazingly complete documents. Use them!

    If anybody has knowledge of further resources relating to this issue, (one way or the other,) please post them here. However, as I said above, you are welcome to argue the case FOR upgrades in another thread.

    Thanks,


    Dan

    Resources:

    http://fedoraproject.org/wiki/DistributionUpgrades

    http://fedoraproject.org/wiki/Releases/8/ReleaseSummary

    http://fedoraproject.org/wiki/Objectives

    http://gparted.sourceforge.net/

    http://dban.sourceforge.net/

    http://www.centos.org/

    http://linuxmint.com/

    http://www.debian.org/

  3. zpwinner 于 2008-01-15 23:38:59发表:

    我只用yum更新

  4. gxf 于 2008-01-15 12:50:17发表:

    参看FedoraForum官方论坛:http://forums.fedoraforum.org/showthread.php?t=174492

  5. marco.chan 于 2008-01-15 12:42:23发表:

    帖原文上来可以吗?
    谢谢先~