From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case is to test dnf5 downgrade / upgrade / update commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Downgrade a package to lower release using ‘dnf5 downgrade <package_name>’. Use --releasever=37 switch (as you won’t be able to downgrade a package after a fresh Fedora38 install) * Upgrade/update that package back to higher release using ‘dnf5 upgrade/upda...") |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|setup=Install the pre-release version of Fedora 38 | |setup=Install the pre-release version of Fedora 38 | ||
|actions= | |actions= | ||
* Install dnf5 using | * Install dnf5 using `sudo dnf -y install dnf5` | ||
* Downgrade a package to lower release using | * Downgrade a package to lower release using `sudo dnf5 downgrade <package_name>`. Use --releasever=37 switch (as you won’t be able to downgrade a package after a fresh Fedora38 install) | ||
* Upgrade/update that package back to higher release using | * Upgrade/update that package back to higher release using `sudo dnf5 upgrade <package_name>` | ||
|results= | |results= | ||
* Dnf5 package is installed successfully | * Dnf5 package is installed successfully |
Latest revision as of 18:01, 13 March 2023
Description
This test case is to test dnf5 downgrade / upgrade / update commands
Setup
Install the pre-release version of Fedora 38
How to test
- Install dnf5 using
sudo dnf -y install dnf5
- Downgrade a package to lower release using
sudo dnf5 downgrade <package_name>
. Use --releasever=37 switch (as you won’t be able to downgrade a package after a fresh Fedora38 install) - Upgrade/update that package back to higher release using
sudo dnf5 upgrade <package_name>
Expected Results
- Dnf5 package is installed successfully
- Specified package gets downgraded to lower release successfully
- Specified package get upgraded to higher release successfully
- Note: update is an alias for upgrade command, therefore the result should be the same