From Fedora Project Wiki
(Initial commit) |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This tests the DNF 5 system-upgrade command. | |description=This tests the DNF 5 system-upgrade command. | ||
|setup=Install Fedora 39 and fully upgrade the system using `sudo dnf upgrade --refresh`. | |setup=Install Fedora 39/40 and fully upgrade the system using `sudo dnf upgrade --refresh`. | ||
|actions= | |actions= | ||
# Make sure [https://fedoraproject.org/wiki/Test_Day:2024-06-05_Fedora_41_DNF_5.2#How_to_test? these steps are completed]. | |||
First, install DNF 5: `sudo dnf install dnf5`. | # First, install DNF 5: `sudo dnf install dnf5`. | ||
Then, upgrade Fedora with DNF 5. Use these commands to ensure you have latest packages in the current release, run the system upgrade, and reboot into the upgraded system: | Then, upgrade Fedora with DNF 5. Use these commands to ensure you have latest packages in the current release, run the system upgrade, and reboot into the upgraded system: | ||
# sudo dnf5 upgrade --refresh | |||
# sudo dnf5 system-upgrade download --releasever=40 (if F40 is base then F41 should be the --releasever value) | |||
# sudo dnf5 system-upgrade status | |||
# sudo dnf5 system-upgrade reboot | |||
|results= | |results= |
Latest revision as of 19:07, 29 May 2024
Description
This tests the DNF 5 system-upgrade command.
Setup
Install Fedora 39/40 and fully upgrade the system using sudo dnf upgrade --refresh
.
How to test
- Make sure these steps are completed.
- First, install DNF 5:
sudo dnf install dnf5
.
Then, upgrade Fedora with DNF 5. Use these commands to ensure you have latest packages in the current release, run the system upgrade, and reboot into the upgraded system:
- sudo dnf5 upgrade --refresh
- sudo dnf5 system-upgrade download --releasever=40 (if F40 is base then F41 should be the --releasever value)
- sudo dnf5 system-upgrade status
- sudo dnf5 system-upgrade reboot
Expected Results
- The
dnf5
package is installed successfully - The system upgrade files are successfully downloaded
system-upgrade status
shows that an offline transaction is stored- The system reboots and the upgrade begins. Systems with graphical boot (with Plymouth) show an "Upgrading System" screen with a progress bar.
- The upgrade completes successfully and the system reboots
- After reboot, the system has been upgraded to Fedora 40