From Fedora Project Wiki


This test case is to test dnf5 downgrade / upgrade / update commands


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