From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* Install dnf5 using `sudo dnf -y install dnf5` | * 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) | * 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 | * 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