LTS

    Innovation Version

      openEuler 22.03 LTS Upgrade and Downgrade Guide

      1. OS Installation

      Obtain an openEuler 22.03 LTS SP1 image and install the OS by referring to the installation guide.

      View the versions of openEuler and the kernel in the current environment.

      SP1_version

      2. Compatibility Upgrade

      2.1 Adding the openEuler 22.03 LTS SP2 Repositories (openEuler-22.03-LTS-SP2.repo)

      vi /etc/yum.repos.d/openEuler-22.03-LTS-SP2.repo
      

      Add information about the following openEuler 22.03 LTS SP2 repositories and save and exit.

      [SP2_OS]
      name=SP2_OS
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/OS/$basearch/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/OS&arch=$basearch
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
      
      [SP2_everything]
      name=SP2_everything
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/everything/$basearch/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/everything&arch=$basearch
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/everything/$basearch/RPM-GPG-KEY-openEuler
      
      [SP2_EPOL]
      name=EPOL
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/EPOL/main/$basearch/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/EPOL/main&arch=$basearch
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
      
      [SP2_debuginfo]
      name=debuginfo
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/debuginfo/$basearch/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/debuginfo&arch=$basearch
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/debuginfo/$basearch/RPM-GPG-KEY-openEuler
      
      [SP2_source]
      name=source
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/source/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever&arch=source
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/source/RPM-GPG-KEY-openEuler
      
      [SP2_update]
      name=SP2_update
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/update/$basearch/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/update&arch=$basearch
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
      
      [SP2_update-source]
      name=SP2_update-source
      baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/update/source/
      metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/update&arch=source
      metadata_expire=1h
      enabled=1
      gpgcheck=1
      gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/source/RPM-GPG-KEY-openEuler
      

      2.2 Performing the Upgrade

      dnf update | tee update_log
      

      Note:

      1. If an error is reported during the upgrade, run dnf update --allowerasing --skip-broken -x conflict_pkg1 |tee update_log to avoid the problem. If multiple packages conflict, use the -x conflict_pkg1 -x conflict_pkg2 -x conflict_pkg3 options to skip the packages and analyze, validate, and update the conflicted packages after the upgrade.
      2. Options:
        --allowerasing: Allow erasing of installed packages to resolve dependencies.
        --skip-broken: Resolve conflict problems by skipping packages.
        -x: Used with --skip-broken to specify the packages to be skipped.

      2.3 Rebooting the OS

      reboot
      

      3. Upgrade Verification

      View the versions of openEuler and the kernel in the current environment.

      SP2_version

      4. Compatibility Downgrade

      4.1 Performing the Downgrade

      dnf downgrade | tee downgrade_log
      

      4.2 Rebooting the OS

      reboot
      

      5. Downgrade Verification

      View the versions of openEuler and the kernel in the current environment.

      SP1_version

      Bug Catching

      Buggy Content

      Bug Description

      Submit As Issue

      It's a little complicated....

      I'd like to ask someone.

      PR

      Just a small problem.

      I can fix it online!

      Bug Type
      Specifications and Common Mistakes

      ● Misspellings or punctuation mistakes;

      ● Incorrect links, empty cells, or wrong formats;

      ● Chinese characters in English context;

      ● Minor inconsistencies between the UI and descriptions;

      ● Low writing fluency that does not affect understanding;

      ● Incorrect version numbers, including software package names and version numbers on the UI.

      Usability

      ● Incorrect or missing key steps;

      ● Missing prerequisites or precautions;

      ● Ambiguous figures, tables, or texts;

      ● Unclear logic, such as missing classifications, items, and steps.

      Correctness

      ● Technical principles, function descriptions, or specifications inconsistent with those of the software;

      ● Incorrect schematic or architecture diagrams;

      ● Incorrect commands or command parameters;

      ● Incorrect code;

      ● Commands inconsistent with the functions;

      ● Wrong screenshots.

      Risk Warnings

      ● Lack of risk warnings for operations that may damage the system or important data.

      Content Compliance

      ● Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions;

      ● Copyright infringement.

      How satisfied are you with this document

      Not satisfied at all
      Very satisfied
      Submit
      Click to create an issue. An issue template will be automatically generated based on your feedback.
      Bug Catching
      编组 3备份