推荐进行全新安装
In general, the Fedora Project recommends that you keep user data on a separate
/home
partition and perform a fresh installation. For more information on partitions and how to set them up, refer to
第 7.18 节 “Disk Partitioning Setup”.
如果您选择用安装程序升级系统,所有的同Fedora软件冲突的非Fedora软件都会被覆盖。在开始更新之前,请制作系统当前已安装软件包的列表,以备参考。
rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txt
完成安装之后,对照列表找出需要重新编译或者从非Fedora软件源下载的软件。
下一步,备份所有的系统配置数据。
su -c 'tar czf /tmp/etc-`date +%F`.tar.gz /etc' su -c 'mv /tmp/etc-*.tar.gz /home'
Make a complete backup of any important data before performing an upgrade. Important data may include the contents of your entire /home
directory as well as content from services such as an Apache, FTP, or SQL server, or a source code management system. Although upgrades are not destructive, if you perform one improperly there is a small possibility of data loss.
存储备份
注意上面的例子里,我们把所有的备份资料都存储到了/home
目录里。如果您的/home
不是一个单独的分区,您应该严格按照下述步骤操作! 请把您的备份存储到另外一个设备里,比如CD/DVD盘片或者外置硬盘。