Fedora 21 Upgrade to Fedora 22 detailed steps tutorial

Source: Internet
Author: User
Tags parse error python script

Fedora 22 was released on May 26, 2015 with a number of new features. Yum Package management system is completely eliminated, using DNF to replace. Wayland's application goes a step further, GDM has been using Wayland by default, but Gnome-session still uses Xorg by default. Each upgrade was previously installed from scratch, but this time, I used the strategy of upgrading from Fedora 21 to Fedora 22 without installing from scratch. The upgrade process went well, and after the upgrade, all my system configuration and landscaping were still there, and I felt that Fedora 22 was much prettier than Fedora 21 and showed me the upgrade process below.

Update all packages of Fedora 21 to the latest status

The first step is to update all of the packages for Fedora 21 to the latest status. Use a sudo DNF update command:

sudo DNF update

In fact, Fedora 21 can be used DNF software package management, but in 21 is DNF and Yum coexist, and in Fedora 22 is completely abandoned yum. The DNF command and the Yum command are almost completely compatible, and it's not difficult to switch.

Installing the Fedup Package

The tool for this upgrade is fedup. The package needs to be installed on its own, as follows:

sudo DNF install Fedup

Upgrade system

The third step is to upgrade the system. Use the following command directly:

sudo fedup--network 22

Troubleshoot problems with system upgrade process

I thought everything was going to be all right, and there was an accident during the upgrade process. The error message is also clear, saying that the Python language has a parse error for ASCII characters. Use this error message on the Internet to search, found that this is a Python script writing problem, loading the Utf-8 module can be resolved. There is a slight flaw in the Fedup software package, which I have already submitted. But I can't change Fedup's script myself. How did I solve the problem? It is very simple to change the system language into English. When the upgrade is complete, it can be modified into Chinese. In other words, the Chinese system in the process of upgrading will be wrong, and English will not.

Reboot system

Reboot the system and select the first item in the Grub boot interface, as shown in the following figure:


Then wait for the upgrade to complete, this will take some time.

Changes in the new system

The upgrade process was smooth and the upgraded system was stable. The difference between an upgraded system and a newly installed system is to keep the user's configuration as far as possible. For example, my upgraded system does not change even the wallpaper, and the newly installed system has another set of wallpaper. But Fedora 22 and Fedora 21 still a little bit of change, the window theme is gone, Gnome-tweak-tool can not set the window theme, only GTK + theme. So I bid farewell to the Clearlooks and chose the default theme. The default theme for Fedora 22 is much prettier than the previous version.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.