Product SiteDocumentation Site

7.14.2. 使​用​安​装​程​序​升​级​

推​荐​进​行​全​新​安​装​

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盘​片​或​者​外​置​硬​盘​。​
需​要​关​于​升​级​的​更​多​信​息​,请​参​考 第 16.2 节 “完​成​升​级​”。​